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.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
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_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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LookupPermissionSetsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLimit
in 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:
hasOptionalAtRevision
in 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:
getOptionalAtRevision
in 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:
getOptionalAtRevisionOrBuilder
in 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:
hasOptionalStartingAfterCursor
in 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:
getOptionalStartingAfterCursor
in 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:
getOptionalStartingAfterCursorOrBuilder
in interfaceLookupPermissionSetsRequestOrBuilder
-