Class ConditionExplanation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConditionExplanation.Builder>
com.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.Builder
All Implemented Interfaces:
ConditionExplanationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConditionExplanation

public static final class ConditionExplanation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConditionExplanation.Builder> implements ConditionExplanationOrBuilder
 Explanation for how a condition affects a principal's access
 
Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionExplanation
  • 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.Builder<ConditionExplanation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ConditionExplanation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ConditionExplanation.Builder>
    • getDefaultInstanceForType

      public ConditionExplanation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public ConditionExplanation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConditionExplanation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConditionExplanation.Builder>
    • mergeFrom

      public ConditionExplanation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConditionExplanation.Builder>
      Throws:
      IOException
    • 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.
    • setValue

      public ConditionExplanation.Builder setValue(com.google.protobuf.Value value)
       Value of the condition.
       
      .google.protobuf.Value value = 1;
    • setValue

      public ConditionExplanation.Builder setValue(com.google.protobuf.Value.Builder builderForValue)
       Value of the condition.
       
      .google.protobuf.Value value = 1;
    • mergeValue

      public ConditionExplanation.Builder mergeValue(com.google.protobuf.Value value)
       Value of the condition.
       
      .google.protobuf.Value value = 1;
    • clearValue

      public ConditionExplanation.Builder clearValue()
       Value of the condition.
       
      .google.protobuf.Value value = 1;
    • getValueBuilder

      public com.google.protobuf.Value.Builder getValueBuilder()
       Value of the condition.
       
      .google.protobuf.Value value = 1;
    • 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
    • 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
    • setErrors

      public ConditionExplanation.Builder setErrors(int index, Status value)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • setErrors

      public ConditionExplanation.Builder setErrors(int index, Status.Builder builderForValue)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ConditionExplanation.Builder addErrors(Status value)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ConditionExplanation.Builder addErrors(int index, Status value)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ConditionExplanation.Builder addErrors(Status.Builder builderForValue)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ConditionExplanation.Builder addErrors(int index, Status.Builder builderForValue)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • addAllErrors

      public ConditionExplanation.Builder addAllErrors(Iterable<? extends Status> values)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • clearErrors

      public ConditionExplanation.Builder clearErrors()
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • removeErrors

      public ConditionExplanation.Builder removeErrors(int index)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • getErrorsBuilder

      public Status.Builder getErrorsBuilder(int index)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • 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
    • 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
    • addErrorsBuilder

      public Status.Builder addErrorsBuilder()
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • addErrorsBuilder

      public Status.Builder addErrorsBuilder(int index)
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • getErrorsBuilderList

      public List<Status.Builder> getErrorsBuilderList()
       Any errors that prevented complete evaluation of the condition expression.
       
      repeated .google.rpc.Status errors = 3;
    • 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
    • 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
    • setEvaluationStates

      public ConditionExplanation.Builder setEvaluationStates(int index, ConditionExplanation.EvaluationState value)
       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;
    • setEvaluationStates

      public ConditionExplanation.Builder setEvaluationStates(int index, ConditionExplanation.EvaluationState.Builder builderForValue)
       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;
    • addEvaluationStates

       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;
    • addEvaluationStates

      public ConditionExplanation.Builder addEvaluationStates(int index, ConditionExplanation.EvaluationState value)
       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;
    • addEvaluationStates

      public ConditionExplanation.Builder addEvaluationStates(ConditionExplanation.EvaluationState.Builder builderForValue)
       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;
    • addEvaluationStates

      public ConditionExplanation.Builder addEvaluationStates(int index, ConditionExplanation.EvaluationState.Builder builderForValue)
       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;
    • addAllEvaluationStates

      public ConditionExplanation.Builder addAllEvaluationStates(Iterable<? extends ConditionExplanation.EvaluationState> values)
       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;
    • clearEvaluationStates

      public ConditionExplanation.Builder clearEvaluationStates()
       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;
    • removeEvaluationStates

      public ConditionExplanation.Builder removeEvaluationStates(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;
    • getEvaluationStatesBuilder

      public ConditionExplanation.EvaluationState.Builder getEvaluationStatesBuilder(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;
    • 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
    • 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
    • addEvaluationStatesBuilder

      public ConditionExplanation.EvaluationState.Builder addEvaluationStatesBuilder()
       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;
    • addEvaluationStatesBuilder

      public ConditionExplanation.EvaluationState.Builder addEvaluationStatesBuilder(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;
    • getEvaluationStatesBuilderList

      public List<ConditionExplanation.EvaluationState.Builder> getEvaluationStatesBuilderList()
       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;