Class Listener.ConnectionBalanceConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.Builder>
io.envoyproxy.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Listener.ConnectionBalanceConfigOrBuilder, Cloneable
Enclosing class:
Listener.ConnectionBalanceConfig

public static final class Listener.ConnectionBalanceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Listener.ConnectionBalanceConfig.Builder> implements Listener.ConnectionBalanceConfigOrBuilder
Configuration for listener connection balancing.
Protobuf type envoy.config.listener.v3.Listener.ConnectionBalanceConfig
  • 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<Listener.ConnectionBalanceConfig.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<Listener.ConnectionBalanceConfig.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<Listener.ConnectionBalanceConfig.Builder>
    • getDefaultInstanceForType

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

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

      public Listener.ConnectionBalanceConfig.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<Listener.ConnectionBalanceConfig.Builder>
      Throws:
      IOException
    • getBalanceTypeCase

    • clearBalanceType

      public Listener.ConnectionBalanceConfig.Builder clearBalanceType()
    • hasExactBalance

      public boolean hasExactBalance()
      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
      Specified by:
      hasExactBalance in interface Listener.ConnectionBalanceConfigOrBuilder
      Returns:
      Whether the exactBalance field is set.
    • getExactBalance

      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
      Specified by:
      getExactBalance in interface Listener.ConnectionBalanceConfigOrBuilder
      Returns:
      The exactBalance.
    • setExactBalance

      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
    • setExactBalance

      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
    • mergeExactBalance

      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
    • clearExactBalance

      public Listener.ConnectionBalanceConfig.Builder clearExactBalance()
      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
    • getExactBalanceBuilder

      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
    • getExactBalanceOrBuilder

      public Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder getExactBalanceOrBuilder()
      If specified, the listener will use the exact connection balancer.
      
      .envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
      Specified by:
      getExactBalanceOrBuilder in interface Listener.ConnectionBalanceConfigOrBuilder
    • hasExtendBalance

      public boolean hasExtendBalance()
      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
      Specified by:
      hasExtendBalance in interface Listener.ConnectionBalanceConfigOrBuilder
      Returns:
      Whether the extendBalance field is set.
    • getExtendBalance

      public TypedExtensionConfig getExtendBalance()
      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
      Specified by:
      getExtendBalance in interface Listener.ConnectionBalanceConfigOrBuilder
      Returns:
      The extendBalance.
    • setExtendBalance

      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
    • setExtendBalance

      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
    • mergeExtendBalance

      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
    • clearExtendBalance

      public Listener.ConnectionBalanceConfig.Builder clearExtendBalance()
      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
    • getExtendBalanceBuilder

      public TypedExtensionConfig.Builder getExtendBalanceBuilder()
      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
    • getExtendBalanceOrBuilder

      public TypedExtensionConfigOrBuilder getExtendBalanceOrBuilder()
      The listener will use the connection balancer according to ``type_url``. If ``type_url`` is invalid,
      Envoy will not attempt to balance active connections between worker threads.
      [#extension-category: envoy.network.connection_balance]
      
      .envoy.config.core.v3.TypedExtensionConfig extend_balance = 2;
      Specified by:
      getExtendBalanceOrBuilder in interface Listener.ConnectionBalanceConfigOrBuilder