Interface UserCreateRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserCreateRequest, UserCreateRequest.Builder
@Generated
public interface UserCreateRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()The email address for the user.com.google.protobuf.ByteStringThe email address for the user.getRole()The role to assign to the user.intThe role to assign to the user.The username for the new user.com.google.protobuf.ByteStringThe username for the new user.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUsername
String getUsername()The username for the new user. Must be lowercase, between 3 and 32 characters. Must begin with an alphanumeric character, followed by alphanumeric characters or dashes, and end with an alphanumeric character. Must be unique across all users.
string username = 1;- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()The username for the new user. Must be lowercase, between 3 and 32 characters. Must begin with an alphanumeric character, followed by alphanumeric characters or dashes, and end with an alphanumeric character. Must be unique across all users.
string username = 1;- Returns:
- The bytes for username.
-
getRoleValue
int getRoleValue()The role to assign to the user. Determines what permissions the user has. ADMIN users have all permissions, while USER role has limited permissions controlled by server settings.
.soulfire.v1.UserRole role = 2;- Returns:
- The enum numeric value on the wire for role.
-
getRole
UserRole getRole()The role to assign to the user. Determines what permissions the user has. ADMIN users have all permissions, while USER role has limited permissions controlled by server settings.
.soulfire.v1.UserRole role = 2;- Returns:
- The role.
-
getEmail
String getEmail()The email address for the user. Must be a valid email format and unique across all users. Maximum length is 255 characters.
string email = 3;- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()The email address for the user. Must be a valid email format and unique across all users. Maximum length is 255 characters.
string email = 3;- Returns:
- The bytes for email.
-