Class InstanceAddAccountsBatchRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceAddAccountsBatchRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceAddAccountsBatchRequest.Builder>
com.soulfiremc.grpc.generated.InstanceAddAccountsBatchRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceAddAccountsBatchRequestOrBuilder, Cloneable
- Enclosing class:
InstanceAddAccountsBatchRequest
public static final class InstanceAddAccountsBatchRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceAddAccountsBatchRequest.Builder>
implements InstanceAddAccountsBatchRequestOrBuilder
Request to add multiple Minecraft accounts to an instance in a single operation. More efficient than multiple individual AddInstanceAccount calls.Protobuf type
soulfire.v1.InstanceAddAccountsBatchRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAccounts(int index, MinecraftAccountProto value) List of accounts to add.addAccounts(int index, MinecraftAccountProto.Builder builderForValue) List of accounts to add.addAccounts(MinecraftAccountProto value) List of accounts to add.addAccounts(MinecraftAccountProto.Builder builderForValue) List of accounts to add.List of accounts to add.addAccountsBuilder(int index) List of accounts to add.addAllAccounts(Iterable<? extends MinecraftAccountProto> values) List of accounts to add.build()clear()List of accounts to add.clearId()The unique identifier (UUID) of the instance.getAccounts(int index) List of accounts to add.getAccountsBuilder(int index) List of accounts to add.List of accounts to add.intList of accounts to add.List of accounts to add.getAccountsOrBuilder(int index) List of accounts to add.List<? extends MinecraftAccountProtoOrBuilder> List of accounts to add.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The unique identifier (UUID) of the instance.com.google.protobuf.ByteStringThe unique identifier (UUID) of the instance.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAccounts(int index) List of accounts to add.setAccounts(int index, MinecraftAccountProto value) List of accounts to add.setAccounts(int index, MinecraftAccountProto.Builder builderForValue) List of accounts to add.The unique identifier (UUID) of the instance.setIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance.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<InstanceAddAccountsBatchRequest.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<InstanceAddAccountsBatchRequest.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<InstanceAddAccountsBatchRequest.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<InstanceAddAccountsBatchRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceAddAccountsBatchRequest.Builder>
-
mergeFrom
public InstanceAddAccountsBatchRequest.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<InstanceAddAccountsBatchRequest.Builder>- Throws:
IOException
-
getId
The unique identifier (UUID) of the instance.
string id = 1;- Specified by:
getIdin interfaceInstanceAddAccountsBatchRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique identifier (UUID) of the instance.
string id = 1;- Specified by:
getIdBytesin interfaceInstanceAddAccountsBatchRequestOrBuilder- Returns:
- The bytes for id.
-
setId
The unique identifier (UUID) of the instance.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The unique identifier (UUID) of the instance.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The unique identifier (UUID) of the instance.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getAccountsList
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2;- Specified by:
getAccountsListin interfaceInstanceAddAccountsBatchRequestOrBuilder
-
getAccountsCount
public int getAccountsCount()List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2;- Specified by:
getAccountsCountin interfaceInstanceAddAccountsBatchRequestOrBuilder
-
getAccounts
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2;- Specified by:
getAccountsin interfaceInstanceAddAccountsBatchRequestOrBuilder
-
setAccounts
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
setAccounts
public InstanceAddAccountsBatchRequest.Builder setAccounts(int index, MinecraftAccountProto.Builder builderForValue) List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
addAccounts
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
addAccounts
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
addAccounts
public InstanceAddAccountsBatchRequest.Builder addAccounts(MinecraftAccountProto.Builder builderForValue) List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
addAccounts
public InstanceAddAccountsBatchRequest.Builder addAccounts(int index, MinecraftAccountProto.Builder builderForValue) List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
addAllAccounts
public InstanceAddAccountsBatchRequest.Builder addAllAccounts(Iterable<? extends MinecraftAccountProto> values) List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
clearAccounts
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
removeAccounts
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
getAccountsBuilder
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
getAccountsOrBuilder
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2;- Specified by:
getAccountsOrBuilderin interfaceInstanceAddAccountsBatchRequestOrBuilder
-
getAccountsOrBuilderList
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2;- Specified by:
getAccountsOrBuilderListin interfaceInstanceAddAccountsBatchRequestOrBuilder
-
addAccountsBuilder
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
addAccountsBuilder
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2; -
getAccountsBuilderList
List of accounts to add. Each account's profile_id must be unique within the instance.
repeated .soulfire.v1.MinecraftAccountProto accounts = 2;
-