Package io.etcd.jetcd.api
Interface AuthUserGrantRoleRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthUserGrantRoleRequest,AuthUserGrantRoleRequest.Builder
public interface AuthUserGrantRoleRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetRole()role is the name of the role to grant to the user.com.google.protobuf.ByteStringgetRoleBytes()role is the name of the role to grant to the user.java.lang.StringgetUser()user is the name of the user which should be granted a given role.com.google.protobuf.ByteStringgetUserBytes()user is the name of the user which should be granted a given role.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUser
java.lang.String getUser()
user is the name of the user which should be granted a given role.
string user = 1;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()
user is the name of the user which should be granted a given role.
string user = 1;- Returns:
- The bytes for user.
-
getRole
java.lang.String getRole()
role is the name of the role to grant to the user.
string role = 2;- Returns:
- The role.
-
getRoleBytes
com.google.protobuf.ByteString getRoleBytes()
role is the name of the role to grant to the user.
string role = 2;- Returns:
- The bytes for role.
-
-