Class UserListResponse.User
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.UserListResponse.User
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UserListResponse.UserOrBuilder, Serializable
- Enclosing class:
UserListResponse
public static final class UserListResponse.User
extends com.google.protobuf.GeneratedMessage
implements UserListResponse.UserOrBuilder
Represents a user in the list with all their profile information.Protobuf type
soulfire.v1.UserListResponse.User- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a user in the list with all their profile information.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampTimestamp when the user account was created.com.google.protobuf.TimestampOrBuilderTimestamp when the user account was created.static UserListResponse.Userstatic final com.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.TimestampOrBuilderTimestamp of the user's last successful authentication.com.google.protobuf.TimestampMinimum issued-at timestamp for valid JWT tokens.com.google.protobuf.TimestampOrBuilderMinimum issued-at timestamp for valid JWT tokens.com.google.protobuf.Parser<UserListResponse.User> getRole()The role of the user (ADMIN or USER).intThe role of the user (ADMIN or USER).intcom.google.protobuf.TimestampTimestamp 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.inthashCode()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 booleannewBuilder(UserListResponse.User prototype) protected UserListResponse.User.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UserListResponse.UserparseDelimitedFrom(InputStream input) static UserListResponse.UserparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserListResponse.UserparseFrom(byte[] data) static UserListResponse.UserparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserListResponse.UserparseFrom(com.google.protobuf.ByteString data) static UserListResponse.UserparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserListResponse.UserparseFrom(com.google.protobuf.CodedInputStream input) static UserListResponse.UserparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserListResponse.UserparseFrom(InputStream input) static UserListResponse.UserparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserListResponse.UserparseFrom(ByteBuffer data) static UserListResponse.UserparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserListResponse.User> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
ROLE_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER- See Also:
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
UPDATED_AT_FIELD_NUMBER
public static final int UPDATED_AT_FIELD_NUMBER- See Also:
-
LAST_LOGIN_AT_FIELD_NUMBER
public static final int LAST_LOGIN_AT_FIELD_NUMBER- See Also:
-
MIN_ISSUED_AT_FIELD_NUMBER
public static final int MIN_ISSUED_AT_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
getRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 3;- Specified by:
getRolein interfaceUserListResponse.UserOrBuilder- Returns:
- The role.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UserListResponse.User parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserListResponse.User parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserListResponse.User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserListResponse.User parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserListResponse.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserListResponse.User parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UserListResponse.User parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UserListResponse.User parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UserListResponse.User parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UserListResponse.User parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserListResponse.User.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-