// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/endpoint/v3/endpoint_components.proto
package io.envoyproxy.envoy.config.endpoint.v3;
public interface LbEndpointOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.endpoint.v3.LbEndpoint)
com.google.protobuf.MessageOrBuilder {
/**
* .envoy.config.endpoint.v3.Endpoint endpoint = 1;
* @return Whether the endpoint field is set.
*/
boolean hasEndpoint();
/**
* .envoy.config.endpoint.v3.Endpoint endpoint = 1;
* @return The endpoint.
*/
io.envoyproxy.envoy.config.endpoint.v3.Endpoint getEndpoint();
/**
* .envoy.config.endpoint.v3.Endpoint endpoint = 1;
*/
io.envoyproxy.envoy.config.endpoint.v3.EndpointOrBuilder getEndpointOrBuilder();
/**
*
* [#not-implemented-hide:]
*
*
* string endpoint_name = 5;
* @return Whether the endpointName field is set.
*/
boolean hasEndpointName();
/**
*
* [#not-implemented-hide:]
*
*
* string endpoint_name = 5;
* @return The endpointName.
*/
java.lang.String getEndpointName();
/**
*
* [#not-implemented-hide:]
*
*
* string endpoint_name = 5;
* @return The bytes for endpointName.
*/
com.google.protobuf.ByteString
getEndpointNameBytes();
/**
*
* Optional health status when known and supplied by EDS server.
*
*
* .envoy.config.core.v3.HealthStatus health_status = 2;
* @return The enum numeric value on the wire for healthStatus.
*/
int getHealthStatusValue();
/**
*
* Optional health status when known and supplied by EDS server.
*
*
* .envoy.config.core.v3.HealthStatus health_status = 2;
* @return The healthStatus.
*/
io.envoyproxy.envoy.config.core.v3.HealthStatus getHealthStatus();
/**
*
* 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_v3_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;
* @return Whether the metadata field is set.
*/
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_v3_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;
* @return The metadata.
*/
io.envoyproxy.envoy.config.core.v3.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_v3_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;
*/
io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder getMetadataOrBuilder();
/**
*
* 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, will be treated as 1. 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) = { ... }
* @return Whether the loadBalancingWeight field is set.
*/
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, will be treated as 1. 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) = { ... }
* @return The loadBalancingWeight.
*/
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, will be treated as 1. 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) = { ... }
*/
com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder();
public io.envoyproxy.envoy.config.endpoint.v3.LbEndpoint.HostIdentifierCase getHostIdentifierCase();
}