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 TypeMethodDescriptionWhether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.intWhether 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`.intIf 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`.List<? extends StatusOrBuilder>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.intIf 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.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>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
isInitializedMethods 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
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
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
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
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
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;
-