Package com.authzed.api.v1
Class ExperimentalComputablePermissionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExperimentalComputablePermissionsRequest.Builder>
com.authzed.api.v1.ExperimentalComputablePermissionsRequest.Builder
- All Implemented Interfaces:
ExperimentalComputablePermissionsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExperimentalComputablePermissionsRequest
public static final class ExperimentalComputablePermissionsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExperimentalComputablePermissionsRequest.Builder>
implements ExperimentalComputablePermissionsRequestOrBuilder
Protobuf type
authzed.api.v1.ExperimentalComputablePermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.authzed.api.v1.Consistency consistency = 1;
string definition_name = 2;
optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned.string relation_name = 3;
.authzed.api.v1.Consistency consistency = 1;
.authzed.api.v1.Consistency consistency = 1;
.authzed.api.v1.Consistency consistency = 1;
string definition_name = 2;
com.google.protobuf.ByteString
string definition_name = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned.com.google.protobuf.ByteString
optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned.string relation_name = 3;
com.google.protobuf.ByteString
string relation_name = 3;
boolean
.authzed.api.v1.Consistency consistency = 1;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeConsistency
(Consistency value) .authzed.api.v1.Consistency consistency = 1;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setConsistency
(Consistency value) .authzed.api.v1.Consistency consistency = 1;
setConsistency
(Consistency.Builder builderForValue) .authzed.api.v1.Consistency consistency = 1;
setDefinitionName
(String value) string definition_name = 2;
setDefinitionNameBytes
(com.google.protobuf.ByteString value) string definition_name = 2;
optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned.setOptionalDefinitionNameFilterBytes
(com.google.protobuf.ByteString value) optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned.setRelationName
(String value) string relation_name = 3;
setRelationNameBytes
(com.google.protobuf.ByteString value) string relation_name = 3;
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<ExperimentalComputablePermissionsRequest.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<ExperimentalComputablePermissionsRequest.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<ExperimentalComputablePermissionsRequest.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
public ExperimentalComputablePermissionsRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExperimentalComputablePermissionsRequest.Builder>
-
mergeFrom
public ExperimentalComputablePermissionsRequest.Builder mergeFrom(ExperimentalComputablePermissionsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ExperimentalComputablePermissionsRequest.Builder>
-
mergeFrom
public ExperimentalComputablePermissionsRequest.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<ExperimentalComputablePermissionsRequest.Builder>
- Throws:
IOException
-
hasConsistency
public boolean hasConsistency().authzed.api.v1.Consistency consistency = 1;
- Specified by:
hasConsistency
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- Whether the consistency field is set.
-
getConsistency
.authzed.api.v1.Consistency consistency = 1;
- Specified by:
getConsistency
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The consistency.
-
setConsistency
.authzed.api.v1.Consistency consistency = 1;
-
setConsistency
public ExperimentalComputablePermissionsRequest.Builder setConsistency(Consistency.Builder builderForValue) .authzed.api.v1.Consistency consistency = 1;
-
mergeConsistency
.authzed.api.v1.Consistency consistency = 1;
-
clearConsistency
.authzed.api.v1.Consistency consistency = 1;
-
getConsistencyBuilder
.authzed.api.v1.Consistency consistency = 1;
-
getConsistencyOrBuilder
.authzed.api.v1.Consistency consistency = 1;
- Specified by:
getConsistencyOrBuilder
in interfaceExperimentalComputablePermissionsRequestOrBuilder
-
getDefinitionName
string definition_name = 2;
- Specified by:
getDefinitionName
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The definitionName.
-
getDefinitionNameBytes
public com.google.protobuf.ByteString getDefinitionNameBytes()string definition_name = 2;
- Specified by:
getDefinitionNameBytes
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The bytes for definitionName.
-
setDefinitionName
string definition_name = 2;
- Parameters:
value
- The definitionName to set.- Returns:
- This builder for chaining.
-
clearDefinitionName
string definition_name = 2;
- Returns:
- This builder for chaining.
-
setDefinitionNameBytes
public ExperimentalComputablePermissionsRequest.Builder setDefinitionNameBytes(com.google.protobuf.ByteString value) string definition_name = 2;
- Parameters:
value
- The bytes for definitionName to set.- Returns:
- This builder for chaining.
-
getRelationName
string relation_name = 3;
- Specified by:
getRelationName
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The relationName.
-
getRelationNameBytes
public com.google.protobuf.ByteString getRelationNameBytes()string relation_name = 3;
- Specified by:
getRelationNameBytes
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The bytes for relationName.
-
setRelationName
string relation_name = 3;
- Parameters:
value
- The relationName to set.- Returns:
- This builder for chaining.
-
clearRelationName
string relation_name = 3;
- Returns:
- This builder for chaining.
-
setRelationNameBytes
public ExperimentalComputablePermissionsRequest.Builder setRelationNameBytes(com.google.protobuf.ByteString value) string relation_name = 3;
- Parameters:
value
- The bytes for relationName to set.- Returns:
- This builder for chaining.
-
getOptionalDefinitionNameFilter
optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned. If not specified, will be ignored.
string optional_definition_name_filter = 4;
- Specified by:
getOptionalDefinitionNameFilter
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The optionalDefinitionNameFilter.
-
getOptionalDefinitionNameFilterBytes
public com.google.protobuf.ByteString getOptionalDefinitionNameFilterBytes()optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned. If not specified, will be ignored.
string optional_definition_name_filter = 4;
- Specified by:
getOptionalDefinitionNameFilterBytes
in interfaceExperimentalComputablePermissionsRequestOrBuilder
- Returns:
- The bytes for optionalDefinitionNameFilter.
-
setOptionalDefinitionNameFilter
public ExperimentalComputablePermissionsRequest.Builder setOptionalDefinitionNameFilter(String value) optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned. If not specified, will be ignored.
string optional_definition_name_filter = 4;
- Parameters:
value
- The optionalDefinitionNameFilter to set.- Returns:
- This builder for chaining.
-
clearOptionalDefinitionNameFilter
optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned. If not specified, will be ignored.
string optional_definition_name_filter = 4;
- Returns:
- This builder for chaining.
-
setOptionalDefinitionNameFilterBytes
public ExperimentalComputablePermissionsRequest.Builder setOptionalDefinitionNameFilterBytes(com.google.protobuf.ByteString value) optional_definition_name_match is a prefix that is matched against the definition name(s) for the permissions returned. If not specified, will be ignored.
string optional_definition_name_filter = 4;
- Parameters:
value
- The bytes for optionalDefinitionNameFilter to set.- Returns:
- This builder for chaining.
-