-
- All Implemented Interfaces:
-
com.authzed.api.v1.PermissionService.LookupResourcesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class PermissionService.LookupResourcesRequest extends GeneratedMessageV3 implements PermissionService.LookupResourcesRequestOrBuilder
Protobuf typeLookupResourcesRequest performs a lookup of all resources of a particular kind on which the subject has the specified permission or the relation in which the subject exists, streaming back the IDs of those resources.authzed.api.v1.LookupResourcesRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPermissionService.LookupResourcesRequest.Builder
Protobuf typeLookupResourcesRequest performs a lookup of all resources of a particular kind on which the subject has the specified permission or the relation in which the subject exists, streaming back the IDs of those resources.authzed.api.v1.LookupResourcesRequest
-
Field Summary
Fields Modifier and Type Field Description public final static intCONSISTENCY_FIELD_NUMBERpublic final static intRESOURCE_OBJECT_TYPE_FIELD_NUMBERpublic final static intPERMISSION_FIELD_NUMBERpublic final static intSUBJECT_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;StringgetResourceObjectType()resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }ByteStringgetResourceObjectTypeBytes()resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }StringgetPermission()permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }ByteStringgetPermissionBytes()permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }booleanhasSubject()subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }Core.SubjectReferencegetSubject()subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }Core.SubjectReferenceOrBuildergetSubjectOrBuilder()subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static PermissionService.LookupResourcesRequestparseFrom(ByteBuffer data)static PermissionService.LookupResourcesRequestparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupResourcesRequestparseFrom(ByteString data)static PermissionService.LookupResourcesRequestparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupResourcesRequestparseFrom(Array<byte> data)static PermissionService.LookupResourcesRequestparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupResourcesRequestparseFrom(InputStream input)static PermissionService.LookupResourcesRequestparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupResourcesRequestparseDelimitedFrom(InputStream input)static PermissionService.LookupResourcesRequestparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static PermissionService.LookupResourcesRequestparseFrom(CodedInputStream input)static PermissionService.LookupResourcesRequestparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)PermissionService.LookupResourcesRequest.BuildernewBuilderForType()static PermissionService.LookupResourcesRequest.BuildernewBuilder()static PermissionService.LookupResourcesRequest.BuildernewBuilder(PermissionService.LookupResourcesRequest prototype)PermissionService.LookupResourcesRequest.BuildertoBuilder()static PermissionService.LookupResourcesRequestgetDefaultInstance()static Parser<PermissionService.LookupResourcesRequest>parser()Parser<PermissionService.LookupResourcesRequest>getParserForType()PermissionService.LookupResourcesRequestgetDefaultInstanceForType()-
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;
-
getResourceObjectType
String getResourceObjectType()
resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }
-
getResourceObjectTypeBytes
ByteString getResourceObjectTypeBytes()
resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }
-
getPermission
String getPermission()
permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }
-
getPermissionBytes
ByteString getPermissionBytes()
permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }
-
hasSubject
boolean hasSubject()
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
getSubject
Core.SubjectReference getSubject()
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
getSubjectOrBuilder
Core.SubjectReferenceOrBuilder getSubjectOrBuilder()
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.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.LookupResourcesRequest parseFrom(ByteBuffer data)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(ByteString data)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(Array<byte> data)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(InputStream input)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static PermissionService.LookupResourcesRequest parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static PermissionService.LookupResourcesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(CodedInputStream input)
-
parseFrom
static PermissionService.LookupResourcesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
PermissionService.LookupResourcesRequest.Builder newBuilderForType()
-
newBuilder
static PermissionService.LookupResourcesRequest.Builder newBuilder()
-
newBuilder
static PermissionService.LookupResourcesRequest.Builder newBuilder(PermissionService.LookupResourcesRequest prototype)
-
getDefaultInstance
static PermissionService.LookupResourcesRequest getDefaultInstance()
-
parser
static Parser<PermissionService.LookupResourcesRequest> parser()
-
getParserForType
Parser<PermissionService.LookupResourcesRequest> getParserForType()
-
getDefaultInstanceForType
PermissionService.LookupResourcesRequest getDefaultInstanceForType()
-
-
-
-