All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.config.endpoint.v3.LocalityLbEndpointsOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// 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 LocalityLbEndpointsOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.config.endpoint.v3.LocalityLbEndpoints)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Identifies location of where the upstream hosts run.
   * 
* * .envoy.config.core.v3.Locality locality = 1; * @return Whether the locality field is set. */ boolean hasLocality(); /** *
   * Identifies location of where the upstream hosts run.
   * 
* * .envoy.config.core.v3.Locality locality = 1; * @return The locality. */ io.envoyproxy.envoy.config.core.v3.Locality getLocality(); /** *
   * Identifies location of where the upstream hosts run.
   * 
* * .envoy.config.core.v3.Locality locality = 1; */ io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder(); /** *
   * 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; */ java.util.List 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; */ io.envoyproxy.envoy.config.endpoint.v3.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; */ 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; */ java.util.List 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; */ io.envoyproxy.envoy.config.endpoint.v3.LbEndpointOrBuilder getLbEndpointsOrBuilder( int index); /** *
   * 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; * @return Whether the loadBalancerEndpoints field is set. */ 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; * @return The loadBalancerEndpoints. */ io.envoyproxy.envoy.config.endpoint.v3.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; */ io.envoyproxy.envoy.config.endpoint.v3.LocalityLbEndpoints.LbEndpointListOrBuilder getLoadBalancerEndpointsOrBuilder(); /** *
   * LEDS Configuration for the current locality.
   * 
* * .envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8; * @return Whether the ledsClusterLocalityConfig field is set. */ boolean hasLedsClusterLocalityConfig(); /** *
   * LEDS Configuration for the current locality.
   * 
* * .envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8; * @return The ledsClusterLocalityConfig. */ io.envoyproxy.envoy.config.endpoint.v3.LedsClusterLocalityConfig getLedsClusterLocalityConfig(); /** *
   * LEDS Configuration for the current locality.
   * 
* * .envoy.config.endpoint.v3.LedsClusterLocalityConfig leds_cluster_locality_config = 8; */ io.envoyproxy.envoy.config.endpoint.v3.LedsClusterLocalityConfigOrBuilder getLedsClusterLocalityConfigOrBuilder(); /** *
   * 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) = { ... } * @return Whether the loadBalancingWeight field is set. */ 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) = { ... } * @return The loadBalancingWeight. */ 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) = { ... } */ com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder(); /** *
   * 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) = { ... } * @return The priority. */ int getPriority(); /** *
   * 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; * @return Whether the proximity field is set. */ 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; * @return The proximity. */ 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; */ com.google.protobuf.UInt32ValueOrBuilder getProximityOrBuilder(); public io.envoyproxy.envoy.config.endpoint.v3.LocalityLbEndpoints.LbConfigCase getLbConfigCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy