public static final class EndpointOuterClass.LbEndpoint extends com.google.protobuf.GeneratedMessageV3 implements EndpointOuterClass.LbEndpointOrBuilder
An Endpoint that Envoy can route traffic to.Protobuf type
envoy.api.v2.endpoint.LbEndpoint| Modifier and Type | Class and Description |
|---|---|
static class |
EndpointOuterClass.LbEndpoint.Builder
An Endpoint that Envoy can route traffic to.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
ENDPOINT_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 EndpointOuterClass.LbEndpoint |
getDefaultInstance() |
EndpointOuterClass.LbEndpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EndpointOuterClass.Endpoint |
getEndpoint()
Upstream host identifier
.envoy.api.v2.endpoint.Endpoint endpoint = 1; |
EndpointOuterClass.EndpointOrBuilder |
getEndpointOrBuilder()
Upstream host identifier
.envoy.api.v2.endpoint.Endpoint endpoint = 1; |
HealthCheckOuterClass.HealthStatus |
getHealthStatus()
Optional health status when known and supplied by EDS server.
|
int |
getHealthStatusValue()
Optional health status when known and supplied by EDS server.
|
com.google.protobuf.UInt32Value |
getLoadBalancingWeight()
The optional load balancing weight of the upstream host, in the range 1 -
128.
|
com.google.protobuf.UInt32ValueOrBuilder |
getLoadBalancingWeightOrBuilder()
The optional load balancing weight of the upstream host, in the range 1 -
128.
|
Base.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.
|
Base.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<EndpointOuterClass.LbEndpoint> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndpoint()
Upstream host identifier
.envoy.api.v2.endpoint.Endpoint endpoint = 1; |
int |
hashCode() |
boolean |
hasLoadBalancingWeight()
The optional load balancing weight of the upstream host, in the range 1 -
128.
|
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 EndpointOuterClass.LbEndpoint.Builder |
newBuilder() |
static EndpointOuterClass.LbEndpoint.Builder |
newBuilder(EndpointOuterClass.LbEndpoint prototype) |
EndpointOuterClass.LbEndpoint.Builder |
newBuilderForType() |
protected EndpointOuterClass.LbEndpoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static EndpointOuterClass.LbEndpoint |
parseDelimitedFrom(InputStream input) |
static EndpointOuterClass.LbEndpoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EndpointOuterClass.LbEndpoint |
parseFrom(byte[] data) |
static EndpointOuterClass.LbEndpoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EndpointOuterClass.LbEndpoint |
parseFrom(ByteBuffer data) |
static EndpointOuterClass.LbEndpoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EndpointOuterClass.LbEndpoint |
parseFrom(com.google.protobuf.ByteString data) |
static EndpointOuterClass.LbEndpoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EndpointOuterClass.LbEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EndpointOuterClass.LbEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EndpointOuterClass.LbEndpoint |
parseFrom(InputStream input) |
static EndpointOuterClass.LbEndpoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EndpointOuterClass.LbEndpoint> |
parser() |
EndpointOuterClass.LbEndpoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 HEALTH_STATUS_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int LOAD_BALANCING_WEIGHT_FIELD_NUMBER
public 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 boolean hasEndpoint()
Upstream host identifier
.envoy.api.v2.endpoint.Endpoint endpoint = 1;hasEndpoint in interface EndpointOuterClass.LbEndpointOrBuilderpublic EndpointOuterClass.Endpoint getEndpoint()
Upstream host identifier
.envoy.api.v2.endpoint.Endpoint endpoint = 1;getEndpoint in interface EndpointOuterClass.LbEndpointOrBuilderpublic EndpointOuterClass.EndpointOrBuilder getEndpointOrBuilder()
Upstream host identifier
.envoy.api.v2.endpoint.Endpoint endpoint = 1;getEndpointOrBuilder in interface EndpointOuterClass.LbEndpointOrBuilderpublic int getHealthStatusValue()
Optional health status when known and supplied by EDS server.
.envoy.api.v2.core.HealthStatus health_status = 2;getHealthStatusValue in interface EndpointOuterClass.LbEndpointOrBuilderpublic HealthCheckOuterClass.HealthStatus getHealthStatus()
Optional health status when known and supplied by EDS server.
.envoy.api.v2.core.HealthStatus health_status = 2;getHealthStatus in interface EndpointOuterClass.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_route.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.api.v2.core.Metadata metadata = 3;hasMetadata in interface EndpointOuterClass.LbEndpointOrBuilderpublic Base.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_route.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.api.v2.core.Metadata metadata = 3;getMetadata in interface EndpointOuterClass.LbEndpointOrBuilderpublic Base.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_route.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.api.v2.core.Metadata metadata = 3;getMetadataOrBuilder in interface EndpointOuterClass.LbEndpointOrBuilderpublic boolean hasLoadBalancingWeight()
The optional load balancing weight of the upstream host, in the range 1 - 128. 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. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }hasLoadBalancingWeight in interface EndpointOuterClass.LbEndpointOrBuilderpublic com.google.protobuf.UInt32Value getLoadBalancingWeight()
The optional load balancing weight of the upstream host, in the range 1 - 128. 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. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }getLoadBalancingWeight in interface EndpointOuterClass.LbEndpointOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder()
The optional load balancing weight of the upstream host, in the range 1 - 128. 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. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }getLoadBalancingWeightOrBuilder in interface EndpointOuterClass.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 EndpointOuterClass.LbEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EndpointOuterClass.LbEndpoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EndpointOuterClass.LbEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EndpointOuterClass.LbEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EndpointOuterClass.LbEndpoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EndpointOuterClass.LbEndpoint.Builder newBuilder()
public static EndpointOuterClass.LbEndpoint.Builder newBuilder(EndpointOuterClass.LbEndpoint prototype)
public EndpointOuterClass.LbEndpoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EndpointOuterClass.LbEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EndpointOuterClass.LbEndpoint getDefaultInstance()
public static com.google.protobuf.Parser<EndpointOuterClass.LbEndpoint> parser()
public com.google.protobuf.Parser<EndpointOuterClass.LbEndpoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EndpointOuterClass.LbEndpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.