Interface RouteActionOrBuilder

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

public interface RouteActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Indicates the upstream cluster to which the request should be routed.
    com.google.protobuf.ByteString
    Indicates the upstream cluster to which the request should be routed.
     
    Multiple upstream clusters can be specified for a given route.
    Multiple upstream clusters can be specified for a given route.
    boolean
    Indicates the upstream cluster to which the request should be routed.
    boolean
    Multiple upstream clusters can be specified for a given route.

    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

    • hasCluster

      boolean hasCluster()
       Indicates the upstream cluster to which the request should be routed.
       
      string cluster = 1;
      Returns:
      Whether the cluster field is set.
    • getCluster

      String getCluster()
       Indicates the upstream cluster to which the request should be routed.
       
      string cluster = 1;
      Returns:
      The cluster.
    • getClusterBytes

      com.google.protobuf.ByteString getClusterBytes()
       Indicates the upstream cluster to which the request should be routed.
       
      string cluster = 1;
      Returns:
      The bytes for cluster.
    • hasWeightedClusters

      boolean hasWeightedClusters()
       Multiple upstream clusters can be specified for a given route. The
       request is routed to one of the upstream clusters based on weights
       assigned to each cluster.
       Currently ClusterWeight only supports the name and weight fields.
       
      .envoy.api.v2.route.WeightedCluster weighted_clusters = 2;
      Returns:
      Whether the weightedClusters field is set.
    • getWeightedClusters

      WeightedCluster getWeightedClusters()
       Multiple upstream clusters can be specified for a given route. The
       request is routed to one of the upstream clusters based on weights
       assigned to each cluster.
       Currently ClusterWeight only supports the name and weight fields.
       
      .envoy.api.v2.route.WeightedCluster weighted_clusters = 2;
      Returns:
      The weightedClusters.
    • getWeightedClustersOrBuilder

      WeightedClusterOrBuilder getWeightedClustersOrBuilder()
       Multiple upstream clusters can be specified for a given route. The
       request is routed to one of the upstream clusters based on weights
       assigned to each cluster.
       Currently ClusterWeight only supports the name and weight fields.
       
      .envoy.api.v2.route.WeightedCluster weighted_clusters = 2;
    • getClusterSpecifierCase

      RouteAction.ClusterSpecifierCase getClusterSpecifierCase()