Package io.etcd.jetcd.api
Interface AuthRoleGrantPermissionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthRoleGrantPermissionRequest,AuthRoleGrantPermissionRequest.Builder
public interface AuthRoleGrantPermissionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()name is the name of the role which will be granted the permission.com.google.protobuf.ByteStringgetNameBytes()name is the name of the role which will be granted the permission.PermissiongetPerm()perm is the permission to grant to the role.PermissionOrBuildergetPermOrBuilder()perm is the permission to grant to the role.booleanhasPerm()perm is the permission to grant to the role.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
name is the name of the role which will be granted the permission.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name is the name of the role which will be granted the permission.
string name = 1;- Returns:
- The bytes for name.
-
hasPerm
boolean hasPerm()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;- Returns:
- Whether the perm field is set.
-
getPerm
Permission getPerm()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;- Returns:
- The perm.
-
getPermOrBuilder
PermissionOrBuilder getPermOrBuilder()
perm is the permission to grant to the role.
.authpb.Permission perm = 2;
-
-