Package io.envoyproxy.envoy.api.v2
Class Cluster.CommonLbConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.Cluster.CommonLbConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cluster.CommonLbConfigOrBuilder,Serializable
- Enclosing class:
- Cluster
public static final class Cluster.CommonLbConfig extends com.google.protobuf.GeneratedMessageV3 implements Cluster.CommonLbConfigOrBuilder
Common configuration for all load balancer implementations. [#next-free-field: 8]
Protobuf typeenvoy.api.v2.Cluster.CommonLbConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCluster.CommonLbConfig.BuilderCommon configuration for all load balancer implementations.static classCluster.CommonLbConfig.ConsistentHashingLbConfigCommon Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)static interfaceCluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilderstatic classCluster.CommonLbConfig.LocalityConfigSpecifierCasestatic classCluster.CommonLbConfig.LocalityWeightedLbConfigConfiguration for :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>`static interfaceCluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilderstatic classCluster.CommonLbConfig.ZoneAwareLbConfigConfiguration for :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>`.static interfaceCluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLOSE_CONNECTIONS_ON_HOST_SET_CHANGE_FIELD_NUMBERstatic intCONSISTENT_HASHING_LB_CONFIG_FIELD_NUMBERstatic intHEALTHY_PANIC_THRESHOLD_FIELD_NUMBERstatic intIGNORE_NEW_HOSTS_UNTIL_FIRST_HC_FIELD_NUMBERstatic intLOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBERstatic intUPDATE_MERGE_WINDOW_FIELD_NUMBERstatic intZONE_AWARE_LB_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetCloseConnectionsOnHostSetChange()If set to `true`, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Cluster.CommonLbConfig.ConsistentHashingLbConfiggetConsistentHashingLbConfig()Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuildergetConsistentHashingLbConfigOrBuilder()Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)static Cluster.CommonLbConfiggetDefaultInstance()Cluster.CommonLbConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()PercentgetHealthyPanicThreshold()Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.PercentOrBuildergetHealthyPanicThresholdOrBuilder()Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.booleangetIgnoreNewHostsUntilFirstHc()If set to true, Envoy will not consider new hosts when computing load balancing weights until they have been health checked for the first time.Cluster.CommonLbConfig.LocalityConfigSpecifierCasegetLocalityConfigSpecifierCase()Cluster.CommonLbConfig.LocalityWeightedLbConfiggetLocalityWeightedLbConfig().envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuildergetLocalityWeightedLbConfigOrBuilder().envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;com.google.protobuf.Parser<Cluster.CommonLbConfig>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()com.google.protobuf.DurationgetUpdateMergeWindow()If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.com.google.protobuf.DurationOrBuildergetUpdateMergeWindowOrBuilder()If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.ZoneAwareLbConfiggetZoneAwareLbConfig().envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuildergetZoneAwareLbConfigOrBuilder().envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;booleanhasConsistentHashingLbConfig()Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)inthashCode()booleanhasHealthyPanicThreshold()Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.booleanhasLocalityWeightedLbConfig().envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;booleanhasUpdateMergeWindow()If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.booleanhasZoneAwareLbConfig().envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Cluster.CommonLbConfig.BuildernewBuilder()static Cluster.CommonLbConfig.BuildernewBuilder(Cluster.CommonLbConfig prototype)Cluster.CommonLbConfig.BuildernewBuilderForType()protected Cluster.CommonLbConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Cluster.CommonLbConfigparseDelimitedFrom(InputStream input)static Cluster.CommonLbConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.CommonLbConfigparseFrom(byte[] data)static Cluster.CommonLbConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.CommonLbConfigparseFrom(com.google.protobuf.ByteString data)static Cluster.CommonLbConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.CommonLbConfigparseFrom(com.google.protobuf.CodedInputStream input)static Cluster.CommonLbConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.CommonLbConfigparseFrom(InputStream input)static Cluster.CommonLbConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Cluster.CommonLbConfigparseFrom(ByteBuffer data)static Cluster.CommonLbConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Cluster.CommonLbConfig>parser()Cluster.CommonLbConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER
public static final int HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_AWARE_LB_CONFIG_FIELD_NUMBER
public static final int ZONE_AWARE_LB_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER
public static final int LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_MERGE_WINDOW_FIELD_NUMBER
public static final int UPDATE_MERGE_WINDOW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_NEW_HOSTS_UNTIL_FIRST_HC_FIELD_NUMBER
public static final int IGNORE_NEW_HOSTS_UNTIL_FIRST_HC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOSE_CONNECTIONS_ON_HOST_SET_CHANGE_FIELD_NUMBER
public static final int CLOSE_CONNECTIONS_ON_HOST_SET_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSISTENT_HASHING_LB_CONFIG_FIELD_NUMBER
public static final int CONSISTENT_HASHING_LB_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getLocalityConfigSpecifierCase
public Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
- Specified by:
getLocalityConfigSpecifierCasein interfaceCluster.CommonLbConfigOrBuilder
-
hasHealthyPanicThreshold
public boolean hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.Percent healthy_panic_threshold = 1;- Specified by:
hasHealthyPanicThresholdin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- Whether the healthyPanicThreshold field is set.
-
getHealthyPanicThreshold
public Percent getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.Percent healthy_panic_threshold = 1;- Specified by:
getHealthyPanicThresholdin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The healthyPanicThreshold.
-
getHealthyPanicThresholdOrBuilder
public PercentOrBuilder getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.Percent healthy_panic_threshold = 1;- Specified by:
getHealthyPanicThresholdOrBuilderin interfaceCluster.CommonLbConfigOrBuilder
-
hasZoneAwareLbConfig
public boolean hasZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;- Specified by:
hasZoneAwareLbConfigin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- Whether the zoneAwareLbConfig field is set.
-
getZoneAwareLbConfig
public Cluster.CommonLbConfig.ZoneAwareLbConfig getZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;- Specified by:
getZoneAwareLbConfigin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The zoneAwareLbConfig.
-
getZoneAwareLbConfigOrBuilder
public Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder getZoneAwareLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;- Specified by:
getZoneAwareLbConfigOrBuilderin interfaceCluster.CommonLbConfigOrBuilder
-
hasLocalityWeightedLbConfig
public boolean hasLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;- Specified by:
hasLocalityWeightedLbConfigin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- Whether the localityWeightedLbConfig field is set.
-
getLocalityWeightedLbConfig
public Cluster.CommonLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;- Specified by:
getLocalityWeightedLbConfigin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The localityWeightedLbConfig.
-
getLocalityWeightedLbConfigOrBuilder
public Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;- Specified by:
getLocalityWeightedLbConfigOrBuilderin interfaceCluster.CommonLbConfigOrBuilder
-
hasUpdateMergeWindow
public boolean hasUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;- Specified by:
hasUpdateMergeWindowin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- Whether the updateMergeWindow field is set.
-
getUpdateMergeWindow
public com.google.protobuf.Duration getUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;- Specified by:
getUpdateMergeWindowin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The updateMergeWindow.
-
getUpdateMergeWindowOrBuilder
public com.google.protobuf.DurationOrBuilder getUpdateMergeWindowOrBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;- Specified by:
getUpdateMergeWindowOrBuilderin interfaceCluster.CommonLbConfigOrBuilder
-
getIgnoreNewHostsUntilFirstHc
public boolean getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will not consider new hosts when computing load balancing weights until they have been health checked for the first time. This will have no effect unless active health checking is also configured. Ignoring a host means that for any load balancing calculations that adjust weights based on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and panic mode) Envoy will exclude these hosts in the denominator. For example, with hosts in two priorities P0 and P1, where P0 looks like {healthy, unhealthy (new), unhealthy (new)} and where P1 looks like {healthy, healthy} all traffic will still hit P0, as 1 / (3 - 2) = 1. Enabling this will allow scaling up the number of hosts for a given cluster without entering panic mode or triggering priority spillover, assuming the hosts pass the first health check. If panic mode is triggered, new hosts are still eligible for traffic; they simply do not contribute to the calculation when deciding whether panic mode is enabled or not.bool ignore_new_hosts_until_first_hc = 5;- Specified by:
getIgnoreNewHostsUntilFirstHcin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The ignoreNewHostsUntilFirstHc.
-
getCloseConnectionsOnHostSetChange
public boolean getCloseConnectionsOnHostSetChange()
If set to `true`, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.
bool close_connections_on_host_set_change = 6;- Specified by:
getCloseConnectionsOnHostSetChangein interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The closeConnectionsOnHostSetChange.
-
hasConsistentHashingLbConfig
public boolean hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;- Specified by:
hasConsistentHashingLbConfigin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- Whether the consistentHashingLbConfig field is set.
-
getConsistentHashingLbConfig
public Cluster.CommonLbConfig.ConsistentHashingLbConfig getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;- Specified by:
getConsistentHashingLbConfigin interfaceCluster.CommonLbConfigOrBuilder- Returns:
- The consistentHashingLbConfig.
-
getConsistentHashingLbConfigOrBuilder
public Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;- Specified by:
getConsistentHashingLbConfigOrBuilderin interfaceCluster.CommonLbConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cluster.CommonLbConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cluster.CommonLbConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Cluster.CommonLbConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Cluster.CommonLbConfig.Builder newBuilder()
-
newBuilder
public static Cluster.CommonLbConfig.Builder newBuilder(Cluster.CommonLbConfig prototype)
-
toBuilder
public Cluster.CommonLbConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Cluster.CommonLbConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Cluster.CommonLbConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Cluster.CommonLbConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<Cluster.CommonLbConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Cluster.CommonLbConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-