Class InstanceRemoveProxiesBatchRequest.Builder

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

public static final class InstanceRemoveProxiesBatchRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceRemoveProxiesBatchRequest.Builder> implements InstanceRemoveProxiesBatchRequestOrBuilder
Request to remove multiple proxies from an instance by their addresses.
Protobuf type soulfire.v1.InstanceRemoveProxiesBatchRequest
  • 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<InstanceRemoveProxiesBatchRequest.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<InstanceRemoveProxiesBatchRequest.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<InstanceRemoveProxiesBatchRequest.Builder>
    • getDefaultInstanceForType

      public InstanceRemoveProxiesBatchRequest 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 InstanceRemoveProxiesBatchRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InstanceRemoveProxiesBatchRequest.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<InstanceRemoveProxiesBatchRequest.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<InstanceRemoveProxiesBatchRequest.Builder>
    • mergeFrom

      public InstanceRemoveProxiesBatchRequest.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<InstanceRemoveProxiesBatchRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      The unique identifier (UUID) of the instance.
      
      string id = 1;
      Specified by:
      getId in interface InstanceRemoveProxiesBatchRequestOrBuilder
      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 InstanceRemoveProxiesBatchRequestOrBuilder
      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 InstanceRemoveProxiesBatchRequest.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.
    • getAddressesList

      public com.google.protobuf.ProtocolStringList getAddressesList()
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Specified by:
      getAddressesList in interface InstanceRemoveProxiesBatchRequestOrBuilder
      Returns:
      A list containing the addresses.
    • getAddressesCount

      public int getAddressesCount()
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Specified by:
      getAddressesCount in interface InstanceRemoveProxiesBatchRequestOrBuilder
      Returns:
      The count of addresses.
    • getAddresses

      public String getAddresses(int index)
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Specified by:
      getAddresses in interface InstanceRemoveProxiesBatchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The addresses at the given index.
    • getAddressesBytes

      public com.google.protobuf.ByteString getAddressesBytes(int index)
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Specified by:
      getAddressesBytes in interface InstanceRemoveProxiesBatchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the addresses at the given index.
    • setAddresses

      public InstanceRemoveProxiesBatchRequest.Builder setAddresses(int index, String value)
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Parameters:
      index - The index to set the value at.
      value - The addresses to set.
      Returns:
      This builder for chaining.
    • addAddresses

      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Parameters:
      value - The addresses to add.
      Returns:
      This builder for chaining.
    • addAllAddresses

      public InstanceRemoveProxiesBatchRequest.Builder addAllAddresses(Iterable<String> values)
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Parameters:
      values - The addresses to add.
      Returns:
      This builder for chaining.
    • clearAddresses

      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Returns:
      This builder for chaining.
    • addAddressesBytes

      public InstanceRemoveProxiesBatchRequest.Builder addAddressesBytes(com.google.protobuf.ByteString value)
      List of proxy addresses to remove (in serialized format, e.g., "host:port").
      Proxies matching these addresses will be removed.
      
      repeated string addresses = 2;
      Parameters:
      value - The bytes of the addresses to add.
      Returns:
      This builder for chaining.