Interface ExplainedAccessOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExplainedAccess
,ExplainedAccess.Builder
public interface ExplainedAccessOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessState
getAccessState()
Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.int
getAccessStateValue()
Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.com.google.rpc.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`.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`.List<com.google.rpc.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`.com.google.rpc.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`.List<? extends com.google.rpc.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`.ExplainedPolicy
getPolicies(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.int
getPoliciesCount()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.List<ExplainedPolicy>
getPoliciesList()
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.ExplainedPolicyOrBuilder
getPoliciesOrBuilder(int index)
If the [AccessState][google.cloud.policysimulator.v1.AccessState] is `UNKNOWN`, this field contains the policies that led to that result.List<? extends ExplainedPolicyOrBuilder>
getPoliciesOrBuilderList()
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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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<com.google.rpc.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
com.google.rpc.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 com.google.rpc.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
com.google.rpc.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;
-
-