Class UserInfoResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.UserInfoResponse
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UserInfoResponseOrBuilder, Serializable
@Generated
public final class UserInfoResponse
extends com.google.protobuf.GeneratedMessage
implements UserInfoResponseOrBuilder
Response message containing detailed information about a specific user.Protobuf type
soulfire.v1.UserInfoResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse message containing detailed information about a specific user.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 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 UserInfoResponsestatic final com.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.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<UserInfoResponse> 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 booleanstatic UserInfoResponse.Builderstatic UserInfoResponse.BuildernewBuilder(UserInfoResponse prototype) protected UserInfoResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static UserInfoResponseparseDelimitedFrom(InputStream input) static UserInfoResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserInfoResponseparseFrom(byte[] data) static UserInfoResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserInfoResponseparseFrom(com.google.protobuf.ByteString data) static UserInfoResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserInfoResponseparseFrom(com.google.protobuf.CodedInputStream input) static UserInfoResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserInfoResponseparseFrom(InputStream input) static UserInfoResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserInfoResponseparseFrom(ByteBuffer data) static UserInfoResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserInfoResponse> 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
-
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
-
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.
-
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.
-
getRole
The role of the user (ADMIN or USER).
.soulfire.v1.UserRole role = 2;- Specified by:
getRolein interfaceUserInfoResponseOrBuilder- Returns:
- The role.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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 UserInfoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserInfoResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserInfoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserInfoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserInfoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UserInfoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UserInfoResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UserInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UserInfoResponse 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 UserInfoResponse.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
-