All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OverrideHost, OverrideHost.Builder

public interface OverrideHostOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getOverrideHostSourcesList

      List<OverrideHost.OverrideHostSource> getOverrideHostSourcesList()
       A list of sources to get host addresses from. The host sources are searched in the order
       specified. The request is forwarded to the first address and subsequent addresses are used
       for request retries or hedging.
       Note that if an overridden host address is not present in the current endpoint set, it is
       skipped and the next found address is used. If there are not enough overridden addresses to
       satisfy all retry attempts the fallback load balancing policy is used to pick a host.
       
      repeated .envoy.extensions.load_balancing_policies.override_host.v3.OverrideHost.OverrideHostSource override_host_sources = 1 [(.validate.rules) = { ... }
    • getOverrideHostSources

      OverrideHost.OverrideHostSource getOverrideHostSources(int index)
       A list of sources to get host addresses from. The host sources are searched in the order
       specified. The request is forwarded to the first address and subsequent addresses are used
       for request retries or hedging.
       Note that if an overridden host address is not present in the current endpoint set, it is
       skipped and the next found address is used. If there are not enough overridden addresses to
       satisfy all retry attempts the fallback load balancing policy is used to pick a host.
       
      repeated .envoy.extensions.load_balancing_policies.override_host.v3.OverrideHost.OverrideHostSource override_host_sources = 1 [(.validate.rules) = { ... }
    • getOverrideHostSourcesCount

      int getOverrideHostSourcesCount()
       A list of sources to get host addresses from. The host sources are searched in the order
       specified. The request is forwarded to the first address and subsequent addresses are used
       for request retries or hedging.
       Note that if an overridden host address is not present in the current endpoint set, it is
       skipped and the next found address is used. If there are not enough overridden addresses to
       satisfy all retry attempts the fallback load balancing policy is used to pick a host.
       
      repeated .envoy.extensions.load_balancing_policies.override_host.v3.OverrideHost.OverrideHostSource override_host_sources = 1 [(.validate.rules) = { ... }
    • getOverrideHostSourcesOrBuilderList

      List<? extends OverrideHost.OverrideHostSourceOrBuilder> getOverrideHostSourcesOrBuilderList()
       A list of sources to get host addresses from. The host sources are searched in the order
       specified. The request is forwarded to the first address and subsequent addresses are used
       for request retries or hedging.
       Note that if an overridden host address is not present in the current endpoint set, it is
       skipped and the next found address is used. If there are not enough overridden addresses to
       satisfy all retry attempts the fallback load balancing policy is used to pick a host.
       
      repeated .envoy.extensions.load_balancing_policies.override_host.v3.OverrideHost.OverrideHostSource override_host_sources = 1 [(.validate.rules) = { ... }
    • getOverrideHostSourcesOrBuilder

      OverrideHost.OverrideHostSourceOrBuilder getOverrideHostSourcesOrBuilder(int index)
       A list of sources to get host addresses from. The host sources are searched in the order
       specified. The request is forwarded to the first address and subsequent addresses are used
       for request retries or hedging.
       Note that if an overridden host address is not present in the current endpoint set, it is
       skipped and the next found address is used. If there are not enough overridden addresses to
       satisfy all retry attempts the fallback load balancing policy is used to pick a host.
       
      repeated .envoy.extensions.load_balancing_policies.override_host.v3.OverrideHost.OverrideHostSource override_host_sources = 1 [(.validate.rules) = { ... }
    • hasFallbackPolicy

      boolean hasFallbackPolicy()
       The child LB policy to use in case neither header nor metadata with selected
       hosts is present.
       
      .envoy.config.cluster.v3.LoadBalancingPolicy fallback_policy = 3 [(.validate.rules) = { ... }
      Returns:
      Whether the fallbackPolicy field is set.
    • getFallbackPolicy

      LoadBalancingPolicy getFallbackPolicy()
       The child LB policy to use in case neither header nor metadata with selected
       hosts is present.
       
      .envoy.config.cluster.v3.LoadBalancingPolicy fallback_policy = 3 [(.validate.rules) = { ... }
      Returns:
      The fallbackPolicy.
    • getFallbackPolicyOrBuilder

      LoadBalancingPolicyOrBuilder getFallbackPolicyOrBuilder()
       The child LB policy to use in case neither header nor metadata with selected
       hosts is present.
       
      .envoy.config.cluster.v3.LoadBalancingPolicy fallback_policy = 3 [(.validate.rules) = { ... }