Class TroubleshootIamPolicyResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TroubleshootIamPolicyResponse.Builder>
com.google.cloud.policytroubleshooter.iam.v3.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.GeneratedMessage.Builder<TroubleshootIamPolicyResponse.Builder>
implements TroubleshootIamPolicyResponseOrBuilder
Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter.TroubleshootIamPolicy].Protobuf type
google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The access tuple from the request, including any provided context used to evaluate the condition.An explanation of how the applicable IAM allow policies affect the final access state.An explanation of how the applicable IAM deny policies affect the final access state.Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.The access tuple from the request, including any provided context used to evaluate the condition.The access tuple from the request, including any provided context used to evaluate the condition.The access tuple from the request, including any provided context used to evaluate the condition.An explanation of how the applicable IAM allow policies affect the final access state.An explanation of how the applicable IAM allow policies affect the final access state.An explanation of how the applicable IAM allow policies affect the final access state.An explanation of how the applicable IAM deny policies affect the final access state.An explanation of how the applicable IAM deny policies affect the final access state.An explanation of how the applicable IAM deny policies affect the final access state.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIndicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.intIndicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.booleanThe access tuple from the request, including any provided context used to evaluate the condition.booleanAn explanation of how the applicable IAM allow policies affect the final access state.booleanAn explanation of how the applicable IAM deny policies affect the final access state.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAccessTuple(AccessTuple value) The access tuple from the request, including any provided context used to evaluate the condition.An explanation of how the applicable IAM allow policies affect the final access state.An explanation of how the applicable IAM deny policies affect the final access state.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAccessTuple(AccessTuple value) The access tuple from the request, including any provided context used to evaluate the condition.setAccessTuple(AccessTuple.Builder builderForValue) The access tuple from the request, including any provided context used to evaluate the condition.An explanation of how the applicable IAM allow policies affect the final access state.setAllowPolicyExplanation(AllowPolicyExplanation.Builder builderForValue) An explanation of how the applicable IAM allow policies affect the final access state.An explanation of how the applicable IAM deny policies affect the final access state.setDenyPolicyExplanation(DenyPolicyExplanation.Builder builderForValue) An explanation of how the applicable IAM deny policies affect the final access state.Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.setOverallAccessStateValue(int value) Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TroubleshootIamPolicyResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<TroubleshootIamPolicyResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TroubleshootIamPolicyResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
-
getOverallAccessStateValue
public int getOverallAccessStateValue()Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.
.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;- Specified by:
getOverallAccessStateValuein interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- The enum numeric value on the wire for overallAccessState.
-
setOverallAccessStateValue
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.
.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;- Parameters:
value- The enum numeric value on the wire for overallAccessState to set.- Returns:
- This builder for chaining.
-
getOverallAccessState
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.
.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;- Specified by:
getOverallAccessStatein interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- The overallAccessState.
-
setOverallAccessState
public TroubleshootIamPolicyResponse.Builder setOverallAccessState(TroubleshootIamPolicyResponse.OverallAccessState value) Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.
.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;- Parameters:
value- The overallAccessState to set.- Returns:
- This builder for chaining.
-
clearOverallAccessState
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.
.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;- Returns:
- This builder for chaining.
-
hasAccessTuple
public boolean hasAccessTuple()The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;- Specified by:
hasAccessTuplein interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- Whether the accessTuple field is set.
-
getAccessTuple
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;- Specified by:
getAccessTuplein interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- The accessTuple.
-
setAccessTuple
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2; -
setAccessTuple
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2; -
mergeAccessTuple
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2; -
clearAccessTuple
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2; -
getAccessTupleBuilder
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2; -
getAccessTupleOrBuilder
The access tuple from the request, including any provided context used to evaluate the condition.
.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;- Specified by:
getAccessTupleOrBuilderin interfaceTroubleshootIamPolicyResponseOrBuilder
-
hasAllowPolicyExplanation
public boolean hasAllowPolicyExplanation()An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;- Specified by:
hasAllowPolicyExplanationin interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- Whether the allowPolicyExplanation field is set.
-
getAllowPolicyExplanation
An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;- Specified by:
getAllowPolicyExplanationin interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- The allowPolicyExplanation.
-
setAllowPolicyExplanation
public TroubleshootIamPolicyResponse.Builder setAllowPolicyExplanation(AllowPolicyExplanation value) An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3; -
setAllowPolicyExplanation
public TroubleshootIamPolicyResponse.Builder setAllowPolicyExplanation(AllowPolicyExplanation.Builder builderForValue) An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3; -
mergeAllowPolicyExplanation
public TroubleshootIamPolicyResponse.Builder mergeAllowPolicyExplanation(AllowPolicyExplanation value) An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3; -
clearAllowPolicyExplanation
An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3; -
getAllowPolicyExplanationBuilder
An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3; -
getAllowPolicyExplanationOrBuilder
An explanation of how the applicable IAM allow policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;- Specified by:
getAllowPolicyExplanationOrBuilderin interfaceTroubleshootIamPolicyResponseOrBuilder
-
hasDenyPolicyExplanation
public boolean hasDenyPolicyExplanation()An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;- Specified by:
hasDenyPolicyExplanationin interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- Whether the denyPolicyExplanation field is set.
-
getDenyPolicyExplanation
An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;- Specified by:
getDenyPolicyExplanationin interfaceTroubleshootIamPolicyResponseOrBuilder- Returns:
- The denyPolicyExplanation.
-
setDenyPolicyExplanation
An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4; -
setDenyPolicyExplanation
public TroubleshootIamPolicyResponse.Builder setDenyPolicyExplanation(DenyPolicyExplanation.Builder builderForValue) An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4; -
mergeDenyPolicyExplanation
public TroubleshootIamPolicyResponse.Builder mergeDenyPolicyExplanation(DenyPolicyExplanation value) An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4; -
clearDenyPolicyExplanation
An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4; -
getDenyPolicyExplanationBuilder
An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4; -
getDenyPolicyExplanationOrBuilder
An explanation of how the applicable IAM deny policies affect the final access state.
.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;- Specified by:
getDenyPolicyExplanationOrBuilderin interfaceTroubleshootIamPolicyResponseOrBuilder
-