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.BuilderaddAllErrors(Iterable<? extends com.google.rpc.Status> values)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderaddAllExplainedPolicies(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.BuilderaddErrors(int index, com.google.rpc.Status value)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderaddErrors(int index, com.google.rpc.Status.Builder builderForValue)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderaddErrors(com.google.rpc.Status value)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderaddErrors(com.google.rpc.Status.Builder builderForValue)The general errors contained in the troubleshooting response.com.google.rpc.Status.BuilderaddErrorsBuilder()The general errors contained in the troubleshooting response.com.google.rpc.Status.BuilderaddErrorsBuilder(int index)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderaddExplainedPolicies(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.BuilderaddExplainedPolicies(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.BuilderaddExplainedPolicies(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.BuilderaddExplainedPolicies(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.BuilderaddExplainedPoliciesBuilder()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.BuilderaddExplainedPoliciesBuilder(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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TroubleshootIamPolicyResponsebuild()TroubleshootIamPolicyResponsebuildPartial()TroubleshootIamPolicyResponse.Builderclear()TroubleshootIamPolicyResponse.BuilderclearAccess()Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponse.BuilderclearErrors()The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderclearExplainedPolicies()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.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TroubleshootIamPolicyResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TroubleshootIamPolicyResponse.Builderclone()Explanations.AccessStategetAccess()Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.intgetAccessValue()Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.rpc.StatusgetErrors(int index)The general errors contained in the troubleshooting response.com.google.rpc.Status.BuildergetErrorsBuilder(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.intgetErrorsCount()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.StatusOrBuildergetErrorsOrBuilder(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.ExplainedPolicygetExplainedPolicies(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.BuildergetExplainedPoliciesBuilder(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.intgetExplainedPoliciesCount()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.ExplainedPolicyOrBuildergetExplainedPoliciesOrBuilder(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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TroubleshootIamPolicyResponse.BuildermergeFrom(TroubleshootIamPolicyResponse other)TroubleshootIamPolicyResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TroubleshootIamPolicyResponse.BuildermergeFrom(com.google.protobuf.Message other)TroubleshootIamPolicyResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TroubleshootIamPolicyResponse.BuilderremoveErrors(int index)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuilderremoveExplainedPolicies(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.BuildersetAccess(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.BuildersetAccessValue(int value)Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.TroubleshootIamPolicyResponse.BuildersetErrors(int index, com.google.rpc.Status value)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuildersetErrors(int index, com.google.rpc.Status.Builder builderForValue)The general errors contained in the troubleshooting response.TroubleshootIamPolicyResponse.BuildersetExplainedPolicies(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.BuildersetExplainedPolicies(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TroubleshootIamPolicyResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TroubleshootIamPolicyResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
clear
public TroubleshootIamPolicyResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
getDefaultInstanceForType
public TroubleshootIamPolicyResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TroubleshootIamPolicyResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TroubleshootIamPolicyResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TroubleshootIamPolicyResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
setField
public TroubleshootIamPolicyResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
clearField
public TroubleshootIamPolicyResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
clearOneof
public TroubleshootIamPolicyResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
setRepeatedField
public TroubleshootIamPolicyResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
addRepeatedField
public TroubleshootIamPolicyResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeFrom
public TroubleshootIamPolicyResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeFrom
public TroubleshootIamPolicyResponse.Builder mergeFrom(TroubleshootIamPolicyResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getAccessValuein 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:
getAccessin 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:
getExplainedPoliciesListin 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:
getExplainedPoliciesCountin 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:
getExplainedPoliciesin 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:
getExplainedPoliciesOrBuilderin 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:
getExplainedPoliciesOrBuilderListin 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:
getErrorsListin interfaceTroubleshootIamPolicyResponseOrBuilder
-
getErrorsCount
public int getErrorsCount()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;- Specified by:
getErrorsCountin 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:
getErrorsin 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:
getErrorsOrBuilderin 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:
getErrorsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeUnknownFields
public final TroubleshootIamPolicyResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder>
-
-