Package com.authzed.api.v1
Interface CheckPermissionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckPermissionResponse,CheckPermissionResponse.Builder
@Generated
public interface CheckPermissionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ....authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ...debug_trace is the debugging trace of this check, if requested.debug_trace is the debugging trace of this check, if requested.com.google.protobuf.Timestampoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).com.google.protobuf.TimestampOrBuilderoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).partial_caveat_info holds information of a partially-evaluated caveated responsepartial_caveat_info holds information of a partially-evaluated caveated responsePermissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation.intPermissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation.boolean.authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ...booleandebug_trace is the debugging trace of this check, if requested.booleanoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).booleanpartial_caveat_info holds information of a partially-evaluated caveated responseMethods 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
-
hasCheckedAt
boolean hasCheckedAt().authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ... }- Returns:
- Whether the checkedAt field is set.
-
getCheckedAt
ZedToken getCheckedAt().authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ... }- Returns:
- The checkedAt.
-
getCheckedAtOrBuilder
ZedTokenOrBuilder getCheckedAtOrBuilder().authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ... } -
getPermissionshipValue
int getPermissionshipValue()Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation. This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the requested subject is a member of the computed permission set or there exists a relationship with the requested relation from the given resource to the given subject.
.authzed.api.v1.CheckPermissionResponse.Permissionship permissionship = 2 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for permissionship.
-
getPermissionship
CheckPermissionResponse.Permissionship getPermissionship()Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation. This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the requested subject is a member of the computed permission set or there exists a relationship with the requested relation from the given resource to the given subject.
.authzed.api.v1.CheckPermissionResponse.Permissionship permissionship = 2 [(.validate.rules) = { ... }- Returns:
- The permissionship.
-
hasPartialCaveatInfo
boolean hasPartialCaveatInfo()partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }- Returns:
- Whether the partialCaveatInfo field is set.
-
getPartialCaveatInfo
PartialCaveatInfo getPartialCaveatInfo()partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }- Returns:
- The partialCaveatInfo.
-
getPartialCaveatInfoOrBuilder
PartialCaveatInfoOrBuilder getPartialCaveatInfoOrBuilder()partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... } -
hasDebugTrace
boolean hasDebugTrace()debug_trace is the debugging trace of this check, if requested.
.authzed.api.v1.DebugInformation debug_trace = 4;- Returns:
- Whether the debugTrace field is set.
-
getDebugTrace
DebugInformation getDebugTrace()debug_trace is the debugging trace of this check, if requested.
.authzed.api.v1.DebugInformation debug_trace = 4;- Returns:
- The debugTrace.
-
getDebugTraceOrBuilder
DebugInformationOrBuilder getDebugTraceOrBuilder()debug_trace is the debugging trace of this check, if requested.
.authzed.api.v1.DebugInformation debug_trace = 4; -
hasOptionalExpiresAt
boolean hasOptionalExpiresAt()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 5;- Returns:
- Whether the optionalExpiresAt field is set.
-
getOptionalExpiresAt
com.google.protobuf.Timestamp getOptionalExpiresAt()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 5;- Returns:
- The optionalExpiresAt.
-
getOptionalExpiresAtOrBuilder
com.google.protobuf.TimestampOrBuilder getOptionalExpiresAtOrBuilder()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 5;
-