Package io.etcd.jetcd.api
Interface UserOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
User,User.Builder
public interface UserOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetName()bytes name = 1;com.google.protobuf.ByteStringgetPassword()bytes password = 2;java.lang.StringgetRoles(int index)repeated string roles = 3;com.google.protobuf.ByteStringgetRolesBytes(int index)repeated string roles = 3;intgetRolesCount()repeated string roles = 3;java.util.List<java.lang.String>getRolesList()repeated string roles = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
com.google.protobuf.ByteString getName()
bytes name = 1;- Returns:
- The name.
-
getPassword
com.google.protobuf.ByteString getPassword()
bytes password = 2;- Returns:
- The password.
-
getRolesList
java.util.List<java.lang.String> getRolesList()
repeated string roles = 3;- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()
repeated string roles = 3;- Returns:
- The count of roles.
-
getRoles
java.lang.String getRoles(int index)
repeated string roles = 3;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
com.google.protobuf.ByteString getRolesBytes(int index)
repeated string roles = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
-