Interface UpdateUserRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateUserRequest, UpdateUserRequest.Builder
@Generated
public interface UpdateUserRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()The new email address for the user.com.google.protobuf.ByteStringThe new email address for the user.getId()The unique identifier (UUID) of the user to update.com.google.protobuf.ByteStringThe unique identifier (UUID) of the user to update.getRole()The new role to assign to the user.intThe new role to assign to the user.The new username for the user.com.google.protobuf.ByteStringThe new username for the 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
-
getId
String getId()The unique identifier (UUID) of the user to update. Cannot be the ID of the requesting user (cannot update self via this method). Cannot be the root user ID (00000000-0000-0000-0000-000000000000).
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The unique identifier (UUID) of the user to update. Cannot be the ID of the requesting user (cannot update self via this method). Cannot be the root user ID (00000000-0000-0000-0000-000000000000).
string id = 1;- Returns:
- The bytes for id.
-
getUsername
String getUsername()The new username for the 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 = 2;- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()The new username for the 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 = 2;- Returns:
- The bytes for username.
-
getRoleValue
int getRoleValue()The new role to assign to the user. ADMIN users have all permissions, while USER role has limited permissions.
.soulfire.v1.UserRole role = 3;- Returns:
- The enum numeric value on the wire for role.
-
getRole
UserRole getRole()The new role to assign to the user. ADMIN users have all permissions, while USER role has limited permissions.
.soulfire.v1.UserRole role = 3;- Returns:
- The role.
-
getEmail
String getEmail()The new email address for the user. Must be a valid email format and unique across all users. Maximum length is 255 characters.
string email = 4;- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()The new email address for the user. Must be a valid email format and unique across all users. Maximum length is 255 characters.
string email = 4;- Returns:
- The bytes for email.
-