Package com.authzed.api.v1
Class ExperimentalDependentRelationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExperimentalDependentRelationsRequest.Builder>
com.authzed.api.v1.ExperimentalDependentRelationsRequest.Builder
- All Implemented Interfaces:
ExperimentalDependentRelationsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExperimentalDependentRelationsRequest
public static final class ExperimentalDependentRelationsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExperimentalDependentRelationsRequest.Builder>
implements ExperimentalDependentRelationsRequestOrBuilder
Protobuf type
authzed.api.v1.ExperimentalDependentRelationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.authzed.api.v1.Consistency consistency = 1;
string definition_name = 2;
string permission_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
string permission_name = 3;
com.google.protobuf.ByteString
string permission_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;
setPermissionName
(String value) string permission_name = 3;
setPermissionNameBytes
(com.google.protobuf.ByteString value) string permission_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<ExperimentalDependentRelationsRequest.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<ExperimentalDependentRelationsRequest.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<ExperimentalDependentRelationsRequest.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<ExperimentalDependentRelationsRequest.Builder>
-
mergeFrom
public ExperimentalDependentRelationsRequest.Builder mergeFrom(ExperimentalDependentRelationsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ExperimentalDependentRelationsRequest.Builder>
-
mergeFrom
public ExperimentalDependentRelationsRequest.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<ExperimentalDependentRelationsRequest.Builder>
- Throws:
IOException
-
hasConsistency
public boolean hasConsistency().authzed.api.v1.Consistency consistency = 1;
- Specified by:
hasConsistency
in interfaceExperimentalDependentRelationsRequestOrBuilder
- Returns:
- Whether the consistency field is set.
-
getConsistency
.authzed.api.v1.Consistency consistency = 1;
- Specified by:
getConsistency
in interfaceExperimentalDependentRelationsRequestOrBuilder
- Returns:
- The consistency.
-
setConsistency
.authzed.api.v1.Consistency consistency = 1;
-
setConsistency
public ExperimentalDependentRelationsRequest.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 interfaceExperimentalDependentRelationsRequestOrBuilder
-
getDefinitionName
string definition_name = 2;
- Specified by:
getDefinitionName
in interfaceExperimentalDependentRelationsRequestOrBuilder
- Returns:
- The definitionName.
-
getDefinitionNameBytes
public com.google.protobuf.ByteString getDefinitionNameBytes()string definition_name = 2;
- Specified by:
getDefinitionNameBytes
in interfaceExperimentalDependentRelationsRequestOrBuilder
- 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 ExperimentalDependentRelationsRequest.Builder setDefinitionNameBytes(com.google.protobuf.ByteString value) string definition_name = 2;
- Parameters:
value
- The bytes for definitionName to set.- Returns:
- This builder for chaining.
-
getPermissionName
string permission_name = 3;
- Specified by:
getPermissionName
in interfaceExperimentalDependentRelationsRequestOrBuilder
- Returns:
- The permissionName.
-
getPermissionNameBytes
public com.google.protobuf.ByteString getPermissionNameBytes()string permission_name = 3;
- Specified by:
getPermissionNameBytes
in interfaceExperimentalDependentRelationsRequestOrBuilder
- Returns:
- The bytes for permissionName.
-
setPermissionName
string permission_name = 3;
- Parameters:
value
- The permissionName to set.- Returns:
- This builder for chaining.
-
clearPermissionName
string permission_name = 3;
- Returns:
- This builder for chaining.
-
setPermissionNameBytes
public ExperimentalDependentRelationsRequest.Builder setPermissionNameBytes(com.google.protobuf.ByteString value) string permission_name = 3;
- Parameters:
value
- The bytes for permissionName to set.- Returns:
- This builder for chaining.
-