Package com.authzed.api.v1
Class CheckBulkPermissionsRequestItem.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CheckBulkPermissionsRequestItem.Builder>
com.authzed.api.v1.CheckBulkPermissionsRequestItem.Builder
- All Implemented Interfaces:
CheckBulkPermissionsRequestItemOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CheckBulkPermissionsRequestItem
public static final class CheckBulkPermissionsRequestItem.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CheckBulkPermissionsRequestItem.Builder>
implements CheckBulkPermissionsRequestItemOrBuilder
Protobuf type
authzed.api.v1.CheckBulkPermissionsRequestItem
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.google.protobuf.Struct context = 4 [(.validate.rules) = { ...
string permission = 2 [(.validate.rules) = { ...
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
com.google.protobuf.Struct
.google.protobuf.Struct context = 4 [(.validate.rules) = { ...
com.google.protobuf.Struct.Builder
.google.protobuf.Struct context = 4 [(.validate.rules) = { ...
com.google.protobuf.StructOrBuilder
.google.protobuf.Struct context = 4 [(.validate.rules) = { ...
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string permission = 2 [(.validate.rules) = { ...
com.google.protobuf.ByteString
string permission = 2 [(.validate.rules) = { ...
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
boolean
.google.protobuf.Struct context = 4 [(.validate.rules) = { ...
boolean
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
boolean
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeContext
(com.google.protobuf.Struct value) .google.protobuf.Struct context = 4 [(.validate.rules) = { ...
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeResource
(ObjectReference value) .authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
mergeSubject
(SubjectReference value) .authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
setContext
(com.google.protobuf.Struct value) .google.protobuf.Struct context = 4 [(.validate.rules) = { ...
setContext
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct context = 4 [(.validate.rules) = { ...
setPermission
(String value) string permission = 2 [(.validate.rules) = { ...
setPermissionBytes
(com.google.protobuf.ByteString value) string permission = 2 [(.validate.rules) = { ...
setResource
(ObjectReference value) .authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
setResource
(ObjectReference.Builder builderForValue) .authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ...
setSubject
(SubjectReference value) .authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
setSubject
(SubjectReference.Builder builderForValue) .authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ...
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<CheckBulkPermissionsRequestItem.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<CheckBulkPermissionsRequestItem.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<CheckBulkPermissionsRequestItem.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<CheckBulkPermissionsRequestItem.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<CheckBulkPermissionsRequestItem.Builder>
-
mergeFrom
public CheckBulkPermissionsRequestItem.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<CheckBulkPermissionsRequestItem.Builder>
- Throws:
IOException
-
hasResource
public boolean hasResource().authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
- Specified by:
hasResource
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
- Specified by:
getResource
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- The resource.
-
setResource
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
setResource
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
mergeResource
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
clearResource
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
getResourceBuilder
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
getResourceOrBuilder
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
- Specified by:
getResourceOrBuilder
in interfaceCheckBulkPermissionsRequestItemOrBuilder
-
getPermission
string permission = 2 [(.validate.rules) = { ... }
- Specified by:
getPermission
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- The permission.
-
getPermissionBytes
public com.google.protobuf.ByteString getPermissionBytes()string permission = 2 [(.validate.rules) = { ... }
- Specified by:
getPermissionBytes
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- The bytes for permission.
-
setPermission
string permission = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The permission to set.- Returns:
- This builder for chaining.
-
clearPermission
string permission = 2 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setPermissionBytes
public CheckBulkPermissionsRequestItem.Builder setPermissionBytes(com.google.protobuf.ByteString value) string permission = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for permission to set.- Returns:
- This builder for chaining.
-
hasSubject
public boolean hasSubject().authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
- Specified by:
hasSubject
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- Whether the subject field is set.
-
getSubject
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
- Specified by:
getSubject
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- The subject.
-
setSubject
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
-
setSubject
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
-
mergeSubject
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
-
clearSubject
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
-
getSubjectBuilder
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
-
getSubjectOrBuilder
.authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
- Specified by:
getSubjectOrBuilder
in interfaceCheckBulkPermissionsRequestItemOrBuilder
-
hasContext
public boolean hasContext().google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
- Specified by:
hasContext
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
public com.google.protobuf.Struct getContext().google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
- Specified by:
getContext
in interfaceCheckBulkPermissionsRequestItemOrBuilder
- Returns:
- The context.
-
setContext
.google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
-
setContext
public CheckBulkPermissionsRequestItem.Builder setContext(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
-
mergeContext
.google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
-
clearContext
.google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
-
getContextBuilder
public com.google.protobuf.Struct.Builder getContextBuilder().google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
-
getContextOrBuilder
public com.google.protobuf.StructOrBuilder getContextOrBuilder().google.protobuf.Struct context = 4 [(.validate.rules) = { ... }
- Specified by:
getContextOrBuilder
in interfaceCheckBulkPermissionsRequestItemOrBuilder
-