-
- All Implemented Interfaces:
-
com.authzed.api.v1.PermissionService.LookupResourcesRequestOrBuilder,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.LookupResourcesRequest.Builder extends GeneratedMessageV3.Builder<BuilderType> 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
-
-
Field Summary
Fields Modifier and Type Field Description public UnknownFieldSetunknownFields
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()PermissionService.LookupResourcesRequest.Builderclear()Descriptors.DescriptorgetDescriptorForType()PermissionService.LookupResourcesRequestgetDefaultInstanceForType()PermissionService.LookupResourcesRequestbuild()PermissionService.LookupResourcesRequestbuildPartial()PermissionService.LookupResourcesRequest.Builderclone()PermissionService.LookupResourcesRequest.BuildersetField(Descriptors.FieldDescriptor field, Object value)PermissionService.LookupResourcesRequest.BuilderclearField(Descriptors.FieldDescriptor field)PermissionService.LookupResourcesRequest.BuilderclearOneof(Descriptors.OneofDescriptor oneof)PermissionService.LookupResourcesRequest.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)PermissionService.LookupResourcesRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)PermissionService.LookupResourcesRequest.BuildermergeFrom(Message other)PermissionService.LookupResourcesRequest.BuildermergeFrom(PermissionService.LookupResourcesRequest other)final booleanisInitialized()PermissionService.LookupResourcesRequest.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)booleanhasConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.ConsistencygetConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.LookupResourcesRequest.BuildersetConsistency(PermissionService.Consistency value).authzed.api.v1.Consistency consistency = 1;PermissionService.LookupResourcesRequest.BuildersetConsistency(PermissionService.Consistency.Builder builderForValue).authzed.api.v1.Consistency consistency = 1;PermissionService.LookupResourcesRequest.BuildermergeConsistency(PermissionService.Consistency value).authzed.api.v1.Consistency consistency = 1;PermissionService.LookupResourcesRequest.BuilderclearConsistency().authzed.api.v1.Consistency consistency = 1;PermissionService.Consistency.BuildergetConsistencyBuilder().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) = { ... }PermissionService.LookupResourcesRequest.BuildersetResourceObjectType(String value)resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuilderclearResourceObjectType()resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuildersetResourceObjectTypeBytes(ByteString value)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) = { ... }PermissionService.LookupResourcesRequest.BuildersetPermission(String value)permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuilderclearPermission()permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuildersetPermissionBytes(ByteString value)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) = { ... }PermissionService.LookupResourcesRequest.BuildersetSubject(Core.SubjectReference value)subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuildersetSubject(Core.SubjectReference.Builder builderForValue)subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuildermergeSubject(Core.SubjectReference value)subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }PermissionService.LookupResourcesRequest.BuilderclearSubject()subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }Core.SubjectReference.BuildergetSubjectBuilder()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 PermissionService.LookupResourcesRequest.BuildersetUnknownFields(UnknownFieldSet unknownFields)final PermissionService.LookupResourcesRequest.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.LookupResourcesRequest getDefaultInstanceForType()
-
buildPartial
PermissionService.LookupResourcesRequest buildPartial()
-
setField
PermissionService.LookupResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
PermissionService.LookupResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
PermissionService.LookupResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
PermissionService.LookupResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
PermissionService.LookupResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
PermissionService.LookupResourcesRequest.Builder mergeFrom(Message other)
-
mergeFrom
PermissionService.LookupResourcesRequest.Builder mergeFrom(PermissionService.LookupResourcesRequest other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
PermissionService.LookupResourcesRequest.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.LookupResourcesRequest.Builder setConsistency(PermissionService.Consistency value)
.authzed.api.v1.Consistency consistency = 1;
-
setConsistency
PermissionService.LookupResourcesRequest.Builder setConsistency(PermissionService.Consistency.Builder builderForValue)
.authzed.api.v1.Consistency consistency = 1;
-
mergeConsistency
PermissionService.LookupResourcesRequest.Builder mergeConsistency(PermissionService.Consistency value)
.authzed.api.v1.Consistency consistency = 1;
-
clearConsistency
PermissionService.LookupResourcesRequest.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;
-
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) = { ... }
-
setResourceObjectType
PermissionService.LookupResourcesRequest.Builder setResourceObjectType(String value)
resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }- Parameters:
value- The resourceObjectType to set.
-
clearResourceObjectType
PermissionService.LookupResourcesRequest.Builder clearResourceObjectType()
resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }
-
setResourceObjectTypeBytes
PermissionService.LookupResourcesRequest.Builder setResourceObjectTypeBytes(ByteString value)
resource_object_type is the type of resource object for which the IDs will be returned.string resource_object_type = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for resourceObjectType to set.
-
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) = { ... }
-
setPermission
PermissionService.LookupResourcesRequest.Builder setPermission(String value)
permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }- Parameters:
value- The permission to set.
-
clearPermission
PermissionService.LookupResourcesRequest.Builder clearPermission()
permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }
-
setPermissionBytes
PermissionService.LookupResourcesRequest.Builder setPermissionBytes(ByteString value)
permission is the name of the permission or relation for which the subject must Check.string permission = 3 [(.validate.rules) = { ... }- Parameters:
value- The bytes for permission to set.
-
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) = { ... }
-
setSubject
PermissionService.LookupResourcesRequest.Builder setSubject(Core.SubjectReference value)
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
setSubject
PermissionService.LookupResourcesRequest.Builder setSubject(Core.SubjectReference.Builder builderForValue)
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
mergeSubject
PermissionService.LookupResourcesRequest.Builder mergeSubject(Core.SubjectReference value)
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
clearSubject
PermissionService.LookupResourcesRequest.Builder clearSubject()
subject is the subject with access to the resources..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
getSubjectBuilder
Core.SubjectReference.Builder getSubjectBuilder()
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) = { ... }
-
setUnknownFields
final PermissionService.LookupResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final PermissionService.LookupResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-