Class Cluster.MaglevLbConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
io.envoyproxy.envoy.config.cluster.v3.Cluster.MaglevLbConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cluster.MaglevLbConfigOrBuilder, Cloneable
Enclosing class:
Cluster.MaglevLbConfig

public static final class Cluster.MaglevLbConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder> implements Cluster.MaglevLbConfigOrBuilder
 Specific configuration for the :ref:`Maglev<arch_overview_load_balancing_types_maglev>`
 load balancing policy.
 
Protobuf type envoy.config.cluster.v3.Cluster.MaglevLbConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.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.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.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.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • getDefaultInstanceForType

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

      public Cluster.MaglevLbConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Cluster.MaglevLbConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • setField

      public Cluster.MaglevLbConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • clearField

      public Cluster.MaglevLbConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • clearOneof

      public Cluster.MaglevLbConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • setRepeatedField

      public Cluster.MaglevLbConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • addRepeatedField

      public Cluster.MaglevLbConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • mergeFrom

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

    • isInitialized

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

      public Cluster.MaglevLbConfig.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<Cluster.MaglevLbConfig.Builder>
      Throws:
      IOException
    • hasTableSize

      public boolean hasTableSize()
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      Specified by:
      hasTableSize in interface Cluster.MaglevLbConfigOrBuilder
      Returns:
      Whether the tableSize field is set.
    • getTableSize

      public com.google.protobuf.UInt64Value getTableSize()
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      Specified by:
      getTableSize in interface Cluster.MaglevLbConfigOrBuilder
      Returns:
      The tableSize.
    • setTableSize

      public Cluster.MaglevLbConfig.Builder setTableSize(com.google.protobuf.UInt64Value value)
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
    • setTableSize

      public Cluster.MaglevLbConfig.Builder setTableSize(com.google.protobuf.UInt64Value.Builder builderForValue)
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
    • mergeTableSize

      public Cluster.MaglevLbConfig.Builder mergeTableSize(com.google.protobuf.UInt64Value value)
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
    • clearTableSize

      public Cluster.MaglevLbConfig.Builder clearTableSize()
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
    • getTableSizeBuilder

      public com.google.protobuf.UInt64Value.Builder getTableSizeBuilder()
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
    • getTableSizeOrBuilder

      public com.google.protobuf.UInt64ValueOrBuilder getTableSizeOrBuilder()
       The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
       Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
       upstream as it was before. Increasing the table size reduces the amount of disruption.
       The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
       
      .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      Specified by:
      getTableSizeOrBuilder in interface Cluster.MaglevLbConfigOrBuilder
    • setUnknownFields

      public final Cluster.MaglevLbConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>
    • mergeUnknownFields

      public final Cluster.MaglevLbConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.MaglevLbConfig.Builder>