public final class LbEndpoint extends com.google.protobuf.GeneratedMessageV3 implements LbEndpointOrBuilder
An Endpoint that Envoy can route traffic to. [#next-free-field: 6]Protobuf type
envoy.config.endpoint.v3.LbEndpoint| Modifier and Type | Class and Description |
|---|---|
static class |
LbEndpoint.Builder
An Endpoint that Envoy can route traffic to.
|
static class |
LbEndpoint.HostIdentifierCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ENDPOINT_FIELD_NUMBER |
static int |
ENDPOINT_NAME_FIELD_NUMBER |
static int |
HEALTH_STATUS_FIELD_NUMBER |
static int |
LOAD_BALANCING_WEIGHT_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static LbEndpoint |
getDefaultInstance() |
LbEndpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Endpoint |
getEndpoint()
.envoy.config.endpoint.v3.Endpoint endpoint = 1; |
String |
getEndpointName()
[#not-implemented-hide:]
string endpoint_name = 5; |
com.google.protobuf.ByteString |
getEndpointNameBytes()
[#not-implemented-hide:]
string endpoint_name = 5; |
EndpointOrBuilder |
getEndpointOrBuilder()
.envoy.config.endpoint.v3.Endpoint endpoint = 1; |
HealthStatus |
getHealthStatus()
Optional health status when known and supplied by EDS server.
|
int |
getHealthStatusValue()
Optional health status when known and supplied by EDS server.
|
LbEndpoint.HostIdentifierCase |
getHostIdentifierCase() |
com.google.protobuf.UInt32Value |
getLoadBalancingWeight()
The optional load balancing weight of the upstream host; at least 1.
|
com.google.protobuf.UInt32ValueOrBuilder |
getLoadBalancingWeightOrBuilder()
The optional load balancing weight of the upstream host; at least 1.
|
Metadata |
getMetadata()
The endpoint metadata specifies values that may be used by the load
balancer to select endpoints in a cluster for a given request.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The endpoint metadata specifies values that may be used by the load
balancer to select endpoints in a cluster for a given request.
|
com.google.protobuf.Parser<LbEndpoint> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndpoint()
.envoy.config.endpoint.v3.Endpoint endpoint = 1; |
int |
hashCode() |
boolean |
hasLoadBalancingWeight()
The optional load balancing weight of the upstream host; at least 1.
|
boolean |
hasMetadata()
The endpoint metadata specifies values that may be used by the load
balancer to select endpoints in a cluster for a given request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LbEndpoint.Builder |
newBuilder() |
static LbEndpoint.Builder |
newBuilder(LbEndpoint prototype) |
LbEndpoint.Builder |
newBuilderForType() |
protected LbEndpoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LbEndpoint |
parseDelimitedFrom(InputStream input) |
static LbEndpoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LbEndpoint |
parseFrom(byte[] data) |
static LbEndpoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LbEndpoint |
parseFrom(ByteBuffer data) |
static LbEndpoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LbEndpoint |
parseFrom(com.google.protobuf.ByteString data) |
static LbEndpoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LbEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LbEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LbEndpoint |
parseFrom(InputStream input) |
static LbEndpoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LbEndpoint> |
parser() |
LbEndpoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_NAME_FIELD_NUMBER
public static final int HEALTH_STATUS_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int LOAD_BALANCING_WEIGHT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public LbEndpoint.HostIdentifierCase getHostIdentifierCase()
getHostIdentifierCase in interface LbEndpointOrBuilderpublic boolean hasEndpoint()
.envoy.config.endpoint.v3.Endpoint endpoint = 1;hasEndpoint in interface LbEndpointOrBuilderpublic Endpoint getEndpoint()
.envoy.config.endpoint.v3.Endpoint endpoint = 1;getEndpoint in interface LbEndpointOrBuilderpublic EndpointOrBuilder getEndpointOrBuilder()
.envoy.config.endpoint.v3.Endpoint endpoint = 1;getEndpointOrBuilder in interface LbEndpointOrBuilderpublic String getEndpointName()
[#not-implemented-hide:]
string endpoint_name = 5;getEndpointName in interface LbEndpointOrBuilderpublic com.google.protobuf.ByteString getEndpointNameBytes()
[#not-implemented-hide:]
string endpoint_name = 5;getEndpointNameBytes in interface LbEndpointOrBuilderpublic int getHealthStatusValue()
Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;getHealthStatusValue in interface LbEndpointOrBuilderpublic HealthStatus getHealthStatus()
Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;getHealthStatus in interface LbEndpointOrBuilderpublic boolean hasMetadata()
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as *envoy.lb*. An example boolean key-value pair is *canary*, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;hasMetadata in interface LbEndpointOrBuilderpublic Metadata getMetadata()
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as *envoy.lb*. An example boolean key-value pair is *canary*, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;getMetadata in interface LbEndpointOrBuilderpublic MetadataOrBuilder getMetadataOrBuilder()
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as *envoy.lb*. An example boolean key-value pair is *canary*, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;getMetadataOrBuilder in interface LbEndpointOrBuilderpublic boolean hasLoadBalancingWeight()
The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, each host is presumed to have equal weight in a locality. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }hasLoadBalancingWeight in interface LbEndpointOrBuilderpublic com.google.protobuf.UInt32Value getLoadBalancingWeight()
The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, each host is presumed to have equal weight in a locality. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }getLoadBalancingWeight in interface LbEndpointOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder()
The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, each host is presumed to have equal weight in a locality. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }getLoadBalancingWeightOrBuilder in interface LbEndpointOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LbEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LbEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LbEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LbEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LbEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LbEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LbEndpoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static LbEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LbEndpoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LbEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LbEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LbEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LbEndpoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LbEndpoint.Builder newBuilder()
public static LbEndpoint.Builder newBuilder(LbEndpoint prototype)
public LbEndpoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LbEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LbEndpoint getDefaultInstance()
public static com.google.protobuf.Parser<LbEndpoint> parser()
public com.google.protobuf.Parser<LbEndpoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LbEndpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.