java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
io.envoyproxy.envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RouteActionOrBuilder, Cloneable
Enclosing class:
RouteAction

public static final class RouteAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder> implements RouteActionOrBuilder
 [#next-free-field: 8]
 
Protobuf type envoy.extensions.filters.network.thrift_proxy.v3.RouteAction
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • clear

      public RouteAction.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • getDefaultInstanceForType

      public RouteAction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RouteAction build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RouteAction buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public RouteAction.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • setField

      public RouteAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • clearField

      public RouteAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • clearOneof

      public RouteAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • setRepeatedField

      public RouteAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • addRepeatedField

      public RouteAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • mergeFrom

      public RouteAction.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
    • mergeFrom

      public RouteAction.Builder mergeFrom(RouteAction other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • mergeFrom

      public RouteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
      Throws:
      IOException
    • getClusterSpecifierCase

      public RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
      Specified by:
      getClusterSpecifierCase in interface RouteActionOrBuilder
    • clearClusterSpecifier

      public RouteAction.Builder clearClusterSpecifier()
    • hasCluster

      public boolean hasCluster()
       Indicates a single upstream cluster to which the request should be routed
       to.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      hasCluster in interface RouteActionOrBuilder
      Returns:
      Whether the cluster field is set.
    • getCluster

      public String getCluster()
       Indicates a single upstream cluster to which the request should be routed
       to.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getCluster in interface RouteActionOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       Indicates a single upstream cluster to which the request should be routed
       to.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getClusterBytes in interface RouteActionOrBuilder
      Returns:
      The bytes for cluster.
    • setCluster

      public RouteAction.Builder setCluster(String value)
       Indicates a single upstream cluster to which the request should be routed
       to.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The cluster to set.
      Returns:
      This builder for chaining.
    • clearCluster

      public RouteAction.Builder clearCluster()
       Indicates a single upstream cluster to which the request should be routed
       to.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setClusterBytes

      public RouteAction.Builder setClusterBytes(com.google.protobuf.ByteString value)
       Indicates a single upstream cluster to which the request should be routed
       to.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for cluster to set.
      Returns:
      This builder for chaining.
    • hasWeightedClusters

      public 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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
      Specified by:
      hasWeightedClusters in interface RouteActionOrBuilder
      Returns:
      Whether the weightedClusters field is set.
    • getWeightedClusters

      public 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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
      Specified by:
      getWeightedClusters in interface RouteActionOrBuilder
      Returns:
      The weightedClusters.
    • setWeightedClusters

      public RouteAction.Builder setWeightedClusters(WeightedCluster value)
       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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
    • setWeightedClusters

      public RouteAction.Builder setWeightedClusters(WeightedCluster.Builder builderForValue)
       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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
    • mergeWeightedClusters

      public RouteAction.Builder mergeWeightedClusters(WeightedCluster value)
       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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
    • clearWeightedClusters

      public RouteAction.Builder clearWeightedClusters()
       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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
    • getWeightedClustersBuilder

      public WeightedCluster.Builder getWeightedClustersBuilder()
       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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
    • getWeightedClustersOrBuilder

      public 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.
       
      .envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;
      Specified by:
      getWeightedClustersOrBuilder in interface RouteActionOrBuilder
    • hasClusterHeader

      public boolean hasClusterHeader()
       Envoy will determine the cluster to route to by reading the value of the
       Thrift header named by cluster_header from the request headers. If the
       header is not found or the referenced cluster does not exist Envoy will
       respond with an unknown method exception or an internal error exception,
       respectively.
       
      string cluster_header = 6 [(.validate.rules) = { ... }
      Specified by:
      hasClusterHeader in interface RouteActionOrBuilder
      Returns:
      Whether the clusterHeader field is set.
    • getClusterHeader

      public String getClusterHeader()
       Envoy will determine the cluster to route to by reading the value of the
       Thrift header named by cluster_header from the request headers. If the
       header is not found or the referenced cluster does not exist Envoy will
       respond with an unknown method exception or an internal error exception,
       respectively.
       
      string cluster_header = 6 [(.validate.rules) = { ... }
      Specified by:
      getClusterHeader in interface RouteActionOrBuilder
      Returns:
      The clusterHeader.
    • getClusterHeaderBytes

      public com.google.protobuf.ByteString getClusterHeaderBytes()
       Envoy will determine the cluster to route to by reading the value of the
       Thrift header named by cluster_header from the request headers. If the
       header is not found or the referenced cluster does not exist Envoy will
       respond with an unknown method exception or an internal error exception,
       respectively.
       
      string cluster_header = 6 [(.validate.rules) = { ... }
      Specified by:
      getClusterHeaderBytes in interface RouteActionOrBuilder
      Returns:
      The bytes for clusterHeader.
    • setClusterHeader

      public RouteAction.Builder setClusterHeader(String value)
       Envoy will determine the cluster to route to by reading the value of the
       Thrift header named by cluster_header from the request headers. If the
       header is not found or the referenced cluster does not exist Envoy will
       respond with an unknown method exception or an internal error exception,
       respectively.
       
      string cluster_header = 6 [(.validate.rules) = { ... }
      Parameters:
      value - The clusterHeader to set.
      Returns:
      This builder for chaining.
    • clearClusterHeader

      public RouteAction.Builder clearClusterHeader()
       Envoy will determine the cluster to route to by reading the value of the
       Thrift header named by cluster_header from the request headers. If the
       header is not found or the referenced cluster does not exist Envoy will
       respond with an unknown method exception or an internal error exception,
       respectively.
       
      string cluster_header = 6 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setClusterHeaderBytes

      public RouteAction.Builder setClusterHeaderBytes(com.google.protobuf.ByteString value)
       Envoy will determine the cluster to route to by reading the value of the
       Thrift header named by cluster_header from the request headers. If the
       header is not found or the referenced cluster does not exist Envoy will
       respond with an unknown method exception or an internal error exception,
       respectively.
       
      string cluster_header = 6 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for clusterHeader to set.
      Returns:
      This builder for chaining.
    • hasMetadataMatch

      public 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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
      Specified by:
      hasMetadataMatch in interface RouteActionOrBuilder
      Returns:
      Whether the metadataMatch field is set.
    • getMetadataMatch

      public 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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
      Specified by:
      getMetadataMatch in interface RouteActionOrBuilder
      Returns:
      The metadataMatch.
    • setMetadataMatch

      public RouteAction.Builder setMetadataMatch(Metadata value)
       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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
    • setMetadataMatch

      public RouteAction.Builder setMetadataMatch(Metadata.Builder builderForValue)
       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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
    • mergeMetadataMatch

      public RouteAction.Builder mergeMetadataMatch(Metadata value)
       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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
    • clearMetadataMatch

      public RouteAction.Builder clearMetadataMatch()
       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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
    • getMetadataMatchBuilder

      public Metadata.Builder getMetadataMatchBuilder()
       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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
    • getMetadataMatchOrBuilder

      public 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.
       Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
       <envoy_v3_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
       with values there taking precedence. Keys and values should be provided under the "envoy.lb"
       metadata key.
       
      .envoy.config.core.v3.Metadata metadata_match = 3;
      Specified by:
      getMetadataMatchOrBuilder in interface RouteActionOrBuilder
    • getRateLimitsList

      public List<RateLimit> getRateLimitsList()
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
      Specified by:
      getRateLimitsList in interface RouteActionOrBuilder
    • getRateLimitsCount

      public int getRateLimitsCount()
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
      Specified by:
      getRateLimitsCount in interface RouteActionOrBuilder
    • getRateLimits

      public RateLimit getRateLimits(int index)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
      Specified by:
      getRateLimits in interface RouteActionOrBuilder
    • setRateLimits

      public RouteAction.Builder setRateLimits(int index, RateLimit value)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • setRateLimits

      public RouteAction.Builder setRateLimits(int index, RateLimit.Builder builderForValue)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • addRateLimits

      public RouteAction.Builder addRateLimits(RateLimit value)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • addRateLimits

      public RouteAction.Builder addRateLimits(int index, RateLimit value)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • addRateLimits

      public RouteAction.Builder addRateLimits(RateLimit.Builder builderForValue)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • addRateLimits

      public RouteAction.Builder addRateLimits(int index, RateLimit.Builder builderForValue)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • addAllRateLimits

      public RouteAction.Builder addAllRateLimits(Iterable<? extends RateLimit> values)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • clearRateLimits

      public RouteAction.Builder clearRateLimits()
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • removeRateLimits

      public RouteAction.Builder removeRateLimits(int index)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • getRateLimitsBuilder

      public RateLimit.Builder getRateLimitsBuilder(int index)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • getRateLimitsOrBuilder

      public RateLimitOrBuilder getRateLimitsOrBuilder(int index)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
      Specified by:
      getRateLimitsOrBuilder in interface RouteActionOrBuilder
    • getRateLimitsOrBuilderList

      public List<? extends RateLimitOrBuilder> getRateLimitsOrBuilderList()
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
      Specified by:
      getRateLimitsOrBuilderList in interface RouteActionOrBuilder
    • addRateLimitsBuilder

      public RateLimit.Builder addRateLimitsBuilder()
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • addRateLimitsBuilder

      public RateLimit.Builder addRateLimitsBuilder(int index)
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • getRateLimitsBuilderList

      public List<RateLimit.Builder> getRateLimitsBuilderList()
       Specifies a set of rate limit configurations that could be applied to the route.
       N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
       action with the header name ":method-name".
       
      repeated .envoy.config.route.v3.RateLimit rate_limits = 4;
    • getStripServiceName

      public boolean getStripServiceName()
       Strip the service prefix from the method name, if there's a prefix. For
       example, the method call Service:method would end up being just method.
       
      bool strip_service_name = 5;
      Specified by:
      getStripServiceName in interface RouteActionOrBuilder
      Returns:
      The stripServiceName.
    • setStripServiceName

      public RouteAction.Builder setStripServiceName(boolean value)
       Strip the service prefix from the method name, if there's a prefix. For
       example, the method call Service:method would end up being just method.
       
      bool strip_service_name = 5;
      Parameters:
      value - The stripServiceName to set.
      Returns:
      This builder for chaining.
    • clearStripServiceName

      public RouteAction.Builder clearStripServiceName()
       Strip the service prefix from the method name, if there's a prefix. For
       example, the method call Service:method would end up being just method.
       
      bool strip_service_name = 5;
      Returns:
      This builder for chaining.
    • getRequestMirrorPoliciesList

      public List<RouteAction.RequestMirrorPolicy> getRequestMirrorPoliciesList()
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
      Specified by:
      getRequestMirrorPoliciesList in interface RouteActionOrBuilder
    • getRequestMirrorPoliciesCount

      public int getRequestMirrorPoliciesCount()
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
      Specified by:
      getRequestMirrorPoliciesCount in interface RouteActionOrBuilder
    • getRequestMirrorPolicies

      public RouteAction.RequestMirrorPolicy getRequestMirrorPolicies(int index)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
      Specified by:
      getRequestMirrorPolicies in interface RouteActionOrBuilder
    • setRequestMirrorPolicies

      public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • setRequestMirrorPolicies

      public RouteAction.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • addRequestMirrorPolicies

      public RouteAction.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • addRequestMirrorPolicies

      public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • addRequestMirrorPolicies

      public RouteAction.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • addRequestMirrorPolicies

      public RouteAction.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • addAllRequestMirrorPolicies

      public RouteAction.Builder addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • clearRequestMirrorPolicies

      public RouteAction.Builder clearRequestMirrorPolicies()
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • removeRequestMirrorPolicies

      public RouteAction.Builder removeRequestMirrorPolicies(int index)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • getRequestMirrorPoliciesBuilder

      public RouteAction.RequestMirrorPolicy.Builder getRequestMirrorPoliciesBuilder(int index)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • getRequestMirrorPoliciesOrBuilder

      public RouteAction.RequestMirrorPolicyOrBuilder getRequestMirrorPoliciesOrBuilder(int index)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
      Specified by:
      getRequestMirrorPoliciesOrBuilder in interface RouteActionOrBuilder
    • getRequestMirrorPoliciesOrBuilderList

      public List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
      Specified by:
      getRequestMirrorPoliciesOrBuilderList in interface RouteActionOrBuilder
    • addRequestMirrorPoliciesBuilder

      public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder()
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • addRequestMirrorPoliciesBuilder

      public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder(int index)
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • getRequestMirrorPoliciesBuilderList

      public List<RouteAction.RequestMirrorPolicy.Builder> getRequestMirrorPoliciesBuilderList()
       Indicates that the route has request mirroring policies.
       
      repeated .envoy.extensions.filters.network.thrift_proxy.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 7;
    • setUnknownFields

      public final RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
    • mergeUnknownFields

      public final RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>