public static final class AuthRoleGrantPermissionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder> implements AuthRoleGrantPermissionRequestOrBuilder
etcdserverpb.AuthRoleGrantPermissionRequest| Modifier and Type | Method and Description |
|---|---|
AuthRoleGrantPermissionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthRoleGrantPermissionRequest |
build() |
AuthRoleGrantPermissionRequest |
buildPartial() |
AuthRoleGrantPermissionRequest.Builder |
clear() |
AuthRoleGrantPermissionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AuthRoleGrantPermissionRequest.Builder |
clearName()
name is the name of the role which will be granted the permission.
|
AuthRoleGrantPermissionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AuthRoleGrantPermissionRequest.Builder |
clearPerm()
perm is the permission to grant to the role.
|
AuthRoleGrantPermissionRequest.Builder |
clone() |
AuthRoleGrantPermissionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
name is the name of the role which will be granted the permission.
|
com.google.protobuf.ByteString |
getNameBytes()
name is the name of the role which will be granted the permission.
|
Permission |
getPerm()
perm is the permission to grant to the role.
|
Permission.Builder |
getPermBuilder()
perm is the permission to grant to the role.
|
PermissionOrBuilder |
getPermOrBuilder()
perm is the permission to grant to the role.
|
boolean |
hasPerm()
perm is the permission to grant to the role.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthRoleGrantPermissionRequest.Builder |
mergeFrom(AuthRoleGrantPermissionRequest other) |
AuthRoleGrantPermissionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthRoleGrantPermissionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthRoleGrantPermissionRequest.Builder |
mergePerm(Permission value)
perm is the permission to grant to the role.
|
AuthRoleGrantPermissionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AuthRoleGrantPermissionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthRoleGrantPermissionRequest.Builder |
setName(String value)
name is the name of the role which will be granted the permission.
|
AuthRoleGrantPermissionRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
name is the name of the role which will be granted the permission.
|
AuthRoleGrantPermissionRequest.Builder |
setPerm(Permission.Builder builderForValue)
perm is the permission to grant to the role.
|
AuthRoleGrantPermissionRequest.Builder |
setPerm(Permission value)
perm is the permission to grant to the role.
|
AuthRoleGrantPermissionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AuthRoleGrantPermissionRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AuthRoleGrantPermissionRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AuthRoleGrantPermissionRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AuthRoleGrantPermissionRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder mergeFrom(AuthRoleGrantPermissionRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public AuthRoleGrantPermissionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthRoleGrantPermissionRequest.Builder>IOExceptionpublic String getName()
name is the name of the role which will be granted the permission.
string name = 1;getName in interface AuthRoleGrantPermissionRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
name is the name of the role which will be granted the permission.
string name = 1;getNameBytes in interface AuthRoleGrantPermissionRequestOrBuilderpublic AuthRoleGrantPermissionRequest.Builder setName(String value)
name is the name of the role which will be granted the permission.
string name = 1;value - The name to set.public AuthRoleGrantPermissionRequest.Builder clearName()
name is the name of the role which will be granted the permission.
string name = 1;public AuthRoleGrantPermissionRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
name is the name of the role which will be granted the permission.
string name = 1;value - The bytes for name to set.public boolean hasPerm()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;hasPerm in interface AuthRoleGrantPermissionRequestOrBuilderpublic Permission getPerm()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;getPerm in interface AuthRoleGrantPermissionRequestOrBuilderpublic AuthRoleGrantPermissionRequest.Builder setPerm(Permission value)
perm is the permission to grant to the role.
.authpb.Permission perm = 2;public AuthRoleGrantPermissionRequest.Builder setPerm(Permission.Builder builderForValue)
perm is the permission to grant to the role.
.authpb.Permission perm = 2;public AuthRoleGrantPermissionRequest.Builder mergePerm(Permission value)
perm is the permission to grant to the role.
.authpb.Permission perm = 2;public AuthRoleGrantPermissionRequest.Builder clearPerm()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;public Permission.Builder getPermBuilder()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;public PermissionOrBuilder getPermOrBuilder()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;getPermOrBuilder in interface AuthRoleGrantPermissionRequestOrBuilderpublic final AuthRoleGrantPermissionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>public final AuthRoleGrantPermissionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthRoleGrantPermissionRequest.Builder>Copyright © 2020. All rights reserved.