Package com.authzed.api.materialize.v0
Interface LookupPermissionSetsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LookupPermissionSetsRequest
,LookupPermissionSetsRequest.Builder
public interface LookupPermissionSetsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
getLimit()
limit is the number of permission sets to stream over a single LookupPermissionSets.optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision.optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision.optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.boolean
optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision.boolean
optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.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
-
getLimit
int getLimit()limit is the number of permission sets to stream over a single LookupPermissionSets. Once the limit is reached, the server will close the stream. If more permission sets are available, the consume should open a new stream providing optional_starting_after_cursor, using the cursor from the last response.
uint32 limit = 1;
- Returns:
- The limit.
-
hasOptionalAtRevision
boolean hasOptionalAtRevision()optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision. It's optional, and if not provided, PermissionSets will be looked up at the current revision. The cursor always takes precedence in defining the revision when present.
.authzed.api.v1.ZedToken optional_at_revision = 2;
- Returns:
- Whether the optionalAtRevision field is set.
-
getOptionalAtRevision
ZedToken getOptionalAtRevision()optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision. It's optional, and if not provided, PermissionSets will be looked up at the current revision. The cursor always takes precedence in defining the revision when present.
.authzed.api.v1.ZedToken optional_at_revision = 2;
- Returns:
- The optionalAtRevision.
-
getOptionalAtRevisionOrBuilder
ZedTokenOrBuilder getOptionalAtRevisionOrBuilder()optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision. It's optional, and if not provided, PermissionSets will be looked up at the current revision. The cursor always takes precedence in defining the revision when present.
.authzed.api.v1.ZedToken optional_at_revision = 2;
-
hasOptionalStartingAfterCursor
boolean hasOptionalStartingAfterCursor()optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.
.authzed.api.materialize.v0.Cursor optional_starting_after_cursor = 4;
- Returns:
- Whether the optionalStartingAfterCursor field is set.
-
getOptionalStartingAfterCursor
Cursor getOptionalStartingAfterCursor()optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.
.authzed.api.materialize.v0.Cursor optional_starting_after_cursor = 4;
- Returns:
- The optionalStartingAfterCursor.
-
getOptionalStartingAfterCursorOrBuilder
CursorOrBuilder getOptionalStartingAfterCursorOrBuilder()optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.
.authzed.api.materialize.v0.Cursor optional_starting_after_cursor = 4;
-