Interface TcpProxy.WeightedCluster.ClusterWeightOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TcpProxy.WeightedCluster.ClusterWeight, TcpProxy.WeightedCluster.ClusterWeight.Builder
Enclosing class:
TcpProxy.WeightedCluster

public static interface TcpProxy.WeightedCluster.ClusterWeightOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional endpoint metadata match criteria used by the subset load balancer.
    Optional endpoint metadata match criteria used by the subset load balancer.
    Name of the upstream cluster.
    com.google.protobuf.ByteString
    Name of the upstream cluster.
    int
    When a request matches the route, the choice of an upstream cluster is determined by its weight.
    boolean
    Optional endpoint metadata match criteria used by the subset load balancer.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Name of the upstream cluster.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the upstream cluster.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for name.
    • getWeight

      int getWeight()
       When a request matches the route, the choice of an upstream cluster is
       determined by its weight. The sum of weights across all entries in the
       clusters array determines the total weight.
       
      uint32 weight = 2 [(.validate.rules) = { ... }
      Returns:
      The weight.
    • hasMetadataMatch

      boolean hasMetadataMatch()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. Note that this will be merged with what's provided in
       :ref:`TcpProxy.metadata_match
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.metadata_match>`, with values
       here taking precedence. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
      Returns:
      Whether the metadataMatch field is set.
    • getMetadataMatch

      Metadata getMetadataMatch()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. Note that this will be merged with what's provided in
       :ref:`TcpProxy.metadata_match
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.metadata_match>`, with values
       here taking precedence. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
      Returns:
      The metadataMatch.
    • getMetadataMatchOrBuilder

      MetadataOrBuilder getMetadataMatchOrBuilder()
       Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
       in the upstream cluster with metadata matching what is set in this field will be considered
       for load balancing. Note that this will be merged with what's provided in
       :ref:`TcpProxy.metadata_match
       <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.metadata_match>`, with values
       here taking precedence. The filter name should be specified as ``envoy.lb``.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;