io.etcd.jetcd.api.AuthRoleGrantPermissionRequestOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;
public interface AuthRoleGrantPermissionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.AuthRoleGrantPermissionRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* name is the name of the role which will be granted the permission.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* name is the name of the role which will be granted the permission.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* perm is the permission to grant to the role.
*
*
* .authpb.Permission perm = 2;
* @return Whether the perm field is set.
*/
boolean hasPerm();
/**
*
* perm is the permission to grant to the role.
*
*
* .authpb.Permission perm = 2;
* @return The perm.
*/
io.etcd.jetcd.api.Permission getPerm();
/**
*
* perm is the permission to grant to the role.
*
*
* .authpb.Permission perm = 2;
*/
io.etcd.jetcd.api.PermissionOrBuilder getPermOrBuilder();
}