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

io.envoyproxy.envoy.config.route.v3.WeightedClusterOrBuilder 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/route/v3/route_components.proto

package io.envoyproxy.envoy.config.route.v3;

public interface WeightedClusterOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.config.route.v3.WeightedCluster)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Specifies one or more upstream clusters associated with the route.
   * 
* * repeated .envoy.config.route.v3.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... } */ java.util.List getClustersList(); /** *
   * Specifies one or more upstream clusters associated with the route.
   * 
* * repeated .envoy.config.route.v3.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... } */ io.envoyproxy.envoy.config.route.v3.WeightedCluster.ClusterWeight getClusters(int index); /** *
   * Specifies one or more upstream clusters associated with the route.
   * 
* * repeated .envoy.config.route.v3.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... } */ int getClustersCount(); /** *
   * Specifies one or more upstream clusters associated with the route.
   * 
* * repeated .envoy.config.route.v3.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... } */ java.util.List getClustersOrBuilderList(); /** *
   * Specifies one or more upstream clusters associated with the route.
   * 
* * repeated .envoy.config.route.v3.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... } */ io.envoyproxy.envoy.config.route.v3.WeightedCluster.ClusterWeightOrBuilder getClustersOrBuilder( int index); /** *
   * Specifies the total weight across all clusters. The sum of all cluster weights must equal this
   * value, if this is greater than 0.
   * This field is now deprecated, and the client will use the sum of all
   * cluster weights. It is up to the management server to supply the correct weights.
   * 
* * .google.protobuf.UInt32Value total_weight = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.route.v3.WeightedCluster.total_weight is deprecated. * See envoy/config/route/v3/route_components.proto;l=483 * @return Whether the totalWeight field is set. */ @java.lang.Deprecated boolean hasTotalWeight(); /** *
   * Specifies the total weight across all clusters. The sum of all cluster weights must equal this
   * value, if this is greater than 0.
   * This field is now deprecated, and the client will use the sum of all
   * cluster weights. It is up to the management server to supply the correct weights.
   * 
* * .google.protobuf.UInt32Value total_weight = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.route.v3.WeightedCluster.total_weight is deprecated. * See envoy/config/route/v3/route_components.proto;l=483 * @return The totalWeight. */ @java.lang.Deprecated com.google.protobuf.UInt32Value getTotalWeight(); /** *
   * Specifies the total weight across all clusters. The sum of all cluster weights must equal this
   * value, if this is greater than 0.
   * This field is now deprecated, and the client will use the sum of all
   * cluster weights. It is up to the management server to supply the correct weights.
   * 
* * .google.protobuf.UInt32Value total_weight = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated com.google.protobuf.UInt32ValueOrBuilder getTotalWeightOrBuilder(); /** *
   * Specifies the runtime key prefix that should be used to construct the
   * runtime keys associated with each cluster. When the ``runtime_key_prefix`` is
   * specified, the router will look for weights associated with each upstream
   * cluster under the key ``runtime_key_prefix`` + ``.`` + ``cluster[i].name`` where
   * ``cluster[i]`` denotes an entry in the clusters array field. If the runtime
   * key for the cluster does not exist, the value specified in the
   * configuration file will be used as the default weight. See the :ref:`runtime documentation
   * <operations_runtime>` for how key names map to the underlying implementation.
   * 
* * string runtime_key_prefix = 2; * @return The runtimeKeyPrefix. */ java.lang.String getRuntimeKeyPrefix(); /** *
   * Specifies the runtime key prefix that should be used to construct the
   * runtime keys associated with each cluster. When the ``runtime_key_prefix`` is
   * specified, the router will look for weights associated with each upstream
   * cluster under the key ``runtime_key_prefix`` + ``.`` + ``cluster[i].name`` where
   * ``cluster[i]`` denotes an entry in the clusters array field. If the runtime
   * key for the cluster does not exist, the value specified in the
   * configuration file will be used as the default weight. See the :ref:`runtime documentation
   * <operations_runtime>` for how key names map to the underlying implementation.
   * 
* * string runtime_key_prefix = 2; * @return The bytes for runtimeKeyPrefix. */ com.google.protobuf.ByteString getRuntimeKeyPrefixBytes(); /** *
   * Specifies the header name that is used to look up the random value passed in the request header.
   * This is used to ensure consistent cluster picking across multiple proxy levels for weighted traffic.
   * If header is not present or invalid, Envoy will fall back to use the internally generated random value.
   * This header is expected to be single-valued header as we only want to have one selected value throughout
   * the process for the consistency. And the value is a unsigned number between 0 and UINT64_MAX.
   * 
* * string header_name = 4 [(.validate.rules) = { ... } * @return Whether the headerName field is set. */ boolean hasHeaderName(); /** *
   * Specifies the header name that is used to look up the random value passed in the request header.
   * This is used to ensure consistent cluster picking across multiple proxy levels for weighted traffic.
   * If header is not present or invalid, Envoy will fall back to use the internally generated random value.
   * This header is expected to be single-valued header as we only want to have one selected value throughout
   * the process for the consistency. And the value is a unsigned number between 0 and UINT64_MAX.
   * 
* * string header_name = 4 [(.validate.rules) = { ... } * @return The headerName. */ java.lang.String getHeaderName(); /** *
   * Specifies the header name that is used to look up the random value passed in the request header.
   * This is used to ensure consistent cluster picking across multiple proxy levels for weighted traffic.
   * If header is not present or invalid, Envoy will fall back to use the internally generated random value.
   * This header is expected to be single-valued header as we only want to have one selected value throughout
   * the process for the consistency. And the value is a unsigned number between 0 and UINT64_MAX.
   * 
* * string header_name = 4 [(.validate.rules) = { ... } * @return The bytes for headerName. */ com.google.protobuf.ByteString getHeaderNameBytes(); public io.envoyproxy.envoy.config.route.v3.WeightedCluster.RandomValueSpecifierCase getRandomValueSpecifierCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy