Class ConditionExplanation

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

@Generated public final class ConditionExplanation extends com.google.protobuf.GeneratedMessage implements ConditionExplanationOrBuilder
 Explanation for how a condition affects a principal's access
 
Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionExplanation
See Also:
  • Field Details

    • VALUE_FIELD_NUMBER

      public static final int VALUE_FIELD_NUMBER
      See Also:
    • ERRORS_FIELD_NUMBER

      public static final int ERRORS_FIELD_NUMBER
      See Also:
    • EVALUATION_STATES_FIELD_NUMBER

      public static final int EVALUATION_STATES_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
    • hasValue

      public boolean hasValue()
       Value of the condition.
       
      .google.protobuf.Value value = 1;
      Specified by:
      hasValue in interface ConditionExplanationOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public com.google.protobuf.Value getValue()
       Value of the condition.
       
      .google.protobuf.Value value = 1;
      Specified by:
      getValue in interface ConditionExplanationOrBuilder
      Returns:
      The value.
    • getValueOrBuilder

      public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
       Value of the condition.
       
      .google.protobuf.Value value = 1;
      Specified by:
      getValueOrBuilder in interface ConditionExplanationOrBuilder
    • getErrorsList

      public List<Status> getErrorsList()
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsList in interface ConditionExplanationOrBuilder
    • getErrorsOrBuilderList

      public List<? extends StatusOrBuilder> getErrorsOrBuilderList()
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsOrBuilderList in interface ConditionExplanationOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsCount in interface ConditionExplanationOrBuilder
    • getErrors

      public Status getErrors(int index)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrors in interface ConditionExplanationOrBuilder
    • getErrorsOrBuilder

      public StatusOrBuilder getErrorsOrBuilder(int index)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsOrBuilder in interface ConditionExplanationOrBuilder
    • getEvaluationStatesList

      public List<ConditionExplanation.EvaluationState> getEvaluationStatesList()
       The value of each statement of the condition expression. The value can be
       `true`, `false`, or `null`. The value is `null` if the statement can't be
       evaluated.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
      Specified by:
      getEvaluationStatesList in interface ConditionExplanationOrBuilder
    • getEvaluationStatesOrBuilderList

      public List<? extends ConditionExplanation.EvaluationStateOrBuilder> getEvaluationStatesOrBuilderList()
       The value of each statement of the condition expression. The value can be
       `true`, `false`, or `null`. The value is `null` if the statement can't be
       evaluated.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
      Specified by:
      getEvaluationStatesOrBuilderList in interface ConditionExplanationOrBuilder
    • getEvaluationStatesCount

      public int getEvaluationStatesCount()
       The value of each statement of the condition expression. The value can be
       `true`, `false`, or `null`. The value is `null` if the statement can't be
       evaluated.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
      Specified by:
      getEvaluationStatesCount in interface ConditionExplanationOrBuilder
    • getEvaluationStates

      public ConditionExplanation.EvaluationState getEvaluationStates(int index)
       The value of each statement of the condition expression. The value can be
       `true`, `false`, or `null`. The value is `null` if the statement can't be
       evaluated.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
      Specified by:
      getEvaluationStates in interface ConditionExplanationOrBuilder
    • getEvaluationStatesOrBuilder

      public ConditionExplanation.EvaluationStateOrBuilder getEvaluationStatesOrBuilder(int index)
       The value of each statement of the condition expression. The value can be
       `true`, `false`, or `null`. The value is `null` if the statement can't be
       evaluated.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
      Specified by:
      getEvaluationStatesOrBuilder in interface ConditionExplanationOrBuilder
    • 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 ConditionExplanation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ConditionExplanation.Builder newBuilder()
    • newBuilder

      public static ConditionExplanation.Builder newBuilder(ConditionExplanation prototype)
    • toBuilder

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

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

      public static ConditionExplanation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ConditionExplanation> 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 ConditionExplanation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder