-
- All Implemented Interfaces:
-
com.authzed.api.v1.PermissionService.LookupSubjectsRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class PermissionService.LookupSubjectsRequest extends GeneratedMessageV3 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPermissionService.LookupSubjectsRequest.Builder
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 final static intCONSISTENCY_FIELD_NUMBERpublic final static intRESOURCE_FIELD_NUMBERpublic final static intPERMISSION_FIELD_NUMBERpublic final static intSUBJECT_OBJECT_TYPE_FIELD_NUMBERpublic final static intOPTIONAL_SUBJECT_RELATION_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final UnknownFieldSetgetUnknownFields()final static Descriptors.DescriptorgetDescriptor()booleanhasConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.ConsistencygetConsistency().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) = { ... }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) = { ... }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) = { ... }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) = { ... }final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static PermissionService.LookupSubjectsRequestparseFrom(ByteBuffer data)static PermissionService.LookupSubjectsRequestparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupSubjectsRequestparseFrom(ByteString data)static PermissionService.LookupSubjectsRequestparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupSubjectsRequestparseFrom(Array<byte> data)static PermissionService.LookupSubjectsRequestparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupSubjectsRequestparseFrom(InputStream input)static PermissionService.LookupSubjectsRequestparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupSubjectsRequestparseDelimitedFrom(InputStream input)static PermissionService.LookupSubjectsRequestparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupSubjectsRequestparseFrom(CodedInputStream input)static PermissionService.LookupSubjectsRequestparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)PermissionService.LookupSubjectsRequest.BuildernewBuilderForType()static PermissionService.LookupSubjectsRequest.BuildernewBuilder()static PermissionService.LookupSubjectsRequest.BuildernewBuilder(PermissionService.LookupSubjectsRequest prototype)PermissionService.LookupSubjectsRequest.BuildertoBuilder()static PermissionService.LookupSubjectsRequestgetDefaultInstance()static Parser<PermissionService.LookupSubjectsRequest>parser()Parser<PermissionService.LookupSubjectsRequest>getParserForType()PermissionService.LookupSubjectsRequestgetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
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
-
getUnknownFields
final UnknownFieldSet getUnknownFields()
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
hasConsistency
boolean hasConsistency()
.authzed.api.v1.Consistency consistency = 1;
-
getConsistency
PermissionService.Consistency getConsistency()
.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) = { ... }
-
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) = { ... }
-
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) = { ... }
-
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) = { ... }
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
equals
boolean equals(Object obj)
-
hashCode
int hashCode()
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(ByteBuffer data)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(ByteString data)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(Array<byte> data)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(InputStream input)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static PermissionService.LookupSubjectsRequest parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static PermissionService.LookupSubjectsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(CodedInputStream input)
-
parseFrom
static PermissionService.LookupSubjectsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
PermissionService.LookupSubjectsRequest.Builder newBuilderForType()
-
newBuilder
static PermissionService.LookupSubjectsRequest.Builder newBuilder()
-
newBuilder
static PermissionService.LookupSubjectsRequest.Builder newBuilder(PermissionService.LookupSubjectsRequest prototype)
-
getDefaultInstance
static PermissionService.LookupSubjectsRequest getDefaultInstance()
-
parser
static Parser<PermissionService.LookupSubjectsRequest> parser()
-
getParserForType
Parser<PermissionService.LookupSubjectsRequest> getParserForType()
-
getDefaultInstanceForType
PermissionService.LookupSubjectsRequest getDefaultInstanceForType()
-
-
-
-