Class LocalityLbEndpoints
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.endpoint.v3.LocalityLbEndpoints
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,LocalityLbEndpointsOrBuilder,Serializable
public final class LocalityLbEndpoints extends com.google.protobuf.GeneratedMessageV3 implements LocalityLbEndpointsOrBuilder
A group of endpoints belonging to a Locality. One can have multiple LocalityLbEndpoints for a locality, but only if they have different priorities. [#next-free-field: 9]
Protobuf typeenvoy.config.endpoint.v3.LocalityLbEndpoints- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalityLbEndpoints.BuilderA group of endpoints belonging to a Locality.static classLocalityLbEndpoints.LbConfigCasestatic classLocalityLbEndpoints.LbEndpointList[#not-implemented-hide:] A list of endpoints of a specific locality.static interfaceLocalityLbEndpoints.LbEndpointListOrBuilder-
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 intLB_ENDPOINTS_FIELD_NUMBERstatic intLEDS_CLUSTER_LOCALITY_CONFIG_FIELD_NUMBERstatic intLOAD_BALANCER_ENDPOINTS_FIELD_NUMBERstatic intLOAD_BALANCING_WEIGHT_FIELD_NUMBERstatic intLOCALITY_FIELD_NUMBERstatic intPRIORITY_FIELD_NUMBERstatic intPROXIMITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static LocalityLbEndpointsgetDefaultInstance()LocalityLbEndpointsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()LocalityLbEndpoints.LbConfigCasegetLbConfigCase()LbEndpointgetLbEndpoints(int index)The group of endpoints belonging to the locality specified.intgetLbEndpointsCount()The group of endpoints belonging to the locality specified.List<LbEndpoint>getLbEndpointsList()The group of endpoints belonging to the locality specified.LbEndpointOrBuildergetLbEndpointsOrBuilder(int index)The group of endpoints belonging to the locality specified.List<? extends LbEndpointOrBuilder>getLbEndpointsOrBuilderList()The group of endpoints belonging to the locality specified.LedsClusterLocalityConfiggetLedsClusterLocalityConfig()LEDS Configuration for the current locality.LedsClusterLocalityConfigOrBuildergetLedsClusterLocalityConfigOrBuilder()LEDS Configuration for the current locality.LocalityLbEndpoints.LbEndpointListgetLoadBalancerEndpoints()The group of endpoints belonging to the locality.LocalityLbEndpoints.LbEndpointListOrBuildergetLoadBalancerEndpointsOrBuilder()The group of endpoints belonging to the locality.com.google.protobuf.UInt32ValuegetLoadBalancingWeight()Optional: Per priority/region/zone/sub_zone weight; at least 1.com.google.protobuf.UInt32ValueOrBuildergetLoadBalancingWeightOrBuilder()Optional: Per priority/region/zone/sub_zone weight; at least 1.LocalitygetLocality()Identifies location of where the upstream hosts run.LocalityOrBuildergetLocalityOrBuilder()Identifies location of where the upstream hosts run.com.google.protobuf.Parser<LocalityLbEndpoints>getParserForType()intgetPriority()Optional: the priority for this LocalityLbEndpoints.com.google.protobuf.UInt32ValuegetProximity()Optional: Per locality proximity value which indicates how close this locality is from the source locality.com.google.protobuf.UInt32ValueOrBuildergetProximityOrBuilder()Optional: Per locality proximity value which indicates how close this locality is from the source locality.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasLedsClusterLocalityConfig()LEDS Configuration for the current locality.booleanhasLoadBalancerEndpoints()The group of endpoints belonging to the locality.booleanhasLoadBalancingWeight()Optional: Per priority/region/zone/sub_zone weight; at least 1.booleanhasLocality()Identifies location of where the upstream hosts run.booleanhasProximity()Optional: Per locality proximity value which indicates how close this locality is from the source locality.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocalityLbEndpoints.BuildernewBuilder()static LocalityLbEndpoints.BuildernewBuilder(LocalityLbEndpoints prototype)LocalityLbEndpoints.BuildernewBuilderForType()protected LocalityLbEndpoints.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocalityLbEndpointsparseDelimitedFrom(InputStream input)static LocalityLbEndpointsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalityLbEndpointsparseFrom(byte[] data)static LocalityLbEndpointsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalityLbEndpointsparseFrom(com.google.protobuf.ByteString data)static LocalityLbEndpointsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalityLbEndpointsparseFrom(com.google.protobuf.CodedInputStream input)static LocalityLbEndpointsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalityLbEndpointsparseFrom(InputStream input)static LocalityLbEndpointsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalityLbEndpointsparseFrom(ByteBuffer data)static LocalityLbEndpointsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocalityLbEndpoints>parser()LocalityLbEndpoints.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
-
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LB_ENDPOINTS_FIELD_NUMBER
public static final int LB_ENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_BALANCER_ENDPOINTS_FIELD_NUMBER
public static final int LOAD_BALANCER_ENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEDS_CLUSTER_LOCALITY_CONFIG_FIELD_NUMBER
public static final int LEDS_CLUSTER_LOCALITY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_BALANCING_WEIGHT_FIELD_NUMBER
public static final int LOAD_BALANCING_WEIGHT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROXIMITY_FIELD_NUMBER
public static final int PROXIMITY_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
-
getLbConfigCase
public LocalityLbEndpoints.LbConfigCase getLbConfigCase()
- Specified by:
getLbConfigCasein interfaceLocalityLbEndpointsOrBuilder
-
hasLocality
public boolean hasLocality()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;- Specified by:
hasLocalityin interfaceLocalityLbEndpointsOrBuilder- Returns:
- Whether the locality field is set.
-
getLocality
public Locality getLocality()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;- Specified by:
getLocalityin interfaceLocalityLbEndpointsOrBuilder- Returns:
- The locality.
-
getLocalityOrBuilder
public LocalityOrBuilder getLocalityOrBuilder()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;- Specified by:
getLocalityOrBuilderin interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpointsList
public List<LbEndpoint> getLbEndpointsList()
The group of endpoints belonging to the locality specified. [#comment:TODO(adisuissa): Once LEDS is implemented this field needs to be deprecated and replaced by ``load_balancer_endpoints``.]
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;- Specified by:
getLbEndpointsListin interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpointsOrBuilderList
public List<? extends LbEndpointOrBuilder> getLbEndpointsOrBuilderList()
The group of endpoints belonging to the locality specified. [#comment:TODO(adisuissa): Once LEDS is implemented this field needs to be deprecated and replaced by ``load_balancer_endpoints``.]
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;- Specified by:
getLbEndpointsOrBuilderListin interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpointsCount
public int getLbEndpointsCount()
The group of endpoints belonging to the locality specified. [#comment:TODO(adisuissa): Once LEDS is implemented this field needs to be deprecated and replaced by ``load_balancer_endpoints``.]
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;- Specified by:
getLbEndpointsCountin interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpoints
public LbEndpoint getLbEndpoints(int index)
The group of endpoints belonging to the locality specified. [#comment:TODO(adisuissa): Once LEDS is implemented this field needs to be deprecated and replaced by ``load_balancer_endpoints``.]
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;- Specified by:
getLbEndpointsin interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpointsOrBuilder
public LbEndpointOrBuilder getLbEndpointsOrBuilder(int index)
The group of endpoints belonging to the locality specified. [#comment:TODO(adisuissa): Once LEDS is implemented this field needs to be deprecated and replaced by ``load_balancer_endpoints``.]
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;- Specified by:
getLbEndpointsOrBuilderin interfaceLocalityLbEndpointsOrBuilder
-
hasLoadBalancerEndpoints
public boolean hasLoadBalancerEndpoints()
The group of endpoints belonging to the locality. [#comment:TODO(adisuissa): Once LEDS is implemented the ``lb_endpoints`` field needs to be deprecated.]
.envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointList load_balancer_endpoints = 7;- Specified by:
hasLoadBalancerEndpointsin interfaceLocalityLbEndpointsOrBuilder- Returns:
- Whether the loadBalancerEndpoints field is set.
-
getLoadBalancerEndpoints
public LocalityLbEndpoints.LbEndpointList getLoadBalancerEndpoints()
The group of endpoints belonging to the locality. [#comment:TODO(adisuissa): Once LEDS is implemented the ``lb_endpoints`` field needs to be deprecated.]
.envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointList load_balancer_endpoints = 7;- Specified by:
getLoadBalancerEndpointsin interfaceLocalityLbEndpointsOrBuilder- Returns:
- The loadBalancerEndpoints.
-
getLoadBalancerEndpointsOrBuilder
public LocalityLbEndpoints.LbEndpointListOrBuilder getLoadBalancerEndpointsOrBuilder()
The group of endpoints belonging to the locality. [#comment:TODO(adisuissa): Once LEDS is implemented the ``lb_endpoints`` field needs to be deprecated.]
.envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointList load_balancer_endpoints = 7;- Specified by:
getLoadBalancerEndpointsOrBuilderin interfaceLocalityLbEndpointsOrBuilder
-
hasLedsClusterLocalityConfig
public boolean hasLedsClusterLocalityConfig()
LEDS Configuration for the current locality.
.envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8;- Specified by:
hasLedsClusterLocalityConfigin interfaceLocalityLbEndpointsOrBuilder- Returns:
- Whether the ledsClusterLocalityConfig field is set.
-
getLedsClusterLocalityConfig
public LedsClusterLocalityConfig getLedsClusterLocalityConfig()
LEDS Configuration for the current locality.
.envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8;- Specified by:
getLedsClusterLocalityConfigin interfaceLocalityLbEndpointsOrBuilder- Returns:
- The ledsClusterLocalityConfig.
-
getLedsClusterLocalityConfigOrBuilder
public LedsClusterLocalityConfigOrBuilder getLedsClusterLocalityConfigOrBuilder()
LEDS Configuration for the current locality.
.envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8;- Specified by:
getLedsClusterLocalityConfigOrBuilderin interfaceLocalityLbEndpointsOrBuilder
-
hasLoadBalancingWeight
public boolean hasLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the locality is assigned no load.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }- Specified by:
hasLoadBalancingWeightin interfaceLocalityLbEndpointsOrBuilder- Returns:
- Whether the loadBalancingWeight field is set.
-
getLoadBalancingWeight
public com.google.protobuf.UInt32Value getLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the locality is assigned no load.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }- Specified by:
getLoadBalancingWeightin interfaceLocalityLbEndpointsOrBuilder- Returns:
- The loadBalancingWeight.
-
getLoadBalancingWeightOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder()
Optional: Per priority/region/zone/sub_zone weight; at least 1. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the locality is assigned no load.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }- Specified by:
getLoadBalancingWeightOrBuilderin interfaceLocalityLbEndpointsOrBuilder
-
getPriority
public int getPriority()
Optional: the priority for this LocalityLbEndpoints. If unspecified this will default to the highest priority (0). Under usual circumstances, Envoy will only select endpoints for the highest priority (0). In the event all endpoints for a particular priority are unavailable/unhealthy, Envoy will fail over to selecting endpoints for the next highest priority group. Priorities should range from 0 (highest) to N (lowest) without skipping.
uint32 priority = 5 [(.validate.rules) = { ... }- Specified by:
getPriorityin interfaceLocalityLbEndpointsOrBuilder- Returns:
- The priority.
-
hasProximity
public boolean hasProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;- Specified by:
hasProximityin interfaceLocalityLbEndpointsOrBuilder- Returns:
- Whether the proximity field is set.
-
getProximity
public com.google.protobuf.UInt32Value getProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;- Specified by:
getProximityin interfaceLocalityLbEndpointsOrBuilder- Returns:
- The proximity.
-
getProximityOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getProximityOrBuilder()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;- Specified by:
getProximityOrBuilderin interfaceLocalityLbEndpointsOrBuilder
-
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 LocalityLbEndpoints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LocalityLbEndpoints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LocalityLbEndpoints parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LocalityLbEndpoints parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static LocalityLbEndpoints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LocalityLbEndpoints parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public LocalityLbEndpoints.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocalityLbEndpoints.Builder newBuilder()
-
newBuilder
public static LocalityLbEndpoints.Builder newBuilder(LocalityLbEndpoints prototype)
-
toBuilder
public LocalityLbEndpoints.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalityLbEndpoints.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LocalityLbEndpoints getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocalityLbEndpoints> parser()
-
getParserForType
public com.google.protobuf.Parser<LocalityLbEndpoints> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocalityLbEndpoints getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-