Class LocalityLbEndpoints
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- 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
,java.io.Serializable
public final class LocalityLbEndpoints extends com.google.protobuf.GeneratedMessage 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: 10]
Protobuf typeenvoy.config.endpoint.v3.LocalityLbEndpoints
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocalityLbEndpoints.Builder
A group of endpoints belonging to a Locality.static class
LocalityLbEndpoints.LbConfigCase
static class
LocalityLbEndpoints.LbEndpointList
[#not-implemented-hide:] A list of endpoints of a specific locality.static interface
LocalityLbEndpoints.LbEndpointListOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private static LocalityLbEndpoints
DEFAULT_INSTANCE
static int
LB_ENDPOINTS_FIELD_NUMBER
private java.lang.Object
lbConfig_
private int
lbConfigCase_
private java.util.List<LbEndpoint>
lbEndpoints_
static int
LEDS_CLUSTER_LOCALITY_CONFIG_FIELD_NUMBER
static int
LOAD_BALANCER_ENDPOINTS_FIELD_NUMBER
static int
LOAD_BALANCING_WEIGHT_FIELD_NUMBER
private com.google.protobuf.UInt32Value
loadBalancingWeight_
private Locality
locality_
static int
LOCALITY_FIELD_NUMBER
private byte
memoizedIsInitialized
private Metadata
metadata_
static int
METADATA_FIELD_NUMBER
private static com.google.protobuf.Parser<LocalityLbEndpoints>
PARSER
private int
priority_
static int
PRIORITY_FIELD_NUMBER
private com.google.protobuf.UInt32Value
proximity_
static int
PROXIMITY_FIELD_NUMBER
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
LocalityLbEndpoints()
private
LocalityLbEndpoints(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static LocalityLbEndpoints
getDefaultInstance()
LocalityLbEndpoints
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
LocalityLbEndpoints.LbConfigCase
getLbConfigCase()
LbEndpoint
getLbEndpoints(int index)
The group of endpoints belonging to the locality specified.int
getLbEndpointsCount()
The group of endpoints belonging to the locality specified.java.util.List<LbEndpoint>
getLbEndpointsList()
The group of endpoints belonging to the locality specified.LbEndpointOrBuilder
getLbEndpointsOrBuilder(int index)
The group of endpoints belonging to the locality specified.java.util.List<? extends LbEndpointOrBuilder>
getLbEndpointsOrBuilderList()
The group of endpoints belonging to the locality specified.LedsClusterLocalityConfig
getLedsClusterLocalityConfig()
LEDS Configuration for the current locality.LedsClusterLocalityConfigOrBuilder
getLedsClusterLocalityConfigOrBuilder()
LEDS Configuration for the current locality.LocalityLbEndpoints.LbEndpointList
getLoadBalancerEndpoints()
The group of endpoints belonging to the locality.LocalityLbEndpoints.LbEndpointListOrBuilder
getLoadBalancerEndpointsOrBuilder()
The group of endpoints belonging to the locality.com.google.protobuf.UInt32Value
getLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1.com.google.protobuf.UInt32ValueOrBuilder
getLoadBalancingWeightOrBuilder()
Optional: Per priority/region/zone/sub_zone weight; at least 1.Locality
getLocality()
Identifies location of where the upstream hosts run.LocalityOrBuilder
getLocalityOrBuilder()
Identifies location of where the upstream hosts run.Metadata
getMetadata()
Metadata to provide additional information about the locality endpoints in aggregate.MetadataOrBuilder
getMetadataOrBuilder()
Metadata to provide additional information about the locality endpoints in aggregate.com.google.protobuf.Parser<LocalityLbEndpoints>
getParserForType()
int
getPriority()
Optional: the priority for this LocalityLbEndpoints.com.google.protobuf.UInt32Value
getProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality.com.google.protobuf.UInt32ValueOrBuilder
getProximityOrBuilder()
Optional: Per locality proximity value which indicates how close this locality is from the source locality.int
getSerializedSize()
int
hashCode()
boolean
hasLedsClusterLocalityConfig()
LEDS Configuration for the current locality.boolean
hasLoadBalancerEndpoints()
The group of endpoints belonging to the locality.boolean
hasLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1.boolean
hasLocality()
Identifies location of where the upstream hosts run.boolean
hasMetadata()
Metadata to provide additional information about the locality endpoints in aggregate.boolean
hasProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static LocalityLbEndpoints.Builder
newBuilder()
static LocalityLbEndpoints.Builder
newBuilder(LocalityLbEndpoints prototype)
LocalityLbEndpoints.Builder
newBuilderForType()
protected LocalityLbEndpoints.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static LocalityLbEndpoints
parseDelimitedFrom(java.io.InputStream input)
static LocalityLbEndpoints
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LocalityLbEndpoints
parseFrom(byte[] data)
static LocalityLbEndpoints
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LocalityLbEndpoints
parseFrom(com.google.protobuf.ByteString data)
static LocalityLbEndpoints
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LocalityLbEndpoints
parseFrom(com.google.protobuf.CodedInputStream input)
static LocalityLbEndpoints
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LocalityLbEndpoints
parseFrom(java.io.InputStream input)
static LocalityLbEndpoints
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LocalityLbEndpoints
parseFrom(java.nio.ByteBuffer data)
static LocalityLbEndpoints
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<LocalityLbEndpoints>
parser()
LocalityLbEndpoints.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
lbConfigCase_
private int lbConfigCase_
-
lbConfig_
private java.lang.Object lbConfig_
-
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
locality_
private Locality locality_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
metadata_
private Metadata metadata_
-
LB_ENDPOINTS_FIELD_NUMBER
public static final int LB_ENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
lbEndpoints_
private java.util.List<LbEndpoint> lbEndpoints_
-
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
-
loadBalancingWeight_
private com.google.protobuf.UInt32Value loadBalancingWeight_
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
priority_
private int priority_
-
PROXIMITY_FIELD_NUMBER
public static final int PROXIMITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
proximity_
private com.google.protobuf.UInt32Value proximity_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final LocalityLbEndpoints DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<LocalityLbEndpoints> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getLbConfigCase
public LocalityLbEndpoints.LbConfigCase getLbConfigCase()
- Specified by:
getLbConfigCase
in interfaceLocalityLbEndpointsOrBuilder
-
hasLocality
public boolean hasLocality()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;
- Specified by:
hasLocality
in 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:
getLocality
in 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:
getLocalityOrBuilder
in interfaceLocalityLbEndpointsOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata to provide additional information about the locality endpoints in aggregate.
.envoy.config.core.v3.Metadata metadata = 9;
- Specified by:
hasMetadata
in interfaceLocalityLbEndpointsOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
Metadata to provide additional information about the locality endpoints in aggregate.
.envoy.config.core.v3.Metadata metadata = 9;
- Specified by:
getMetadata
in interfaceLocalityLbEndpointsOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
Metadata to provide additional information about the locality endpoints in aggregate.
.envoy.config.core.v3.Metadata metadata = 9;
- Specified by:
getMetadataOrBuilder
in interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpointsList
public java.util.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:
getLbEndpointsList
in interfaceLocalityLbEndpointsOrBuilder
-
getLbEndpointsOrBuilderList
public java.util.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:
getLbEndpointsOrBuilderList
in 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:
getLbEndpointsCount
in 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:
getLbEndpoints
in 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:
getLbEndpointsOrBuilder
in 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:
hasLoadBalancerEndpoints
in 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:
getLoadBalancerEndpoints
in 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:
getLoadBalancerEndpointsOrBuilder
in interfaceLocalityLbEndpointsOrBuilder
-
hasLedsClusterLocalityConfig
public boolean hasLedsClusterLocalityConfig()
LEDS Configuration for the current locality.
.envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8;
- Specified by:
hasLedsClusterLocalityConfig
in 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:
getLedsClusterLocalityConfig
in 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:
getLedsClusterLocalityConfigOrBuilder
in 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:
hasLoadBalancingWeight
in 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:
getLoadBalancingWeight
in 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:
getLoadBalancingWeightOrBuilder
in 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 that enough endpoints for a particular priority are unavailable/unhealthy, Envoy will fail over to selecting endpoints for the next highest priority group. Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>`. Priorities should range from 0 (highest) to N (lowest) without skipping.
uint32 priority = 5 [(.validate.rules) = { ... }
- Specified by:
getPriority
in 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:
hasProximity
in 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:
getProximity
in 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:
getProximityOrBuilder
in interfaceLocalityLbEndpointsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocalityLbEndpoints parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalityLbEndpoints parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalityLbEndpoints parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalityLbEndpoints parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalityLbEndpoints parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalityLbEndpoints parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalityLbEndpoints parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LocalityLbEndpoints.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalityLbEndpoints.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static LocalityLbEndpoints getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocalityLbEndpoints> parser()
-
getParserForType
public com.google.protobuf.Parser<LocalityLbEndpoints> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public LocalityLbEndpoints getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-