Class UserListResponse.User.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserListResponse.User.Builder>
com.google.protobuf.GeneratedMessage.Builder<UserListResponse.User.Builder>
com.soulfiremc.grpc.generated.UserListResponse.User.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UserListResponse.UserOrBuilder, Cloneable
- Enclosing class:
UserListResponse.User
public static final class UserListResponse.User.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UserListResponse.User.Builder>
implements UserListResponse.UserOrBuilder
Represents a user in the list with all their profile information.Protobuf type
soulfire.v1.UserListResponse.User-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Timestamp when the user account was created.The email address of the user.clearId()The unique identifier (UUID) of the user.Timestamp of the user's last successful authentication.Minimum issued-at timestamp for valid JWT tokens.The role of the user (ADMIN or USER).Timestamp when the user account was last updated.The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).com.google.protobuf.TimestampTimestamp when the user account was created.com.google.protobuf.Timestamp.BuilderTimestamp when the user account was created.com.google.protobuf.TimestampOrBuilderTimestamp when the user account was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEmail()The email address of the user.com.google.protobuf.ByteStringThe email address of the user.getId()The unique identifier (UUID) of the user.com.google.protobuf.ByteStringThe unique identifier (UUID) of the user.com.google.protobuf.TimestampTimestamp of the user's last successful authentication.com.google.protobuf.Timestamp.BuilderTimestamp of the user's last successful authentication.com.google.protobuf.TimestampOrBuilderTimestamp of the user's last successful authentication.com.google.protobuf.TimestampMinimum issued-at timestamp for valid JWT tokens.com.google.protobuf.Timestamp.BuilderMinimum issued-at timestamp for valid JWT tokens.com.google.protobuf.TimestampOrBuilderMinimum issued-at timestamp for valid JWT tokens.getRole()The role of the user (ADMIN or USER).intThe role of the user (ADMIN or USER).com.google.protobuf.TimestampTimestamp when the user account was last updated.com.google.protobuf.Timestamp.BuilderTimestamp when the user account was last updated.com.google.protobuf.TimestampOrBuilderTimestamp when the user account was last updated.The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).com.google.protobuf.ByteStringThe username of the user (3-32 lowercase alphanumeric characters with dashes allowed).booleanTimestamp when the user account was created.booleanTimestamp of the user's last successful authentication.booleanMinimum issued-at timestamp for valid JWT tokens.booleanTimestamp when the user account was last updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreatedAt(com.google.protobuf.Timestamp value) Timestamp when the user account was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UserListResponse.User other) mergeLastLoginAt(com.google.protobuf.Timestamp value) Timestamp of the user's last successful authentication.mergeMinIssuedAt(com.google.protobuf.Timestamp value) Minimum issued-at timestamp for valid JWT tokens.mergeUpdatedAt(com.google.protobuf.Timestamp value) Timestamp when the user account was last updated.setCreatedAt(com.google.protobuf.Timestamp value) Timestamp when the user account was created.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the user account was created.The email address of the user.setEmailBytes(com.google.protobuf.ByteString value) The email address of the user.The unique identifier (UUID) of the user.setIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the user.setLastLoginAt(com.google.protobuf.Timestamp value) Timestamp of the user's last successful authentication.setLastLoginAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp of the user's last successful authentication.setMinIssuedAt(com.google.protobuf.Timestamp value) Minimum issued-at timestamp for valid JWT tokens.setMinIssuedAt(com.google.protobuf.Timestamp.Builder builderForValue) Minimum issued-at timestamp for valid JWT tokens.The role of the user (ADMIN or USER).setRoleValue(int value) The role of the user (ADMIN or USER).setUpdatedAt(com.google.protobuf.Timestamp value) Timestamp when the user account was last updated.setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the user account was last updated.setUsername(String value) The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).setUsernameBytes(com.google.protobuf.ByteString value) The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UserListResponse.User.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UserListResponse.User.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UserListResponse.User.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserListResponse.User.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UserListResponse.User.Builder>
-
mergeFrom
public UserListResponse.User.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserListResponse.User.Builder>- Throws:
IOException
-
getId
The unique identifier (UUID) of the user.
string id = 1;- Specified by:
getIdin interfaceUserListResponse.UserOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique identifier (UUID) of the user.
string id = 1;- Specified by:
getIdBytesin interfaceUserListResponse.UserOrBuilder- Returns:
- The bytes for id.
-
setId
The unique identifier (UUID) of the user.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The unique identifier (UUID) of the user.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The unique identifier (UUID) of the user.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getUsername
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 2;- Specified by:
getUsernamein interfaceUserListResponse.UserOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 2;- Specified by:
getUsernameBytesin interfaceUserListResponse.UserOrBuilder- Returns:
- The bytes for username.
-
setUsername
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 2;- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 2;- Returns:
- This builder for chaining.
-
setUsernameBytes
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 2;- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-
getRoleValue
public int getRoleValue()The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 3;- Specified by:
getRoleValuein interfaceUserListResponse.UserOrBuilder- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 3;- Parameters:
value- The enum numeric value on the wire for role to set.- Returns:
- This builder for chaining.
-
getRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 3;- Specified by:
getRolein interfaceUserListResponse.UserOrBuilder- Returns:
- The role.
-
setRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 3;- Parameters:
value- The role to set.- Returns:
- This builder for chaining.
-
clearRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 3;- Returns:
- This builder for chaining.
-
getEmail
The email address of the user.
string email = 4;- Specified by:
getEmailin interfaceUserListResponse.UserOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()The email address of the user.
string email = 4;- Specified by:
getEmailBytesin interfaceUserListResponse.UserOrBuilder- Returns:
- The bytes for email.
-
setEmail
The email address of the user.
string email = 4;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
The email address of the user.
string email = 4;- Returns:
- This builder for chaining.
-
setEmailBytes
The email address of the user.
string email = 4;- Parameters:
value- The bytes for email to set.- Returns:
- This builder for chaining.
-
hasCreatedAt
public boolean hasCreatedAt()Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5;- Specified by:
hasCreatedAtin interfaceUserListResponse.UserOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5;- Specified by:
getCreatedAtin interfaceUserListResponse.UserOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5; -
setCreatedAt
public UserListResponse.User.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5; -
mergeCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5; -
clearCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 5;- Specified by:
getCreatedAtOrBuilderin interfaceUserListResponse.UserOrBuilder
-
hasUpdatedAt
public boolean hasUpdatedAt()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6;- Specified by:
hasUpdatedAtin interfaceUserListResponse.UserOrBuilder- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
public com.google.protobuf.Timestamp getUpdatedAt()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6;- Specified by:
getUpdatedAtin interfaceUserListResponse.UserOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6; -
setUpdatedAt
public UserListResponse.User.Builder setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6; -
mergeUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6; -
clearUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6; -
getUpdatedAtBuilder
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6; -
getUpdatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 6;- Specified by:
getUpdatedAtOrBuilderin interfaceUserListResponse.UserOrBuilder
-
hasLastLoginAt
public boolean hasLastLoginAt()Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7;- Specified by:
hasLastLoginAtin interfaceUserListResponse.UserOrBuilder- Returns:
- Whether the lastLoginAt field is set.
-
getLastLoginAt
public com.google.protobuf.Timestamp getLastLoginAt()Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7;- Specified by:
getLastLoginAtin interfaceUserListResponse.UserOrBuilder- Returns:
- The lastLoginAt.
-
setLastLoginAt
Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7; -
setLastLoginAt
public UserListResponse.User.Builder setLastLoginAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7; -
mergeLastLoginAt
Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7; -
clearLastLoginAt
Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7; -
getLastLoginAtBuilder
public com.google.protobuf.Timestamp.Builder getLastLoginAtBuilder()Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7; -
getLastLoginAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastLoginAtOrBuilder()Timestamp of the user's last successful authentication. Optional; may be absent if the user has never logged in.
optional .google.protobuf.Timestamp last_login_at = 7;- Specified by:
getLastLoginAtOrBuilderin interfaceUserListResponse.UserOrBuilder
-
hasMinIssuedAt
public boolean hasMinIssuedAt()Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8;- Specified by:
hasMinIssuedAtin interfaceUserListResponse.UserOrBuilder- Returns:
- Whether the minIssuedAt field is set.
-
getMinIssuedAt
public com.google.protobuf.Timestamp getMinIssuedAt()Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8;- Specified by:
getMinIssuedAtin interfaceUserListResponse.UserOrBuilder- Returns:
- The minIssuedAt.
-
setMinIssuedAt
Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8; -
setMinIssuedAt
public UserListResponse.User.Builder setMinIssuedAt(com.google.protobuf.Timestamp.Builder builderForValue) Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8; -
mergeMinIssuedAt
Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8; -
clearMinIssuedAt
Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8; -
getMinIssuedAtBuilder
public com.google.protobuf.Timestamp.Builder getMinIssuedAtBuilder()Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8; -
getMinIssuedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getMinIssuedAtOrBuilder()Minimum issued-at timestamp for valid JWT tokens. Tokens issued before this timestamp are considered invalid. Used to invalidate all sessions by updating this value.
.google.protobuf.Timestamp min_issued_at = 8;- Specified by:
getMinIssuedAtOrBuilderin interfaceUserListResponse.UserOrBuilder
-