Class NextAuthFlowResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NextAuthFlowResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<NextAuthFlowResponse.Builder>
com.soulfiremc.grpc.generated.NextAuthFlowResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NextAuthFlowResponseOrBuilder, Cloneable
- Enclosing class:
NextAuthFlowResponse
public static final class NextAuthFlowResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NextAuthFlowResponse.Builder>
implements NextAuthFlowResponseOrBuilder
Response message representing the next step in the authentication flow. This is a polymorphic response that indicates what action should be taken next.Protobuf type
soulfire.v1.NextAuthFlowResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A unique token identifying this authentication flow session.Set when the client should prompt the user to enter the email verification code.Set when authentication has failed.Set when authentication is complete and successful.A unique token identifying this authentication flow session.com.google.protobuf.ByteStringA unique token identifying this authentication flow session.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSet when the client should prompt the user to enter the email verification code.Set when the client should prompt the user to enter the email verification code.Set when the client should prompt the user to enter the email verification code.Set when authentication has failed.Set when authentication has failed.Set when authentication has failed.Set when authentication is complete and successful.Set when authentication is complete and successful.Set when authentication is complete and successful.booleanSet when the client should prompt the user to enter the email verification code.booleanSet when authentication has failed.booleanSet when authentication is complete and successful.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanSet when the client should prompt the user to enter the email verification code.Set when authentication has failed.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NextAuthFlowResponse other) Set when authentication is complete and successful.setAuthFlowToken(String value) A unique token identifying this authentication flow session.setAuthFlowTokenBytes(com.google.protobuf.ByteString value) A unique token identifying this authentication flow session.Set when the client should prompt the user to enter the email verification code.setEmailCode(NextAuthFlowResponse.EmailCode.Builder builderForValue) Set when the client should prompt the user to enter the email verification code.Set when authentication has failed.setFailure(NextAuthFlowResponse.Failure.Builder builderForValue) Set when authentication has failed.Set when authentication is complete and successful.setSuccess(NextAuthFlowResponse.Success.Builder builderForValue) Set when authentication is complete and successful.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<NextAuthFlowResponse.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<NextAuthFlowResponse.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<NextAuthFlowResponse.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<NextAuthFlowResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NextAuthFlowResponse.Builder>
-
mergeFrom
public NextAuthFlowResponse.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<NextAuthFlowResponse.Builder>- Throws:
IOException
-
getNextCase
- Specified by:
getNextCasein interfaceNextAuthFlowResponseOrBuilder
-
clearNext
-
getAuthFlowToken
A unique token identifying this authentication flow session. This token must be included in subsequent requests (e.g., EmailCodeRequest) to continue the flow. The token is a UUID string and expires after 15 minutes of inactivity.
string auth_flow_token = 1;- Specified by:
getAuthFlowTokenin interfaceNextAuthFlowResponseOrBuilder- Returns:
- The authFlowToken.
-
getAuthFlowTokenBytes
public com.google.protobuf.ByteString getAuthFlowTokenBytes()A unique token identifying this authentication flow session. This token must be included in subsequent requests (e.g., EmailCodeRequest) to continue the flow. The token is a UUID string and expires after 15 minutes of inactivity.
string auth_flow_token = 1;- Specified by:
getAuthFlowTokenBytesin interfaceNextAuthFlowResponseOrBuilder- Returns:
- The bytes for authFlowToken.
-
setAuthFlowToken
A unique token identifying this authentication flow session. This token must be included in subsequent requests (e.g., EmailCodeRequest) to continue the flow. The token is a UUID string and expires after 15 minutes of inactivity.
string auth_flow_token = 1;- Parameters:
value- The authFlowToken to set.- Returns:
- This builder for chaining.
-
clearAuthFlowToken
A unique token identifying this authentication flow session. This token must be included in subsequent requests (e.g., EmailCodeRequest) to continue the flow. The token is a UUID string and expires after 15 minutes of inactivity.
string auth_flow_token = 1;- Returns:
- This builder for chaining.
-
setAuthFlowTokenBytes
A unique token identifying this authentication flow session. This token must be included in subsequent requests (e.g., EmailCodeRequest) to continue the flow. The token is a UUID string and expires after 15 minutes of inactivity.
string auth_flow_token = 1;- Parameters:
value- The bytes for authFlowToken to set.- Returns:
- This builder for chaining.
-
hasEmailCode
public boolean hasEmailCode()Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2;- Specified by:
hasEmailCodein interfaceNextAuthFlowResponseOrBuilder- Returns:
- Whether the emailCode field is set.
-
getEmailCode
Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2;- Specified by:
getEmailCodein interfaceNextAuthFlowResponseOrBuilder- Returns:
- The emailCode.
-
setEmailCode
Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2; -
setEmailCode
public NextAuthFlowResponse.Builder setEmailCode(NextAuthFlowResponse.EmailCode.Builder builderForValue) Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2; -
mergeEmailCode
Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2; -
clearEmailCode
Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2; -
getEmailCodeBuilder
Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2; -
getEmailCodeOrBuilder
Set when the client should prompt the user to enter the email verification code. This is the response after a successful Login RPC call.
.soulfire.v1.NextAuthFlowResponse.EmailCode email_code = 2;- Specified by:
getEmailCodeOrBuilderin interfaceNextAuthFlowResponseOrBuilder
-
hasSuccess
public boolean hasSuccess()Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3;- Specified by:
hasSuccessin interfaceNextAuthFlowResponseOrBuilder- Returns:
- Whether the success field is set.
-
getSuccess
Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3;- Specified by:
getSuccessin interfaceNextAuthFlowResponseOrBuilder- Returns:
- The success.
-
setSuccess
Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3; -
setSuccess
public NextAuthFlowResponse.Builder setSuccess(NextAuthFlowResponse.Success.Builder builderForValue) Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3; -
mergeSuccess
Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3; -
clearSuccess
Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3; -
getSuccessBuilder
Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3; -
getSuccessOrBuilder
Set when authentication is complete and successful. Contains the JWT token for authenticated API access.
.soulfire.v1.NextAuthFlowResponse.Success success = 3;- Specified by:
getSuccessOrBuilderin interfaceNextAuthFlowResponseOrBuilder
-
hasFailure
public boolean hasFailure()Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4;- Specified by:
hasFailurein interfaceNextAuthFlowResponseOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4;- Specified by:
getFailurein interfaceNextAuthFlowResponseOrBuilder- Returns:
- The failure.
-
setFailure
Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4; -
setFailure
public NextAuthFlowResponse.Builder setFailure(NextAuthFlowResponse.Failure.Builder builderForValue) Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4; -
mergeFailure
Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4; -
clearFailure
Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4; -
getFailureBuilder
Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4; -
getFailureOrBuilder
Set when authentication has failed. Contains the reason for the failure.
.soulfire.v1.NextAuthFlowResponse.Failure failure = 4;- Specified by:
getFailureOrBuilderin interfaceNextAuthFlowResponseOrBuilder
-