Package com.authzed.api.materialize.v0
Class LookupPermissionSetsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
com.authzed.api.materialize.v0.LookupPermissionSetsRequest.Builder
- All Implemented Interfaces:
LookupPermissionSetsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LookupPermissionSetsRequest
public static final class LookupPermissionSetsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
implements LookupPermissionSetsRequestOrBuilder
Protobuf type
authzed.api.materialize.v0.LookupPermissionSetsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()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_starting_after_cursor is used to specify the offset to start streaming permission sets from.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetLimit()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_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.optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.booleanoptional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision.booleanoptional_starting_after_cursor is used to specify the offset to start streaming permission sets from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOptionalAtRevision(ZedToken value) 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.setLimit(int value) limit is the number of permission sets to stream over a single LookupPermissionSets.setOptionalAtRevision(ZedToken value) optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision.setOptionalAtRevision(ZedToken.Builder builderForValue) 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.setOptionalStartingAfterCursor(Cursor.Builder builderForValue) optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LookupPermissionSetsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
mergeFrom
public LookupPermissionSetsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LookupPermissionSetsRequest.Builder>- Throws:
IOException
-
getLimit
public 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;- Specified by:
getLimitin interfaceLookupPermissionSetsRequestOrBuilder- Returns:
- The limit.
-
setLimit
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;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
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:
- This builder for chaining.
-
hasOptionalAtRevision
public 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;- Specified by:
hasOptionalAtRevisionin interfaceLookupPermissionSetsRequestOrBuilder- Returns:
- Whether the optionalAtRevision field is set.
-
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;- Specified by:
getOptionalAtRevisionin interfaceLookupPermissionSetsRequestOrBuilder- Returns:
- The optionalAtRevision.
-
setOptionalAtRevision
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; -
setOptionalAtRevision
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; -
mergeOptionalAtRevision
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; -
clearOptionalAtRevision
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; -
getOptionalAtRevisionBuilder
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; -
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;- Specified by:
getOptionalAtRevisionOrBuilderin interfaceLookupPermissionSetsRequestOrBuilder
-
hasOptionalStartingAfterCursor
public 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;- Specified by:
hasOptionalStartingAfterCursorin interfaceLookupPermissionSetsRequestOrBuilder- Returns:
- Whether the optionalStartingAfterCursor field is set.
-
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;- Specified by:
getOptionalStartingAfterCursorin interfaceLookupPermissionSetsRequestOrBuilder- Returns:
- The optionalStartingAfterCursor.
-
setOptionalStartingAfterCursor
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; -
setOptionalStartingAfterCursor
public LookupPermissionSetsRequest.Builder setOptionalStartingAfterCursor(Cursor.Builder builderForValue) 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; -
mergeOptionalStartingAfterCursor
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; -
clearOptionalStartingAfterCursor
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; -
getOptionalStartingAfterCursorBuilder
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; -
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;- Specified by:
getOptionalStartingAfterCursorOrBuilderin interfaceLookupPermissionSetsRequestOrBuilder
-