Package com.authzed.api.v1
Class LookupSubjectsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LookupSubjectsRequest.Builder>
com.authzed.api.v1.LookupSubjectsRequest.Builder
- All Implemented Interfaces:
LookupSubjectsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- LookupSubjectsRequest
public static final class LookupSubjectsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LookupSubjectsRequest.Builder>
implements LookupSubjectsRequestOrBuilder
LookupSubjectsRequest performs a lookup of all subjects of a particular kind for which the subject has the specified permission or the relation in which the subject exists, streaming back the IDs of those subjects.Protobuf type
authzed.api.v1.LookupSubjectsRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.authzed.api.v1.Consistency consistency = 1;
context consists of named values that are injected into the caveat evaluation contextoptional_concrete_limit, if non-zero, specifies the limit on the number of *concrete* (non-wildcard) subjects to return before the stream is closed on the server side.optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_subject_relation is the optional relation for the subject.permission is the name of the permission (or relation) for which to find the subjects.resource is the resource for which all matching subjects for the permission or relation will be returned.subject_object_type is the type of subject object for which the IDs will be returned.wildcard_option specifies whether wildcards should be returned by LookupSubjects..authzed.api.v1.Consistency consistency = 1;
.authzed.api.v1.Consistency consistency = 1;
.authzed.api.v1.Consistency consistency = 1;
com.google.protobuf.Struct
context consists of named values that are injected into the caveat evaluation contextcom.google.protobuf.Struct.Builder
context consists of named values that are injected into the caveat evaluation contextcom.google.protobuf.StructOrBuilder
context consists of named values that are injected into the caveat evaluation contextstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
optional_concrete_limit, if non-zero, specifies the limit on the number of *concrete* (non-wildcard) subjects to return before the stream is closed on the server side.optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_subject_relation is the optional relation for the subject.com.google.protobuf.ByteString
optional_subject_relation is the optional relation for the subject.permission is the name of the permission (or relation) for which to find the subjects.com.google.protobuf.ByteString
permission is the name of the permission (or relation) for which to find the subjects.resource is the resource for which all matching subjects for the permission or relation will be returned.resource is the resource for which all matching subjects for the permission or relation will be returned.resource is the resource for which all matching subjects for the permission or relation will be returned.subject_object_type is the type of subject object for which the IDs will be returned.com.google.protobuf.ByteString
subject_object_type is the type of subject object for which the IDs will be returned.wildcard_option specifies whether wildcards should be returned by LookupSubjects.int
wildcard_option specifies whether wildcards should be returned by LookupSubjects.boolean
.authzed.api.v1.Consistency consistency = 1;
boolean
context consists of named values that are injected into the caveat evaluation contextboolean
optional_cursor, if specified, indicates the cursor after which results should resume being returned.boolean
resource is the resource for which all matching subjects for the permission or relation will be returned.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeConsistency
(Consistency value) .authzed.api.v1.Consistency consistency = 1;
mergeContext
(com.google.protobuf.Struct value) context consists of named values that are injected into the caveat evaluation contextmergeFrom
(LookupSubjectsRequest other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeOptionalCursor
(Cursor value) optional_cursor, if specified, indicates the cursor after which results should resume being returned.mergeResource
(ObjectReference value) resource is the resource for which all matching subjects for the permission or relation will be returned.setConsistency
(Consistency value) .authzed.api.v1.Consistency consistency = 1;
setConsistency
(Consistency.Builder builderForValue) .authzed.api.v1.Consistency consistency = 1;
setContext
(com.google.protobuf.Struct value) context consists of named values that are injected into the caveat evaluation contextsetContext
(com.google.protobuf.Struct.Builder builderForValue) context consists of named values that are injected into the caveat evaluation contextsetOptionalConcreteLimit
(int value) optional_concrete_limit, if non-zero, specifies the limit on the number of *concrete* (non-wildcard) subjects to return before the stream is closed on the server side.setOptionalCursor
(Cursor value) optional_cursor, if specified, indicates the cursor after which results should resume being returned.setOptionalCursor
(Cursor.Builder builderForValue) optional_cursor, if specified, indicates the cursor after which results should resume being returned.setOptionalSubjectRelation
(String value) optional_subject_relation is the optional relation for the subject.setOptionalSubjectRelationBytes
(com.google.protobuf.ByteString value) optional_subject_relation is the optional relation for the subject.setPermission
(String value) permission is the name of the permission (or relation) for which to find the subjects.setPermissionBytes
(com.google.protobuf.ByteString value) permission is the name of the permission (or relation) for which to find the subjects.setResource
(ObjectReference value) resource is the resource for which all matching subjects for the permission or relation will be returned.setResource
(ObjectReference.Builder builderForValue) resource is the resource for which all matching subjects for the permission or relation will be returned.setSubjectObjectType
(String value) subject_object_type is the type of subject object for which the IDs will be returned.setSubjectObjectTypeBytes
(com.google.protobuf.ByteString value) subject_object_type is the type of subject object for which the IDs will be returned.wildcard_option specifies whether wildcards should be returned by LookupSubjects.setWildcardOptionValue
(int value) wildcard_option specifies whether wildcards should be returned by LookupSubjects.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<LookupSubjectsRequest.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<LookupSubjectsRequest.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<LookupSubjectsRequest.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<LookupSubjectsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<LookupSubjectsRequest.Builder>
-
mergeFrom
public LookupSubjectsRequest.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<LookupSubjectsRequest.Builder>
- Throws:
IOException
-
hasConsistency
public boolean hasConsistency().authzed.api.v1.Consistency consistency = 1;
- Specified by:
hasConsistency
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- Whether the consistency field is set.
-
getConsistency
.authzed.api.v1.Consistency consistency = 1;
- Specified by:
getConsistency
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The consistency.
-
setConsistency
.authzed.api.v1.Consistency consistency = 1;
-
setConsistency
.authzed.api.v1.Consistency consistency = 1;
-
mergeConsistency
.authzed.api.v1.Consistency consistency = 1;
-
clearConsistency
.authzed.api.v1.Consistency consistency = 1;
-
getConsistencyBuilder
.authzed.api.v1.Consistency consistency = 1;
-
getConsistencyOrBuilder
.authzed.api.v1.Consistency consistency = 1;
- Specified by:
getConsistencyOrBuilder
in interfaceLookupSubjectsRequestOrBuilder
-
hasResource
public boolean hasResource()resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
- Specified by:
hasResource
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
- Specified by:
getResource
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The resource.
-
setResource
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
-
setResource
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
-
mergeResource
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
-
clearResource
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
-
getResourceBuilder
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
-
getResourceOrBuilder
resource is the resource for which all matching subjects for the permission or relation will be returned.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
- Specified by:
getResourceOrBuilder
in interfaceLookupSubjectsRequestOrBuilder
-
getPermission
permission is the name of the permission (or relation) for which to find the subjects.
string permission = 3 [(.validate.rules) = { ... }
- Specified by:
getPermission
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The permission.
-
getPermissionBytes
public com.google.protobuf.ByteString getPermissionBytes()permission is the name of the permission (or relation) for which to find the subjects.
string permission = 3 [(.validate.rules) = { ... }
- Specified by:
getPermissionBytes
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The bytes for permission.
-
setPermission
permission is the name of the permission (or relation) for which to find the subjects.
string permission = 3 [(.validate.rules) = { ... }
- Parameters:
value
- The permission to set.- Returns:
- This builder for chaining.
-
clearPermission
permission is the name of the permission (or relation) for which to find the subjects.
string permission = 3 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setPermissionBytes
permission is the name of the permission (or relation) for which to find the subjects.
string permission = 3 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for permission to set.- Returns:
- This builder for chaining.
-
getSubjectObjectType
subject_object_type is the type of subject object for which the IDs will be returned.
string subject_object_type = 4 [(.validate.rules) = { ... }
- Specified by:
getSubjectObjectType
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The subjectObjectType.
-
getSubjectObjectTypeBytes
public com.google.protobuf.ByteString getSubjectObjectTypeBytes()subject_object_type is the type of subject object for which the IDs will be returned.
string subject_object_type = 4 [(.validate.rules) = { ... }
- Specified by:
getSubjectObjectTypeBytes
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The bytes for subjectObjectType.
-
setSubjectObjectType
subject_object_type is the type of subject object for which the IDs will be returned.
string subject_object_type = 4 [(.validate.rules) = { ... }
- Parameters:
value
- The subjectObjectType to set.- Returns:
- This builder for chaining.
-
clearSubjectObjectType
subject_object_type is the type of subject object for which the IDs will be returned.
string subject_object_type = 4 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setSubjectObjectTypeBytes
public LookupSubjectsRequest.Builder setSubjectObjectTypeBytes(com.google.protobuf.ByteString value) subject_object_type is the type of subject object for which the IDs will be returned.
string subject_object_type = 4 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for subjectObjectType to set.- Returns:
- This builder for chaining.
-
getOptionalSubjectRelation
optional_subject_relation is the optional relation for the subject.
string optional_subject_relation = 5 [(.validate.rules) = { ... }
- Specified by:
getOptionalSubjectRelation
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The optionalSubjectRelation.
-
getOptionalSubjectRelationBytes
public com.google.protobuf.ByteString getOptionalSubjectRelationBytes()optional_subject_relation is the optional relation for the subject.
string optional_subject_relation = 5 [(.validate.rules) = { ... }
- Specified by:
getOptionalSubjectRelationBytes
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The bytes for optionalSubjectRelation.
-
setOptionalSubjectRelation
optional_subject_relation is the optional relation for the subject.
string optional_subject_relation = 5 [(.validate.rules) = { ... }
- Parameters:
value
- The optionalSubjectRelation to set.- Returns:
- This builder for chaining.
-
clearOptionalSubjectRelation
optional_subject_relation is the optional relation for the subject.
string optional_subject_relation = 5 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setOptionalSubjectRelationBytes
public LookupSubjectsRequest.Builder setOptionalSubjectRelationBytes(com.google.protobuf.ByteString value) optional_subject_relation is the optional relation for the subject.
string optional_subject_relation = 5 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for optionalSubjectRelation to set.- Returns:
- This builder for chaining.
-
hasContext
public boolean hasContext()context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
- Specified by:
hasContext
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
public com.google.protobuf.Struct getContext()context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
- Specified by:
getContext
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The context.
-
setContext
context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
-
setContext
context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
-
mergeContext
context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
-
clearContext
context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
-
getContextBuilder
public com.google.protobuf.Struct.Builder getContextBuilder()context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
-
getContextOrBuilder
public com.google.protobuf.StructOrBuilder getContextOrBuilder()context consists of named values that are injected into the caveat evaluation context
.google.protobuf.Struct context = 6 [(.validate.rules) = { ... }
- Specified by:
getContextOrBuilder
in interfaceLookupSubjectsRequestOrBuilder
-
getOptionalConcreteLimit
public int getOptionalConcreteLimit()optional_concrete_limit, if non-zero, specifies the limit on the number of *concrete* (non-wildcard) subjects to return before the stream is closed on the server side. With the default value of zero, the stream will continue resolving concrete subjects until exhausted or the stream is closed due to the client or a network issue. NOTE: Wildcard subjects ("*") have special treatment when cursors and limits are used. Because wildcards can apply to *any* concrete subjects, if a wildcard subject is found within the dataset, a wildcard subject can be returned for *all* LookupSubjects calls, regardless of the cursor or limit. For example, if wildcards are requested, a wildcard subject exists, there is a specified limit of 10 concrete subjects, and at least 10 concrete subjects exist, the API will return 11 subjects in total: the 10 concrete + the wildcard Furthermore, if a wildcard has a set of exclusions generated by the dataset, the exclusions *will respect the cursor* and only a *partial* set of exclusions will be returned for each invocation of the API. ***IT IS UP TO THE CALLER IN THIS CASE TO COMBINE THE EXCLUSIONS IF DESIRED***
uint32 optional_concrete_limit = 7 [(.validate.rules) = { ... }
- Specified by:
getOptionalConcreteLimit
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The optionalConcreteLimit.
-
setOptionalConcreteLimit
optional_concrete_limit, if non-zero, specifies the limit on the number of *concrete* (non-wildcard) subjects to return before the stream is closed on the server side. With the default value of zero, the stream will continue resolving concrete subjects until exhausted or the stream is closed due to the client or a network issue. NOTE: Wildcard subjects ("*") have special treatment when cursors and limits are used. Because wildcards can apply to *any* concrete subjects, if a wildcard subject is found within the dataset, a wildcard subject can be returned for *all* LookupSubjects calls, regardless of the cursor or limit. For example, if wildcards are requested, a wildcard subject exists, there is a specified limit of 10 concrete subjects, and at least 10 concrete subjects exist, the API will return 11 subjects in total: the 10 concrete + the wildcard Furthermore, if a wildcard has a set of exclusions generated by the dataset, the exclusions *will respect the cursor* and only a *partial* set of exclusions will be returned for each invocation of the API. ***IT IS UP TO THE CALLER IN THIS CASE TO COMBINE THE EXCLUSIONS IF DESIRED***
uint32 optional_concrete_limit = 7 [(.validate.rules) = { ... }
- Parameters:
value
- The optionalConcreteLimit to set.- Returns:
- This builder for chaining.
-
clearOptionalConcreteLimit
optional_concrete_limit, if non-zero, specifies the limit on the number of *concrete* (non-wildcard) subjects to return before the stream is closed on the server side. With the default value of zero, the stream will continue resolving concrete subjects until exhausted or the stream is closed due to the client or a network issue. NOTE: Wildcard subjects ("*") have special treatment when cursors and limits are used. Because wildcards can apply to *any* concrete subjects, if a wildcard subject is found within the dataset, a wildcard subject can be returned for *all* LookupSubjects calls, regardless of the cursor or limit. For example, if wildcards are requested, a wildcard subject exists, there is a specified limit of 10 concrete subjects, and at least 10 concrete subjects exist, the API will return 11 subjects in total: the 10 concrete + the wildcard Furthermore, if a wildcard has a set of exclusions generated by the dataset, the exclusions *will respect the cursor* and only a *partial* set of exclusions will be returned for each invocation of the API. ***IT IS UP TO THE CALLER IN THIS CASE TO COMBINE THE EXCLUSIONS IF DESIRED***
uint32 optional_concrete_limit = 7 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
hasOptionalCursor
public boolean hasOptionalCursor()optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
- Specified by:
hasOptionalCursor
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- Whether the optionalCursor field is set.
-
getOptionalCursor
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
- Specified by:
getOptionalCursor
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The optionalCursor.
-
setOptionalCursor
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
-
setOptionalCursor
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
-
mergeOptionalCursor
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
-
clearOptionalCursor
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
-
getOptionalCursorBuilder
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
-
getOptionalCursorOrBuilder
optional_cursor, if specified, indicates the cursor after which results should resume being returned. The cursor can be found on the LookupSubjectsResponse object. NOTE: See above for notes about how cursors interact with wildcard subjects.
.authzed.api.v1.Cursor optional_cursor = 8;
- Specified by:
getOptionalCursorOrBuilder
in interfaceLookupSubjectsRequestOrBuilder
-
getWildcardOptionValue
public int getWildcardOptionValue()wildcard_option specifies whether wildcards should be returned by LookupSubjects. For backwards compatibility, defaults to WILDCARD_OPTION_INCLUDE_WILDCARDS if unspecified.
.authzed.api.v1.LookupSubjectsRequest.WildcardOption wildcard_option = 9;
- Specified by:
getWildcardOptionValue
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The enum numeric value on the wire for wildcardOption.
-
setWildcardOptionValue
wildcard_option specifies whether wildcards should be returned by LookupSubjects. For backwards compatibility, defaults to WILDCARD_OPTION_INCLUDE_WILDCARDS if unspecified.
.authzed.api.v1.LookupSubjectsRequest.WildcardOption wildcard_option = 9;
- Parameters:
value
- The enum numeric value on the wire for wildcardOption to set.- Returns:
- This builder for chaining.
-
getWildcardOption
wildcard_option specifies whether wildcards should be returned by LookupSubjects. For backwards compatibility, defaults to WILDCARD_OPTION_INCLUDE_WILDCARDS if unspecified.
.authzed.api.v1.LookupSubjectsRequest.WildcardOption wildcard_option = 9;
- Specified by:
getWildcardOption
in interfaceLookupSubjectsRequestOrBuilder
- Returns:
- The wildcardOption.
-
setWildcardOption
wildcard_option specifies whether wildcards should be returned by LookupSubjects. For backwards compatibility, defaults to WILDCARD_OPTION_INCLUDE_WILDCARDS if unspecified.
.authzed.api.v1.LookupSubjectsRequest.WildcardOption wildcard_option = 9;
- Parameters:
value
- The wildcardOption to set.- Returns:
- This builder for chaining.
-
clearWildcardOption
wildcard_option specifies whether wildcards should be returned by LookupSubjects. For backwards compatibility, defaults to WILDCARD_OPTION_INCLUDE_WILDCARDS if unspecified.
.authzed.api.v1.LookupSubjectsRequest.WildcardOption wildcard_option = 9;
- Returns:
- This builder for chaining.
-