Class UserInfoResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserInfoResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<UserInfoResponse.Builder>
com.soulfiremc.grpc.generated.UserInfoResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UserInfoResponseOrBuilder, Cloneable
- Enclosing class:
UserInfoResponse
public static final class UserInfoResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UserInfoResponse.Builder>
implements UserInfoResponseOrBuilder
Response message containing detailed information about a specific user.Protobuf type
soulfire.v1.UserInfoResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Timestamp when the user account was created.The email address 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.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(UserInfoResponse 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.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<UserInfoResponse.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<UserInfoResponse.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<UserInfoResponse.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<UserInfoResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UserInfoResponse.Builder>
-
mergeFrom
public UserInfoResponse.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<UserInfoResponse.Builder>- Throws:
IOException
-
getUsername
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 1;- Specified by:
getUsernamein interfaceUserInfoResponseOrBuilder- 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 = 1;- Specified by:
getUsernameBytesin interfaceUserInfoResponseOrBuilder- Returns:
- The bytes for username.
-
setUsername
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 1;- 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 = 1;- Returns:
- This builder for chaining.
-
setUsernameBytes
The username of the user (3-32 lowercase alphanumeric characters with dashes allowed).
string username = 1;- 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 = 2;- Specified by:
getRoleValuein interfaceUserInfoResponseOrBuilder- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 2;- 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 = 2;- Specified by:
getRolein interfaceUserInfoResponseOrBuilder- Returns:
- The role.
-
setRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 2;- Parameters:
value- The role to set.- Returns:
- This builder for chaining.
-
clearRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 2;- Returns:
- This builder for chaining.
-
getEmail
The email address of the user.
string email = 3;- Specified by:
getEmailin interfaceUserInfoResponseOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()The email address of the user.
string email = 3;- Specified by:
getEmailBytesin interfaceUserInfoResponseOrBuilder- Returns:
- The bytes for email.
-
setEmail
The email address of the user.
string email = 3;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
The email address of the user.
string email = 3;- Returns:
- This builder for chaining.
-
setEmailBytes
The email address of the user.
string email = 3;- 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 = 4;- Specified by:
hasCreatedAtin interfaceUserInfoResponseOrBuilder- 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 = 4;- Specified by:
getCreatedAtin interfaceUserInfoResponseOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 4; -
setCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 4; -
mergeCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 4; -
clearCreatedAt
Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 4; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 4; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()Timestamp when the user account was created.
.google.protobuf.Timestamp created_at = 4;- Specified by:
getCreatedAtOrBuilderin interfaceUserInfoResponseOrBuilder
-
hasUpdatedAt
public boolean hasUpdatedAt()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5;- Specified by:
hasUpdatedAtin interfaceUserInfoResponseOrBuilder- 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 = 5;- Specified by:
getUpdatedAtin interfaceUserInfoResponseOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5; -
setUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5; -
mergeUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5; -
clearUpdatedAt
Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5; -
getUpdatedAtBuilder
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5; -
getUpdatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()Timestamp when the user account was last updated.
.google.protobuf.Timestamp updated_at = 5;- Specified by:
getUpdatedAtOrBuilderin interfaceUserInfoResponseOrBuilder
-
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 = 6;- Specified by:
hasLastLoginAtin interfaceUserInfoResponseOrBuilder- 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 = 6;- Specified by:
getLastLoginAtin interfaceUserInfoResponseOrBuilder- 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 = 6; -
setLastLoginAt
public UserInfoResponse.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 = 6; -
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 = 6; -
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 = 6; -
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 = 6; -
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 = 6;- Specified by:
getLastLoginAtOrBuilderin interfaceUserInfoResponseOrBuilder
-
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 = 7;- Specified by:
hasMinIssuedAtin interfaceUserInfoResponseOrBuilder- 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 = 7;- Specified by:
getMinIssuedAtin interfaceUserInfoResponseOrBuilder- 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 = 7; -
setMinIssuedAt
public UserInfoResponse.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 = 7; -
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 = 7; -
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 = 7; -
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 = 7; -
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 = 7;- Specified by:
getMinIssuedAtOrBuilderin interfaceUserInfoResponseOrBuilder
-