Class RouteAction.Builder
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.generic_proxy.action.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
Configuration for the route match action. [#next-free-field: 8]Protobuf type
envoy.extensions.filters.network.generic_proxy.action.v3.RouteAction-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Indicates the upstream cluster to which the request should be routed.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Route metadata.The name of the route action.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the retry policy for the route.Specifies the upstream timeout for the route.[#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.clone()booleanRoute level config for L7 generic filters.Indicates the upstream cluster to which the request should be routed.com.google.protobuf.ByteStringIndicates the upstream cluster to which the request should be routed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRoute metadata.Route metadata.Route metadata.Deprecated.getName()The name of the route action.com.google.protobuf.ByteStringThe name of the route action.Deprecated.intRoute level config for L7 generic filters.Route level config for L7 generic filters.com.google.protobuf.AnygetPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) Route level config for L7 generic filters.com.google.protobuf.AnyRoute level config for L7 generic filters.Specifies the retry policy for the route.Specifies the retry policy for the route.Specifies the retry policy for the route.com.google.protobuf.DurationSpecifies the upstream timeout for the route.com.google.protobuf.Duration.BuilderSpecifies the upstream timeout for the route.com.google.protobuf.DurationOrBuilderSpecifies the upstream timeout for the route.[#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.[#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.[#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.booleanIndicates the upstream cluster to which the request should be routed.booleanRoute metadata.booleanSpecifies the retry policy for the route.booleanSpecifies the upstream timeout for the route.boolean[#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RouteAction other) mergeMetadata(Metadata value) Route metadata.mergeRetryPolicy(RetryPolicy value) Specifies the retry policy for the route.mergeTimeout(com.google.protobuf.Duration value) Specifies the upstream timeout for the route.final RouteAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) [#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.putAllPerFilterConfig(Map<String, com.google.protobuf.Any> values) Route level config for L7 generic filters.putPerFilterConfig(String key, com.google.protobuf.Any value) Route level config for L7 generic filters.com.google.protobuf.Any.BuilderRoute level config for L7 generic filters.Route level config for L7 generic filters.setCluster(String value) Indicates the upstream cluster to which the request should be routed.setClusterBytes(com.google.protobuf.ByteString value) Indicates the upstream cluster to which the request should be routed.setMetadata(Metadata value) Route metadata.setMetadata(Metadata.Builder builderForValue) Route metadata.The name of the route action.setNameBytes(com.google.protobuf.ByteString value) The name of the route action.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) Specifies the retry policy for the route.setRetryPolicy(RetryPolicy.Builder builderForValue) Specifies the retry policy for the route.setTimeout(com.google.protobuf.Duration value) Specifies the upstream timeout for the route.setTimeout(com.google.protobuf.Duration.Builder builderForValue) Specifies the upstream timeout for the route.final RouteAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) [#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.setWeightedClusters(WeightedCluster.Builder builderForValue) [#not-implemented-hide:] Multiple upstream clusters can be specified for a given route.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
setField
public RouteAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
setRepeatedField
public RouteAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
addRepeatedField
public RouteAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>- Throws:
IOException
-
getClusterSpecifierCase
- Specified by:
getClusterSpecifierCasein interfaceRouteActionOrBuilder
-
clearClusterSpecifier
-
getName
The name of the route action. This should be unique across all route actions.
string name = 5;- Specified by:
getNamein interfaceRouteActionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the route action. This should be unique across all route actions.
string name = 5;- Specified by:
getNameBytesin interfaceRouteActionOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the route action. This should be unique across all route actions.
string name = 5;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the route action. This should be unique across all route actions.
string name = 5;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the route action. This should be unique across all route actions.
string name = 5;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCluster
public boolean hasCluster()Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Specified by:
hasClusterin interfaceRouteActionOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Specified by:
getClusterin interfaceRouteActionOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Specified by:
getClusterBytesin interfaceRouteActionOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Returns:
- This builder for chaining.
-
setClusterBytes
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
hasWeightedClusters
public boolean hasWeightedClusters()[#not-implemented-hide:] 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;- Specified by:
hasWeightedClustersin interfaceRouteActionOrBuilder- Returns:
- Whether the weightedClusters field is set.
-
getWeightedClusters
[#not-implemented-hide:] 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;- Specified by:
getWeightedClustersin interfaceRouteActionOrBuilder- Returns:
- The weightedClusters.
-
setWeightedClusters
[#not-implemented-hide:] 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; -
setWeightedClusters
[#not-implemented-hide:] 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; -
mergeWeightedClusters
[#not-implemented-hide:] 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; -
clearWeightedClusters
[#not-implemented-hide:] 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; -
getWeightedClustersBuilder
[#not-implemented-hide:] 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; -
getWeightedClustersOrBuilder
[#not-implemented-hide:] 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;- Specified by:
getWeightedClustersOrBuilderin interfaceRouteActionOrBuilder
-
hasMetadata
public boolean hasMetadata()Route metadata.
.envoy.config.core.v3.Metadata metadata = 3;- Specified by:
hasMetadatain interfaceRouteActionOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3;- Specified by:
getMetadatain interfaceRouteActionOrBuilder- Returns:
- The metadata.
-
setMetadata
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3; -
setMetadata
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3; -
mergeMetadata
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3; -
clearMetadata
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3; -
getMetadataBuilder
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3; -
getMetadataOrBuilder
Route metadata.
.envoy.config.core.v3.Metadata metadata = 3;- Specified by:
getMetadataOrBuilderin interfaceRouteActionOrBuilder
-
getPerFilterConfigCount
public int getPerFilterConfigCount()Description copied from interface:RouteActionOrBuilderRoute level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4;- Specified by:
getPerFilterConfigCountin interfaceRouteActionOrBuilder
-
containsPerFilterConfig
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4;- Specified by:
containsPerFilterConfigin interfaceRouteActionOrBuilder
-
getPerFilterConfig
Deprecated.UsegetPerFilterConfigMap()instead.- Specified by:
getPerFilterConfigin interfaceRouteActionOrBuilder
-
getPerFilterConfigMap
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4;- Specified by:
getPerFilterConfigMapin interfaceRouteActionOrBuilder
-
getPerFilterConfigOrDefault
public com.google.protobuf.Any getPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4;- Specified by:
getPerFilterConfigOrDefaultin interfaceRouteActionOrBuilder
-
getPerFilterConfigOrThrow
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4;- Specified by:
getPerFilterConfigOrThrowin interfaceRouteActionOrBuilder
-
clearPerFilterConfig
-
removePerFilterConfig
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4; -
getMutablePerFilterConfig
Deprecated.Use alternate mutation accessors instead. -
putPerFilterConfig
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4; -
putAllPerFilterConfig
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4; -
putPerFilterConfigBuilderIfAbsent
Route level config for L7 generic filters. The key should be the related :ref:`extension name <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, .google.protobuf.Any> per_filter_config = 4; -
hasTimeout
public boolean hasTimeout()Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6;- Specified by:
hasTimeoutin interfaceRouteActionOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6;- Specified by:
getTimeoutin interfaceRouteActionOrBuilder- Returns:
- The timeout.
-
setTimeout
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6; -
setTimeout
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6; -
mergeTimeout
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6; -
clearTimeout
Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6; -
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6; -
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()Specifies the upstream timeout for the route. If not specified, the default is 15s. This spans between the point at which the entire downstream request (i.e. end-of-stream) has been processed and when the upstream response has been completely processed. A value of 0 will disable the route's timeout.
.google.protobuf.Duration timeout = 6;- Specified by:
getTimeoutOrBuilderin interfaceRouteActionOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7;- Specified by:
hasRetryPolicyin interfaceRouteActionOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7;- Specified by:
getRetryPolicyin interfaceRouteActionOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7; -
setRetryPolicy
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7; -
mergeRetryPolicy
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7; -
clearRetryPolicy
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7; -
getRetryPolicyBuilder
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7; -
getRetryPolicyOrBuilder
Specifies the retry policy for the route. If not specified, then no retries will be performed. .. note:: Only simplest retry policy is supported and only ``num_retries`` field is used for generic proxy. The default value for ``num_retries`` is 1 means that the request will be tried once and no additional retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 7;- Specified by:
getRetryPolicyOrBuilderin interfaceRouteActionOrBuilder
-
setUnknownFields
public final RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeUnknownFields
public final RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-