Interface Listener.ConnectionBalanceConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Listener.ConnectionBalanceConfig
,Listener.ConnectionBalanceConfig.Builder
- Enclosing class:
- Listener
public static interface Listener.ConnectionBalanceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Listener.ConnectionBalanceConfig.BalanceTypeCase
getBalanceTypeCase()
Listener.ConnectionBalanceConfig.ExactBalance
getExactBalance()
If specified, the listener will use the exact connection balancer.Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder
getExactBalanceOrBuilder()
If specified, the listener will use the exact connection balancer.TypedExtensionConfig
getExtendBalance()
The listener will use the connection balancer according to ``type_url``.TypedExtensionConfigOrBuilder
getExtendBalanceOrBuilder()
The listener will use the connection balancer according to ``type_url``.boolean
hasExactBalance()
If specified, the listener will use the exact connection balancer.boolean
hasExtendBalance()
The listener will use the connection balancer according to ``type_url``.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExactBalance
boolean hasExactBalance()
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
- Returns:
- Whether the exactBalance field is set.
-
getExactBalance
Listener.ConnectionBalanceConfig.ExactBalance getExactBalance()
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
- Returns:
- The exactBalance.
-
getExactBalanceOrBuilder
Listener.ConnectionBalanceConfig.ExactBalanceOrBuilder getExactBalanceOrBuilder()
If specified, the listener will use the exact connection balancer.
.envoy.config.listener.v3.Listener.ConnectionBalanceConfig.ExactBalance exact_balance = 1;
-
hasExtendBalance
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;
- Returns:
- Whether the extendBalance field is set.
-
getExtendBalance
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;
- Returns:
- The extendBalance.
-
getExtendBalanceOrBuilder
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;
-
getBalanceTypeCase
Listener.ConnectionBalanceConfig.BalanceTypeCase getBalanceTypeCase()
-
-