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 Detail

      • 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.config.route.v3.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.config.route.v3.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.config.route.v3.WeightedCluster weighted_clusters = 2;