Interface WeightedCluster.ClusterWeightOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Metadata getMetadataMatch()
      Optional endpoint metadata match criteria used by the subset load balancer.
      MetadataOrBuilder getMetadataMatchOrBuilder()
      Optional endpoint metadata match criteria used by the subset load balancer.
      String getName()
      Name of the upstream cluster.
      com.google.protobuf.ByteString getNameBytes()
      Name of the upstream cluster.
      com.google.protobuf.UInt32Value getWeight()
      When a request matches the route, the choice of an upstream cluster is determined by its weight.
      com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
      When a request matches the route, the choice of an upstream cluster is determined by its weight.
      boolean hasMetadataMatch()
      Optional endpoint metadata match criteria used by the subset load balancer.
      boolean hasWeight()
      When a request matches the route, the choice of an upstream cluster is determined by its weight.
      • 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 Detail

      • 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.
      • hasWeight

        boolean hasWeight()
         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.
         
        .google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the weight field is set.
      • getWeight

        com.google.protobuf.UInt32Value 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.
         
        .google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }
        Returns:
        The weight.
      • getWeightOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
         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.
         
        .google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }
      • 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, combined with what's
         provided in :ref:`RouteAction's metadata_match
         <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.RouteAction.metadata_match>`,
         will be considered. Values here will take precedence. Keys and values should be provided
         under the "envoy.lb" metadata key.
         
        .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, combined with what's
         provided in :ref:`RouteAction's metadata_match
         <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.RouteAction.metadata_match>`,
         will be considered. Values here will take precedence. Keys and values should be provided
         under the "envoy.lb" metadata key.
         
        .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, combined with what's
         provided in :ref:`RouteAction's metadata_match
         <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.RouteAction.metadata_match>`,
         will be considered. Values here will take precedence. Keys and values should be provided
         under the "envoy.lb" metadata key.
         
        .envoy.config.core.v3.Metadata metadata_match = 3;