Class TroubleshootIamPolicyResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse
All Implemented Interfaces:
TroubleshootIamPolicyResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class TroubleshootIamPolicyResponse extends com.google.protobuf.GeneratedMessage implements TroubleshootIamPolicyResponseOrBuilder
 Response for
 [TroubleshootIamPolicy][google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter.TroubleshootIamPolicy].
 
Protobuf type google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse
See Also:
  • Field Details

    • OVERALL_ACCESS_STATE_FIELD_NUMBER

      public static final int OVERALL_ACCESS_STATE_FIELD_NUMBER
      See Also:
    • ACCESS_TUPLE_FIELD_NUMBER

      public static final int ACCESS_TUPLE_FIELD_NUMBER
      See Also:
    • ALLOW_POLICY_EXPLANATION_FIELD_NUMBER

      public static final int ALLOW_POLICY_EXPLANATION_FIELD_NUMBER
      See Also:
    • DENY_POLICY_EXPLANATION_FIELD_NUMBER

      public static final int DENY_POLICY_EXPLANATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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:
      getOverallAccessStateValue in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      The enum numeric value on the wire for overallAccessState.
    • getOverallAccessState

      public TroubleshootIamPolicyResponse.OverallAccessState 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:
      getOverallAccessState in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      The overallAccessState.
    • 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:
      hasAccessTuple in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      Whether the accessTuple field is set.
    • getAccessTuple

      public AccessTuple 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:
      getAccessTuple in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      The accessTuple.
    • getAccessTupleOrBuilder

      public AccessTupleOrBuilder 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:
      getAccessTupleOrBuilder in interface TroubleshootIamPolicyResponseOrBuilder
    • 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:
      hasAllowPolicyExplanation in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      Whether the allowPolicyExplanation field is set.
    • getAllowPolicyExplanation

      public AllowPolicyExplanation 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:
      getAllowPolicyExplanation in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      The allowPolicyExplanation.
    • getAllowPolicyExplanationOrBuilder

      public AllowPolicyExplanationOrBuilder 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:
      getAllowPolicyExplanationOrBuilder in interface TroubleshootIamPolicyResponseOrBuilder
    • 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:
      hasDenyPolicyExplanation in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      Whether the denyPolicyExplanation field is set.
    • getDenyPolicyExplanation

      public DenyPolicyExplanation 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:
      getDenyPolicyExplanation in interface TroubleshootIamPolicyResponseOrBuilder
      Returns:
      The denyPolicyExplanation.
    • getDenyPolicyExplanationOrBuilder

      public DenyPolicyExplanationOrBuilder 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:
      getDenyPolicyExplanationOrBuilder in interface TroubleshootIamPolicyResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TroubleshootIamPolicyResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TroubleshootIamPolicyResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TroubleshootIamPolicyResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TroubleshootIamPolicyResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TroubleshootIamPolicyResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TroubleshootIamPolicyResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TroubleshootIamPolicyResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TroubleshootIamPolicyResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<TroubleshootIamPolicyResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TroubleshootIamPolicyResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder