Class ExplainedAccess.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExplainedAccess.Builder>
com.google.cloud.policysimulator.v1.ExplainedAccess.Builder
All Implemented Interfaces:
ExplainedAccessOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExplainedAccess

public static final class ExplainedAccess.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExplainedAccess.Builder> implements ExplainedAccessOrBuilder
 Details about how a set of policies, listed in
 [ExplainedPolicy][google.cloud.policysimulator.v1.ExplainedPolicy], resulted
 in a certain [AccessState][google.cloud.policysimulator.v1.AccessState] when
 replaying an access tuple.
 
Protobuf type google.cloud.policysimulator.v1.ExplainedAccess
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllErrors(Iterable<? extends Status> values)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    addErrors(int index, Status value)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    addErrors(int index, Status.Builder builderForValue)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    addErrors(Status.Builder builderForValue)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    addErrorsBuilder(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    addPolicies(int index, ExplainedPolicy value)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    addPolicies(int index, ExplainedPolicy.Builder builderForValue)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    addPoliciesBuilder(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
     
     
     
    Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
    int
    Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getErrors(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    getErrorsBuilder(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    int
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    getErrorsOrBuilder(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    getPolicies(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    getPoliciesBuilder(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    int
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    removeErrors(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    removePolicies(int index)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
    Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.
    setErrors(int index, Status value)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    setErrors(int index, Status.Builder builderForValue)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`.
    setPolicies(int index, ExplainedPolicy value)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.
    setPolicies(int index, ExplainedPolicy.Builder builderForValue)
    If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.

    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, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExplainedAccess.Builder>
    • clear

      public ExplainedAccess.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<ExplainedAccess.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<ExplainedAccess.Builder>
    • getDefaultInstanceForType

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

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

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

      public ExplainedAccess.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<ExplainedAccess.Builder>
    • mergeFrom

      public ExplainedAccess.Builder mergeFrom(ExplainedAccess other)
    • isInitialized

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

      public ExplainedAccess.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<ExplainedAccess.Builder>
      Throws:
      IOException
    • getAccessStateValue

      public int getAccessStateValue()
       Whether the principal in the access tuple has permission to access the
       resource in the access tuple under the given policies.
       
      .google.cloud.policysimulator.v1.AccessState access_state = 1;
      Specified by:
      getAccessStateValue in interface ExplainedAccessOrBuilder
      Returns:
      The enum numeric value on the wire for accessState.
    • setAccessStateValue

      public ExplainedAccess.Builder setAccessStateValue(int value)
       Whether the principal in the access tuple has permission to access the
       resource in the access tuple under the given policies.
       
      .google.cloud.policysimulator.v1.AccessState access_state = 1;
      Parameters:
      value - The enum numeric value on the wire for accessState to set.
      Returns:
      This builder for chaining.
    • getAccessState

      public AccessState getAccessState()
       Whether the principal in the access tuple has permission to access the
       resource in the access tuple under the given policies.
       
      .google.cloud.policysimulator.v1.AccessState access_state = 1;
      Specified by:
      getAccessState in interface ExplainedAccessOrBuilder
      Returns:
      The accessState.
    • setAccessState

      public ExplainedAccess.Builder setAccessState(AccessState value)
       Whether the principal in the access tuple has permission to access the
       resource in the access tuple under the given policies.
       
      .google.cloud.policysimulator.v1.AccessState access_state = 1;
      Parameters:
      value - The accessState to set.
      Returns:
      This builder for chaining.
    • clearAccessState

      public ExplainedAccess.Builder clearAccessState()
       Whether the principal in the access tuple has permission to access the
       resource in the access tuple under the given policies.
       
      .google.cloud.policysimulator.v1.AccessState access_state = 1;
      Returns:
      This builder for chaining.
    • getPoliciesList

      public List<ExplainedPolicy> getPoliciesList()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
      Specified by:
      getPoliciesList in interface ExplainedAccessOrBuilder
    • getPoliciesCount

      public int getPoliciesCount()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
      Specified by:
      getPoliciesCount in interface ExplainedAccessOrBuilder
    • getPolicies

      public ExplainedPolicy getPolicies(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
      Specified by:
      getPolicies in interface ExplainedAccessOrBuilder
    • setPolicies

      public ExplainedAccess.Builder setPolicies(int index, ExplainedPolicy value)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • setPolicies

      public ExplainedAccess.Builder setPolicies(int index, ExplainedPolicy.Builder builderForValue)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • addPolicies

      public ExplainedAccess.Builder addPolicies(ExplainedPolicy value)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • addPolicies

      public ExplainedAccess.Builder addPolicies(int index, ExplainedPolicy value)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • addPolicies

      public ExplainedAccess.Builder addPolicies(ExplainedPolicy.Builder builderForValue)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • addPolicies

      public ExplainedAccess.Builder addPolicies(int index, ExplainedPolicy.Builder builderForValue)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • addAllPolicies

      public ExplainedAccess.Builder addAllPolicies(Iterable<? extends ExplainedPolicy> values)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • clearPolicies

      public ExplainedAccess.Builder clearPolicies()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • removePolicies

      public ExplainedAccess.Builder removePolicies(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • getPoliciesBuilder

      public ExplainedPolicy.Builder getPoliciesBuilder(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • getPoliciesOrBuilder

      public ExplainedPolicyOrBuilder getPoliciesOrBuilder(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
      Specified by:
      getPoliciesOrBuilder in interface ExplainedAccessOrBuilder
    • getPoliciesOrBuilderList

      public List<? extends ExplainedPolicyOrBuilder> getPoliciesOrBuilderList()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
      Specified by:
      getPoliciesOrBuilderList in interface ExplainedAccessOrBuilder
    • addPoliciesBuilder

      public ExplainedPolicy.Builder addPoliciesBuilder()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • addPoliciesBuilder

      public ExplainedPolicy.Builder addPoliciesBuilder(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • getPoliciesBuilderList

      public List<ExplainedPolicy.Builder> getPoliciesBuilderList()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains the policies that led to that result.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.cloud.policysimulator.v1.ExplainedPolicy policies = 2;
    • getErrorsList

      public List<Status> getErrorsList()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsList in interface ExplainedAccessOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsCount in interface ExplainedAccessOrBuilder
    • getErrors

      public Status getErrors(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrors in interface ExplainedAccessOrBuilder
    • setErrors

      public ExplainedAccess.Builder setErrors(int index, Status value)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • setErrors

      public ExplainedAccess.Builder setErrors(int index, Status.Builder builderForValue)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ExplainedAccess.Builder addErrors(Status value)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ExplainedAccess.Builder addErrors(int index, Status value)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ExplainedAccess.Builder addErrors(Status.Builder builderForValue)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • addErrors

      public ExplainedAccess.Builder addErrors(int index, Status.Builder builderForValue)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • addAllErrors

      public ExplainedAccess.Builder addAllErrors(Iterable<? extends Status> values)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • clearErrors

      public ExplainedAccess.Builder clearErrors()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • removeErrors

      public ExplainedAccess.Builder removeErrors(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • getErrorsBuilder

      public Status.Builder getErrorsBuilder(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • getErrorsOrBuilder

      public StatusOrBuilder getErrorsOrBuilder(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsOrBuilder in interface ExplainedAccessOrBuilder
    • getErrorsOrBuilderList

      public List<? extends StatusOrBuilder> getErrorsOrBuilderList()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
      Specified by:
      getErrorsOrBuilderList in interface ExplainedAccessOrBuilder
    • addErrorsBuilder

      public Status.Builder addErrorsBuilder()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • addErrorsBuilder

      public Status.Builder addErrorsBuilder(int index)
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;
    • getErrorsBuilderList

      public List<Status.Builder> getErrorsBuilderList()
       If the [AccessState][google.cloud.policysimulator.v1.AccessState] is
       `UNKNOWN`, this field contains a list of errors explaining why the result
       is `UNKNOWN`.
      
       If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is
       omitted.
       
      repeated .google.rpc.Status errors = 3;