Class InstanceRemoveAccountsBatchRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
com.soulfiremc.grpc.generated.InstanceRemoveAccountsBatchRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceRemoveAccountsBatchRequestOrBuilder, Cloneable
Enclosing class:
InstanceRemoveAccountsBatchRequest

public static final class InstanceRemoveAccountsBatchRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder> implements InstanceRemoveAccountsBatchRequestOrBuilder
Request to remove multiple Minecraft accounts from an instance in a single operation.
More efficient than multiple individual RemoveInstanceAccount calls.
Protobuf type soulfire.v1.InstanceRemoveAccountsBatchRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
    • getDefaultInstanceForType

      public InstanceRemoveAccountsBatchRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InstanceRemoveAccountsBatchRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InstanceRemoveAccountsBatchRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
    • mergeFrom

      public InstanceRemoveAccountsBatchRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceRemoveAccountsBatchRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      The unique identifier (UUID) of the instance.
      
      string id = 1;
      Specified by:
      getId in interface InstanceRemoveAccountsBatchRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      The unique identifier (UUID) of the instance.
      
      string id = 1;
      Specified by:
      getIdBytes in interface InstanceRemoveAccountsBatchRequestOrBuilder
      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

      public InstanceRemoveAccountsBatchRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
      The unique identifier (UUID) of the instance.
      
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getProfileIdsList

      public com.google.protobuf.ProtocolStringList getProfileIdsList()
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Specified by:
      getProfileIdsList in interface InstanceRemoveAccountsBatchRequestOrBuilder
      Returns:
      A list containing the profileIds.
    • getProfileIdsCount

      public int getProfileIdsCount()
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Specified by:
      getProfileIdsCount in interface InstanceRemoveAccountsBatchRequestOrBuilder
      Returns:
      The count of profileIds.
    • getProfileIds

      public String getProfileIds(int index)
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Specified by:
      getProfileIds in interface InstanceRemoveAccountsBatchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The profileIds at the given index.
    • getProfileIdsBytes

      public com.google.protobuf.ByteString getProfileIdsBytes(int index)
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Specified by:
      getProfileIdsBytes in interface InstanceRemoveAccountsBatchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the profileIds at the given index.
    • setProfileIds

      public InstanceRemoveAccountsBatchRequest.Builder setProfileIds(int index, String value)
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Parameters:
      index - The index to set the value at.
      value - The profileIds to set.
      Returns:
      This builder for chaining.
    • addProfileIds

      public InstanceRemoveAccountsBatchRequest.Builder addProfileIds(String value)
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Parameters:
      value - The profileIds to add.
      Returns:
      This builder for chaining.
    • addAllProfileIds

      public InstanceRemoveAccountsBatchRequest.Builder addAllProfileIds(Iterable<String> values)
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Parameters:
      values - The profileIds to add.
      Returns:
      This builder for chaining.
    • clearProfileIds

      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Returns:
      This builder for chaining.
    • addProfileIdsBytes

      public InstanceRemoveAccountsBatchRequest.Builder addProfileIdsBytes(com.google.protobuf.ByteString value)
      List of profile_ids (UUIDs) of accounts to remove.
      
      repeated string profile_ids = 2;
      Parameters:
      value - The bytes of the profileIds to add.
      Returns:
      This builder for chaining.