Class CredentialsAuthRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CredentialsAuthRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<CredentialsAuthRequest.Builder>
com.soulfiremc.grpc.generated.CredentialsAuthRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CredentialsAuthRequestOrBuilder, Cloneable
- Enclosing class:
CredentialsAuthRequest
public static final class CredentialsAuthRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CredentialsAuthRequest.Builder>
implements CredentialsAuthRequestOrBuilder
Request message for credentials-based Minecraft account authentication. Supports bulk authentication of multiple accounts in a single request.Protobuf type
soulfire.v1.CredentialsAuthRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllPayload(Iterable<String> values) List of authentication credentials/data strings.addPayload(String value) List of authentication credentials/data strings.addPayloadBytes(com.google.protobuf.ByteString value) List of authentication credentials/data strings.build()clear()The UUID of the SoulFire instance to authenticate accounts for.List of authentication credentials/data strings.The authentication service type to use.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe UUID of the SoulFire instance to authenticate accounts for.com.google.protobuf.ByteStringThe UUID of the SoulFire instance to authenticate accounts for.getPayload(int index) List of authentication credentials/data strings.com.google.protobuf.ByteStringgetPayloadBytes(int index) List of authentication credentials/data strings.intList of authentication credentials/data strings.com.google.protobuf.ProtocolStringListList of authentication credentials/data strings.The authentication service type to use.intThe authentication service type to use.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CredentialsAuthRequest other) setInstanceId(String value) The UUID of the SoulFire instance to authenticate accounts for.setInstanceIdBytes(com.google.protobuf.ByteString value) The UUID of the SoulFire instance to authenticate accounts for.setPayload(int index, String value) List of authentication credentials/data strings.setService(AccountTypeCredentials value) The authentication service type to use.setServiceValue(int value) The authentication service type to use.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<CredentialsAuthRequest.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<CredentialsAuthRequest.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<CredentialsAuthRequest.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<CredentialsAuthRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CredentialsAuthRequest.Builder>
-
mergeFrom
public CredentialsAuthRequest.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<CredentialsAuthRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance to authenticate accounts for. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceCredentialsAuthRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The UUID of the SoulFire instance to authenticate accounts for. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceCredentialsAuthRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The UUID of the SoulFire instance to authenticate accounts for. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The UUID of the SoulFire instance to authenticate accounts for. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The UUID of the SoulFire instance to authenticate accounts for. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getServiceValue
public int getServiceValue()The authentication service type to use. Determines how the payload strings are interpreted: - MICROSOFT_JAVA_CREDENTIALS: Payload format is "email:password" - MICROSOFT_BEDROCK_CREDENTIALS: Payload format is "email:password" - OFFLINE: Payload is the username to use (no authentication performed) - MICROSOFT_JAVA_REFRESH_TOKEN: Payload is a Microsoft refresh token
.soulfire.v1.AccountTypeCredentials service = 2;- Specified by:
getServiceValuein interfaceCredentialsAuthRequestOrBuilder- Returns:
- The enum numeric value on the wire for service.
-
setServiceValue
The authentication service type to use. Determines how the payload strings are interpreted: - MICROSOFT_JAVA_CREDENTIALS: Payload format is "email:password" - MICROSOFT_BEDROCK_CREDENTIALS: Payload format is "email:password" - OFFLINE: Payload is the username to use (no authentication performed) - MICROSOFT_JAVA_REFRESH_TOKEN: Payload is a Microsoft refresh token
.soulfire.v1.AccountTypeCredentials service = 2;- Parameters:
value- The enum numeric value on the wire for service to set.- Returns:
- This builder for chaining.
-
getService
The authentication service type to use. Determines how the payload strings are interpreted: - MICROSOFT_JAVA_CREDENTIALS: Payload format is "email:password" - MICROSOFT_BEDROCK_CREDENTIALS: Payload format is "email:password" - OFFLINE: Payload is the username to use (no authentication performed) - MICROSOFT_JAVA_REFRESH_TOKEN: Payload is a Microsoft refresh token
.soulfire.v1.AccountTypeCredentials service = 2;- Specified by:
getServicein interfaceCredentialsAuthRequestOrBuilder- Returns:
- The service.
-
setService
The authentication service type to use. Determines how the payload strings are interpreted: - MICROSOFT_JAVA_CREDENTIALS: Payload format is "email:password" - MICROSOFT_BEDROCK_CREDENTIALS: Payload format is "email:password" - OFFLINE: Payload is the username to use (no authentication performed) - MICROSOFT_JAVA_REFRESH_TOKEN: Payload is a Microsoft refresh token
.soulfire.v1.AccountTypeCredentials service = 2;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
The authentication service type to use. Determines how the payload strings are interpreted: - MICROSOFT_JAVA_CREDENTIALS: Payload format is "email:password" - MICROSOFT_BEDROCK_CREDENTIALS: Payload format is "email:password" - OFFLINE: Payload is the username to use (no authentication performed) - MICROSOFT_JAVA_REFRESH_TOKEN: Payload is a Microsoft refresh token
.soulfire.v1.AccountTypeCredentials service = 2;- Returns:
- This builder for chaining.
-
getPayloadList
public com.google.protobuf.ProtocolStringList getPayloadList()List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Specified by:
getPayloadListin interfaceCredentialsAuthRequestOrBuilder- Returns:
- A list containing the payload.
-
getPayloadCount
public int getPayloadCount()List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Specified by:
getPayloadCountin interfaceCredentialsAuthRequestOrBuilder- Returns:
- The count of payload.
-
getPayload
List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Specified by:
getPayloadin interfaceCredentialsAuthRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The payload at the given index.
-
getPayloadBytes
public com.google.protobuf.ByteString getPayloadBytes(int index) List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Specified by:
getPayloadBytesin interfaceCredentialsAuthRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the payload at the given index.
-
setPayload
List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Parameters:
index- The index to set the value at.value- The payload to set.- Returns:
- This builder for chaining.
-
addPayload
List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Parameters:
value- The payload to add.- Returns:
- This builder for chaining.
-
addAllPayload
List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Parameters:
values- The payload to add.- Returns:
- This builder for chaining.
-
clearPayload
List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Returns:
- This builder for chaining.
-
addPayloadBytes
List of authentication credentials/data strings. Each string is processed according to the service type. Multiple payloads are authenticated concurrently (controlled by ACCOUNT_IMPORT_CONCURRENCY instance setting).
repeated string payload = 3;- Parameters:
value- The bytes of the payload to add.- Returns:
- This builder for chaining.
-