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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCluster()
      Indicates the upstream cluster to which the request should be routed.
      com.google.protobuf.ByteString getClusterBytes()
      Indicates the upstream cluster to which the request should be routed.
      RouteAction.ClusterSpecifierCase getClusterSpecifierCase()  
      WeightedCluster getWeightedClusters()
      Multiple upstream clusters can be specified for a given route.
      WeightedClusterOrBuilder getWeightedClustersOrBuilder()
      Multiple upstream clusters can be specified for a given route.
      boolean hasCluster()
      Indicates the upstream cluster to which the request should be routed.
      boolean hasWeightedClusters()
      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 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

        java.lang.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;