io.etcd.jetcd.api.UserOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: auth.proto
// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:authpb.User)
com.google.protobuf.MessageOrBuilder {
/**
* bytes name = 1;
* @return The name.
*/
com.google.protobuf.ByteString getName();
/**
* bytes password = 2;
* @return The password.
*/
com.google.protobuf.ByteString getPassword();
/**
* repeated string roles = 3;
* @return A list containing the roles.
*/
java.util.List
getRolesList();
/**
* repeated string roles = 3;
* @return The count of roles.
*/
int getRolesCount();
/**
* repeated string roles = 3;
* @param index The index of the element to return.
* @return The roles at the given index.
*/
java.lang.String getRoles(int index);
/**
* repeated string roles = 3;
* @param index The index of the value to return.
* @return The bytes of the roles at the given index.
*/
com.google.protobuf.ByteString
getRolesBytes(int index);
}