Class TroubleshootIamPolicyResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
- com.google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse.Builder
-
- All Implemented Interfaces:
TroubleshootIamPolicyResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TroubleshootIamPolicyResponse
public static final class TroubleshootIamPolicyResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder> implements TroubleshootIamPolicyResponseOrBuilder
Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].
Protobuf typegoogle.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TroubleshootIamPolicyResponse.Builder
addAllErrors(Iterable<? extends com.google.rpc.Status> values)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
addAllExplainedPolicies(Iterable<? extends Explanations.ExplainedPolicy> values)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
addErrors(int index, com.google.rpc.Status value)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
addErrors(int index, com.google.rpc.Status.Builder builderForValue)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
addErrors(com.google.rpc.Status value)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
addErrors(com.google.rpc.Status.Builder builderForValue)
The general errors contained in the troubleshooting response.com.google.rpc.Status.Builder
addErrorsBuilder()
The general errors contained in the troubleshooting response.com.google.rpc.Status.Builder
addErrorsBuilder(int index)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
addExplainedPolicies(int index, Explanations.ExplainedPolicy value)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
addExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
addExplainedPolicies(Explanations.ExplainedPolicy value)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
addExplainedPolicies(Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.Explanations.ExplainedPolicy.Builder
addExplainedPoliciesBuilder()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.Explanations.ExplainedPolicy.Builder
addExplainedPoliciesBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TroubleshootIamPolicyResponse
build()
TroubleshootIamPolicyResponse
buildPartial()
TroubleshootIamPolicyResponse.Builder
clear()
TroubleshootIamPolicyResponse.Builder
clearAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponse.Builder
clearErrors()
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
clearExplainedPolicies()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TroubleshootIamPolicyResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TroubleshootIamPolicyResponse.Builder
clone()
Explanations.AccessState
getAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.int
getAccessValue()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getErrors(int index)
The general errors contained in the troubleshooting response.com.google.rpc.Status.Builder
getErrorsBuilder(int index)
The general errors contained in the troubleshooting response.List<com.google.rpc.Status.Builder>
getErrorsBuilderList()
The general errors contained in the troubleshooting response.int
getErrorsCount()
The general errors contained in the troubleshooting response.List<com.google.rpc.Status>
getErrorsList()
The general errors contained in the troubleshooting response.com.google.rpc.StatusOrBuilder
getErrorsOrBuilder(int index)
The general errors contained in the troubleshooting response.List<? extends com.google.rpc.StatusOrBuilder>
getErrorsOrBuilderList()
The general errors contained in the troubleshooting response.Explanations.ExplainedPolicy
getExplainedPolicies(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.Explanations.ExplainedPolicy.Builder
getExplainedPoliciesBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List<Explanations.ExplainedPolicy.Builder>
getExplainedPoliciesBuilderList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.int
getExplainedPoliciesCount()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List<Explanations.ExplainedPolicy>
getExplainedPoliciesList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.Explanations.ExplainedPolicyOrBuilder
getExplainedPoliciesOrBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List<? extends Explanations.ExplainedPolicyOrBuilder>
getExplainedPoliciesOrBuilderList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TroubleshootIamPolicyResponse.Builder
mergeFrom(TroubleshootIamPolicyResponse other)
TroubleshootIamPolicyResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TroubleshootIamPolicyResponse.Builder
mergeFrom(com.google.protobuf.Message other)
TroubleshootIamPolicyResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TroubleshootIamPolicyResponse.Builder
removeErrors(int index)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
removeExplainedPolicies(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
setAccess(Explanations.AccessState value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponse.Builder
setAccessValue(int value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponse.Builder
setErrors(int index, com.google.rpc.Status value)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
setErrors(int index, com.google.rpc.Status.Builder builderForValue)
The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.Builder
setExplainedPolicies(int index, Explanations.ExplainedPolicy value)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
setExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.TroubleshootIamPolicyResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TroubleshootIamPolicyResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TroubleshootIamPolicyResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
clear
public TroubleshootIamPolicyResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
getDefaultInstanceForType
public TroubleshootIamPolicyResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TroubleshootIamPolicyResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TroubleshootIamPolicyResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TroubleshootIamPolicyResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
setField
public TroubleshootIamPolicyResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
clearField
public TroubleshootIamPolicyResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
clearOneof
public TroubleshootIamPolicyResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
setRepeatedField
public TroubleshootIamPolicyResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
addRepeatedField
public TroubleshootIamPolicyResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeFrom
public TroubleshootIamPolicyResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeFrom
public TroubleshootIamPolicyResponse.Builder mergeFrom(TroubleshootIamPolicyResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeFrom
public TroubleshootIamPolicyResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TroubleshootIamPolicyResponse.Builder>
- Throws:
IOException
-
getAccessValue
public int getAccessValue()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Specified by:
getAccessValue
in interfaceTroubleshootIamPolicyResponseOrBuilder
- Returns:
- The enum numeric value on the wire for access.
-
setAccessValue
public TroubleshootIamPolicyResponse.Builder setAccessValue(int value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Parameters:
value
- The enum numeric value on the wire for access to set.- Returns:
- This builder for chaining.
-
getAccess
public Explanations.AccessState getAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Specified by:
getAccess
in interfaceTroubleshootIamPolicyResponseOrBuilder
- Returns:
- The access.
-
setAccess
public TroubleshootIamPolicyResponse.Builder setAccess(Explanations.AccessState value)
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Parameters:
value
- The access to set.- Returns:
- This builder for chaining.
-
clearAccess
public TroubleshootIamPolicyResponse.Builder clearAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Returns:
- This builder for chaining.
-
getExplainedPoliciesList
public List<Explanations.ExplainedPolicy> getExplainedPoliciesList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
- Specified by:
getExplainedPoliciesList
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
getExplainedPoliciesCount
public int getExplainedPoliciesCount()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
- Specified by:
getExplainedPoliciesCount
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
getExplainedPolicies
public Explanations.ExplainedPolicy getExplainedPolicies(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
- Specified by:
getExplainedPolicies
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
setExplainedPolicies
public TroubleshootIamPolicyResponse.Builder setExplainedPolicies(int index, Explanations.ExplainedPolicy value)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
setExplainedPolicies
public TroubleshootIamPolicyResponse.Builder setExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
addExplainedPolicies
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(Explanations.ExplainedPolicy value)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
addExplainedPolicies
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(int index, Explanations.ExplainedPolicy value)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
addExplainedPolicies
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
addExplainedPolicies
public TroubleshootIamPolicyResponse.Builder addExplainedPolicies(int index, Explanations.ExplainedPolicy.Builder builderForValue)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
addAllExplainedPolicies
public TroubleshootIamPolicyResponse.Builder addAllExplainedPolicies(Iterable<? extends Explanations.ExplainedPolicy> values)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
clearExplainedPolicies
public TroubleshootIamPolicyResponse.Builder clearExplainedPolicies()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
removeExplainedPolicies
public TroubleshootIamPolicyResponse.Builder removeExplainedPolicies(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPoliciesBuilder
public Explanations.ExplainedPolicy.Builder getExplainedPoliciesBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPoliciesOrBuilder
public Explanations.ExplainedPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
- Specified by:
getExplainedPoliciesOrBuilder
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
getExplainedPoliciesOrBuilderList
public List<? extends Explanations.ExplainedPolicyOrBuilder> getExplainedPoliciesOrBuilderList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
- Specified by:
getExplainedPoliciesOrBuilderList
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
addExplainedPoliciesBuilder
public Explanations.ExplainedPolicy.Builder addExplainedPoliciesBuilder()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
addExplainedPoliciesBuilder
public Explanations.ExplainedPolicy.Builder addExplainedPoliciesBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPoliciesBuilderList
public List<Explanations.ExplainedPolicy.Builder> getExplainedPoliciesBuilderList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getErrorsList
public List<com.google.rpc.Status> getErrorsList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
- Specified by:
getErrorsList
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
getErrorsCount
public int getErrorsCount()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
- Specified by:
getErrorsCount
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
getErrors
public com.google.rpc.Status getErrors(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
- Specified by:
getErrors
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
setErrors
public TroubleshootIamPolicyResponse.Builder setErrors(int index, com.google.rpc.Status value)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
setErrors
public TroubleshootIamPolicyResponse.Builder setErrors(int index, com.google.rpc.Status.Builder builderForValue)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
addErrors
public TroubleshootIamPolicyResponse.Builder addErrors(com.google.rpc.Status value)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
addErrors
public TroubleshootIamPolicyResponse.Builder addErrors(int index, com.google.rpc.Status value)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
addErrors
public TroubleshootIamPolicyResponse.Builder addErrors(com.google.rpc.Status.Builder builderForValue)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
addErrors
public TroubleshootIamPolicyResponse.Builder addErrors(int index, com.google.rpc.Status.Builder builderForValue)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
addAllErrors
public TroubleshootIamPolicyResponse.Builder addAllErrors(Iterable<? extends com.google.rpc.Status> values)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
clearErrors
public TroubleshootIamPolicyResponse.Builder clearErrors()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
removeErrors
public TroubleshootIamPolicyResponse.Builder removeErrors(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrorsBuilder
public com.google.rpc.Status.Builder getErrorsBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrorsOrBuilder
public com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
- Specified by:
getErrorsOrBuilder
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
getErrorsOrBuilderList
public List<? extends com.google.rpc.StatusOrBuilder> getErrorsOrBuilderList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
- Specified by:
getErrorsOrBuilderList
in interfaceTroubleshootIamPolicyResponseOrBuilder
-
addErrorsBuilder
public com.google.rpc.Status.Builder addErrorsBuilder()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
addErrorsBuilder
public com.google.rpc.Status.Builder addErrorsBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrorsBuilderList
public List<com.google.rpc.Status.Builder> getErrorsBuilderList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
setUnknownFields
public final TroubleshootIamPolicyResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeUnknownFields
public final TroubleshootIamPolicyResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
-