Interface ExplainedAccessOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExplainedAccess, ExplainedAccess.Builder

@Generated public interface ExplainedAccessOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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`.
    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.
    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.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAccessStateValue

      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;
      Returns:
      The enum numeric value on the wire for accessState.
    • getAccessState

      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;
      Returns:
      The accessState.
    • getPoliciesList

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

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

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

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

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

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

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

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

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

      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;