-
- All Implemented Interfaces:
-
com.authzed.api.v1.PermissionService.LookupSubjectsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
public final class PermissionService.LookupSubjectsRequest.Builder extends GeneratedMessageV3.Builder<BuilderType> implements PermissionService.LookupSubjectsRequestOrBuilder
Protobuf typeLookupSubjectsRequest 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.authzed.api.v1.LookupSubjectsRequest
-
-
Field Summary
Fields Modifier and Type Field Description public UnknownFieldSetunknownFields
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()PermissionService.LookupSubjectsRequest.Builderclear()Descriptors.DescriptorgetDescriptorForType()PermissionService.LookupSubjectsRequestgetDefaultInstanceForType()PermissionService.LookupSubjectsRequestbuild()PermissionService.LookupSubjectsRequestbuildPartial()PermissionService.LookupSubjectsRequest.Builderclone()PermissionService.LookupSubjectsRequest.BuildersetField(Descriptors.FieldDescriptor field, Object value)PermissionService.LookupSubjectsRequest.BuilderclearField(Descriptors.FieldDescriptor field)PermissionService.LookupSubjectsRequest.BuilderclearOneof(Descriptors.OneofDescriptor oneof)PermissionService.LookupSubjectsRequest.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)PermissionService.LookupSubjectsRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)PermissionService.LookupSubjectsRequest.BuildermergeFrom(Message other)PermissionService.LookupSubjectsRequest.BuildermergeFrom(PermissionService.LookupSubjectsRequest other)final booleanisInitialized()PermissionService.LookupSubjectsRequest.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)booleanhasConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.ConsistencygetConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.LookupSubjectsRequest.BuildersetConsistency(PermissionService.Consistency value).authzed.api.v1.Consistency consistency = 1;PermissionService.LookupSubjectsRequest.BuildersetConsistency(PermissionService.Consistency.Builder builderForValue).authzed.api.v1.Consistency consistency = 1;PermissionService.LookupSubjectsRequest.BuildermergeConsistency(PermissionService.Consistency value).authzed.api.v1.Consistency consistency = 1;PermissionService.LookupSubjectsRequest.BuilderclearConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.Consistency.BuildergetConsistencyBuilder().authzed.api.v1.Consistency consistency = 1;PermissionService.ConsistencyOrBuildergetConsistencyOrBuilder().authzed.api.v1.Consistency consistency = 1;booleanhasResource()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) = { ... }Core.ObjectReferencegetResource()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) = { ... }PermissionService.LookupSubjectsRequest.BuildersetResource(Core.ObjectReference value)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) = { ... }PermissionService.LookupSubjectsRequest.BuildersetResource(Core.ObjectReference.Builder builderForValue)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) = { ... }PermissionService.LookupSubjectsRequest.BuildermergeResource(Core.ObjectReference value)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) = { ... }PermissionService.LookupSubjectsRequest.BuilderclearResource()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) = { ... }Core.ObjectReference.BuildergetResourceBuilder()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) = { ... }Core.ObjectReferenceOrBuildergetResourceOrBuilder()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) = { ... }StringgetPermission()permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }ByteStringgetPermissionBytes()permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuildersetPermission(String value)permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuilderclearPermission()permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuildersetPermissionBytes(ByteString value)permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }StringgetSubjectObjectType()subject_object_type is the type of subject object for which the IDs will be returned.string subject_object_type = 4 [(.validate.rules) = { ... }ByteStringgetSubjectObjectTypeBytes()subject_object_type is the type of subject object for which the IDs will be returned.string subject_object_type = 4 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuildersetSubjectObjectType(String value)subject_object_type is the type of subject object for which the IDs will be returned.string subject_object_type = 4 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuilderclearSubjectObjectType()subject_object_type is the type of subject object for which the IDs will be returned.string subject_object_type = 4 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuildersetSubjectObjectTypeBytes(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) = { ... }StringgetOptionalSubjectRelation()optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }ByteStringgetOptionalSubjectRelationBytes()optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuildersetOptionalSubjectRelation(String value)optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuilderclearOptionalSubjectRelation()optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }PermissionService.LookupSubjectsRequest.BuildersetOptionalSubjectRelationBytes(ByteString value)optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }final PermissionService.LookupSubjectsRequest.BuildersetUnknownFields(UnknownFieldSet unknownFields)final PermissionService.LookupSubjectsRequest.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField, setUnknownFields -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
PermissionService.LookupSubjectsRequest getDefaultInstanceForType()
-
buildPartial
PermissionService.LookupSubjectsRequest buildPartial()
-
setField
PermissionService.LookupSubjectsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
PermissionService.LookupSubjectsRequest.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
PermissionService.LookupSubjectsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
PermissionService.LookupSubjectsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
PermissionService.LookupSubjectsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
PermissionService.LookupSubjectsRequest.Builder mergeFrom(Message other)
-
mergeFrom
PermissionService.LookupSubjectsRequest.Builder mergeFrom(PermissionService.LookupSubjectsRequest other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
PermissionService.LookupSubjectsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
hasConsistency
boolean hasConsistency()
.authzed.api.v1.Consistency consistency = 1;
-
getConsistency
PermissionService.Consistency getConsistency()
.authzed.api.v1.Consistency consistency = 1;
-
setConsistency
PermissionService.LookupSubjectsRequest.Builder setConsistency(PermissionService.Consistency value)
.authzed.api.v1.Consistency consistency = 1;
-
setConsistency
PermissionService.LookupSubjectsRequest.Builder setConsistency(PermissionService.Consistency.Builder builderForValue)
.authzed.api.v1.Consistency consistency = 1;
-
mergeConsistency
PermissionService.LookupSubjectsRequest.Builder mergeConsistency(PermissionService.Consistency value)
.authzed.api.v1.Consistency consistency = 1;
-
clearConsistency
PermissionService.LookupSubjectsRequest.Builder clearConsistency()
.authzed.api.v1.Consistency consistency = 1;
-
getConsistencyBuilder
PermissionService.Consistency.Builder getConsistencyBuilder()
.authzed.api.v1.Consistency consistency = 1;
-
getConsistencyOrBuilder
PermissionService.ConsistencyOrBuilder getConsistencyOrBuilder()
.authzed.api.v1.Consistency consistency = 1;
-
hasResource
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) = { ... }
-
getResource
Core.ObjectReference 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) = { ... }
-
setResource
PermissionService.LookupSubjectsRequest.Builder setResource(Core.ObjectReference value)
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
PermissionService.LookupSubjectsRequest.Builder setResource(Core.ObjectReference.Builder builderForValue)
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
PermissionService.LookupSubjectsRequest.Builder mergeResource(Core.ObjectReference value)
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
PermissionService.LookupSubjectsRequest.Builder 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
Core.ObjectReference.Builder 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
Core.ObjectReferenceOrBuilder 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) = { ... }
-
getPermission
String getPermission()
permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }
-
getPermissionBytes
ByteString getPermissionBytes()
permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }
-
setPermission
PermissionService.LookupSubjectsRequest.Builder setPermission(String value)
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.
-
clearPermission
PermissionService.LookupSubjectsRequest.Builder clearPermission()
permission is the name of the permission (or relation) for which to find the subjects.string permission = 3 [(.validate.rules) = { ... }
-
setPermissionBytes
PermissionService.LookupSubjectsRequest.Builder setPermissionBytes(ByteString value)
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.
-
getSubjectObjectType
String getSubjectObjectType()
subject_object_type is the type of subject object for which the IDs will be returned.string subject_object_type = 4 [(.validate.rules) = { ... }
-
getSubjectObjectTypeBytes
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) = { ... }
-
setSubjectObjectType
PermissionService.LookupSubjectsRequest.Builder setSubjectObjectType(String 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 subjectObjectType to set.
-
clearSubjectObjectType
PermissionService.LookupSubjectsRequest.Builder clearSubjectObjectType()
subject_object_type is the type of subject object for which the IDs will be returned.string subject_object_type = 4 [(.validate.rules) = { ... }
-
setSubjectObjectTypeBytes
PermissionService.LookupSubjectsRequest.Builder setSubjectObjectTypeBytes(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.
-
getOptionalSubjectRelation
String getOptionalSubjectRelation()
optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }
-
getOptionalSubjectRelationBytes
ByteString getOptionalSubjectRelationBytes()
optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }
-
setOptionalSubjectRelation
PermissionService.LookupSubjectsRequest.Builder setOptionalSubjectRelation(String value)
optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }- Parameters:
value- The optionalSubjectRelation to set.
-
clearOptionalSubjectRelation
PermissionService.LookupSubjectsRequest.Builder clearOptionalSubjectRelation()
optional_subject_relation is the optional relation for the subject.string optional_subject_relation = 5 [(.validate.rules) = { ... }
-
setOptionalSubjectRelationBytes
PermissionService.LookupSubjectsRequest.Builder setOptionalSubjectRelationBytes(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.
-
setUnknownFields
final PermissionService.LookupSubjectsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final PermissionService.LookupSubjectsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-