Package com.authzed.api.v1
Interface LookupResourcesResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LookupResourcesResponse
,LookupResourcesResponse.Builder
public interface LookupResourcesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionafter_result_cursor holds a cursor that can be used to resume the LookupResources stream after this result.after_result_cursor holds a cursor that can be used to resume the LookupResources stream after this result.looked_up_at is the ZedToken at which the resource was found.looked_up_at is the ZedToken at which the resource was found.partial_caveat_info holds information of a partially-evaluated caveated responsepartial_caveat_info holds information of a partially-evaluated caveated responsepermissionship indicates whether the response was partially evaluated or notint
permissionship indicates whether the response was partially evaluated or notresource_object_id is the object ID of the found resource.com.google.protobuf.ByteString
resource_object_id is the object ID of the found resource.boolean
after_result_cursor holds a cursor that can be used to resume the LookupResources stream after this result.boolean
looked_up_at is the ZedToken at which the resource was found.boolean
partial_caveat_info holds information of a partially-evaluated caveated responseMethods 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
-
hasLookedUpAt
boolean hasLookedUpAt()looked_up_at is the ZedToken at which the resource was found.
.authzed.api.v1.ZedToken looked_up_at = 1;
- Returns:
- Whether the lookedUpAt field is set.
-
getLookedUpAt
ZedToken getLookedUpAt()looked_up_at is the ZedToken at which the resource was found.
.authzed.api.v1.ZedToken looked_up_at = 1;
- Returns:
- The lookedUpAt.
-
getLookedUpAtOrBuilder
ZedTokenOrBuilder getLookedUpAtOrBuilder()looked_up_at is the ZedToken at which the resource was found.
.authzed.api.v1.ZedToken looked_up_at = 1;
-
getResourceObjectId
String getResourceObjectId()resource_object_id is the object ID of the found resource.
string resource_object_id = 2;
- Returns:
- The resourceObjectId.
-
getResourceObjectIdBytes
com.google.protobuf.ByteString getResourceObjectIdBytes()resource_object_id is the object ID of the found resource.
string resource_object_id = 2;
- Returns:
- The bytes for resourceObjectId.
-
getPermissionshipValue
int getPermissionshipValue()permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 3 [(.validate.rules) = { ... }
- Returns:
- The enum numeric value on the wire for permissionship.
-
getPermissionship
LookupPermissionship getPermissionship()permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 3 [(.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 = 4 [(.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 = 4 [(.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 = 4 [(.validate.rules) = { ... }
-
hasAfterResultCursor
boolean hasAfterResultCursor()after_result_cursor holds a cursor that can be used to resume the LookupResources stream after this result.
.authzed.api.v1.Cursor after_result_cursor = 5;
- Returns:
- Whether the afterResultCursor field is set.
-
getAfterResultCursor
Cursor getAfterResultCursor()after_result_cursor holds a cursor that can be used to resume the LookupResources stream after this result.
.authzed.api.v1.Cursor after_result_cursor = 5;
- Returns:
- The afterResultCursor.
-
getAfterResultCursorOrBuilder
CursorOrBuilder getAfterResultCursorOrBuilder()after_result_cursor holds a cursor that can be used to resume the LookupResources stream after this result.
.authzed.api.v1.Cursor after_result_cursor = 5;
-