Class CredentialsAuthResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CredentialsAuthResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<CredentialsAuthResponse.Builder>
com.soulfiremc.grpc.generated.CredentialsAuthResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CredentialsAuthResponseOrBuilder, Cloneable
- Enclosing class:
CredentialsAuthResponse
public static final class CredentialsAuthResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CredentialsAuthResponse.Builder>
implements CredentialsAuthResponseOrBuilder
Streaming response message for credentials-based authentication. Each message contains either a single authentication result or an end marker.Protobuf type
soulfire.v1.CredentialsAuthResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearEnd()End-of-stream marker indicating all authentications are complete.A single failed authentication result.A single successful authentication result.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnd()End-of-stream marker indicating all authentications are complete.End-of-stream marker indicating all authentications are complete.End-of-stream marker indicating all authentications are complete.A single failed authentication result.A single failed authentication result.A single failed authentication result.A single successful authentication result.A single successful authentication result.A single successful authentication result.booleanhasEnd()End-of-stream marker indicating all authentications are complete.booleanA single failed authentication result.booleanA single successful authentication result.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEnd(CredentialsAuthEnd value) End-of-stream marker indicating all authentications are complete.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CredentialsAuthResponse other) A single failed authentication result.A single successful authentication result.setEnd(CredentialsAuthEnd value) End-of-stream marker indicating all authentications are complete.setEnd(CredentialsAuthEnd.Builder builderForValue) End-of-stream marker indicating all authentications are complete.A single failed authentication result.setOneFailure(CredentialsAuthOneFailure.Builder builderForValue) A single failed authentication result.A single successful authentication result.setOneSuccess(CredentialsAuthOneSuccess.Builder builderForValue) A single successful authentication result.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<CredentialsAuthResponse.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<CredentialsAuthResponse.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<CredentialsAuthResponse.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<CredentialsAuthResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CredentialsAuthResponse.Builder>
-
mergeFrom
public CredentialsAuthResponse.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<CredentialsAuthResponse.Builder>- Throws:
IOException
-
getDataCase
- Specified by:
getDataCasein interfaceCredentialsAuthResponseOrBuilder
-
clearData
-
hasOneSuccess
public boolean hasOneSuccess()A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2;- Specified by:
hasOneSuccessin interfaceCredentialsAuthResponseOrBuilder- Returns:
- Whether the oneSuccess field is set.
-
getOneSuccess
A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2;- Specified by:
getOneSuccessin interfaceCredentialsAuthResponseOrBuilder- Returns:
- The oneSuccess.
-
setOneSuccess
A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2; -
setOneSuccess
public CredentialsAuthResponse.Builder setOneSuccess(CredentialsAuthOneSuccess.Builder builderForValue) A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2; -
mergeOneSuccess
A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2; -
clearOneSuccess
A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2; -
getOneSuccessBuilder
A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2; -
getOneSuccessOrBuilder
A single successful authentication result. Multiple of these will be streamed as each account authentication completes, allowing the client to process results incrementally.
.soulfire.v1.CredentialsAuthOneSuccess one_success = 2;- Specified by:
getOneSuccessOrBuilderin interfaceCredentialsAuthResponseOrBuilder
-
hasOneFailure
public boolean hasOneFailure()A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3;- Specified by:
hasOneFailurein interfaceCredentialsAuthResponseOrBuilder- Returns:
- Whether the oneFailure field is set.
-
getOneFailure
A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3;- Specified by:
getOneFailurein interfaceCredentialsAuthResponseOrBuilder- Returns:
- The oneFailure.
-
setOneFailure
A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3; -
setOneFailure
public CredentialsAuthResponse.Builder setOneFailure(CredentialsAuthOneFailure.Builder builderForValue) A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3; -
mergeOneFailure
A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3; -
clearOneFailure
A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3; -
getOneFailureBuilder
A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3; -
getOneFailureOrBuilder
A single failed authentication result. Streamed as each failed authentication completes. Errors are logged server-side (e.g., invalid credentials, network issues).
.soulfire.v1.CredentialsAuthOneFailure one_failure = 3;- Specified by:
getOneFailureOrBuilderin interfaceCredentialsAuthResponseOrBuilder
-
hasEnd
public boolean hasEnd()End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4;- Specified by:
hasEndin interfaceCredentialsAuthResponseOrBuilder- Returns:
- Whether the end field is set.
-
getEnd
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4;- Specified by:
getEndin interfaceCredentialsAuthResponseOrBuilder- Returns:
- The end.
-
setEnd
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4; -
setEnd
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4; -
mergeEnd
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4; -
clearEnd
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4; -
getEndBuilder
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4; -
getEndOrBuilder
End-of-stream marker indicating all authentications are complete. This is always the last message in the stream before it closes.
.soulfire.v1.CredentialsAuthEnd end = 4;- Specified by:
getEndOrBuilderin interfaceCredentialsAuthResponseOrBuilder
-