Class HTTPFault.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.fault.v3.HTTPFault.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HTTPFaultOrBuilder,Cloneable
- Enclosing class:
- HTTPFault
public static final class HTTPFault.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder> implements HTTPFaultOrBuilder
[#next-free-field: 16]
Protobuf typeenvoy.extensions.filters.http.fault.v3.HTTPFault
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPFault.BuilderaddAllDownstreamNodes(Iterable<String> values)Faults are injected for the specified list of downstream hosts.HTTPFault.BuilderaddAllHeaders(Iterable<? extends HeaderMatcher> values)Specifies a set of headers that the filter should match on.HTTPFault.BuilderaddDownstreamNodes(String value)Faults are injected for the specified list of downstream hosts.HTTPFault.BuilderaddDownstreamNodesBytes(com.google.protobuf.ByteString value)Faults are injected for the specified list of downstream hosts.HTTPFault.BuilderaddHeaders(int index, HeaderMatcher value)Specifies a set of headers that the filter should match on.HTTPFault.BuilderaddHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of headers that the filter should match on.HTTPFault.BuilderaddHeaders(HeaderMatcher value)Specifies a set of headers that the filter should match on.HTTPFault.BuilderaddHeaders(HeaderMatcher.Builder builderForValue)Specifies a set of headers that the filter should match on.HeaderMatcher.BuilderaddHeadersBuilder()Specifies a set of headers that the filter should match on.HeaderMatcher.BuilderaddHeadersBuilder(int index)Specifies a set of headers that the filter should match on.HTTPFault.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HTTPFaultbuild()HTTPFaultbuildPartial()HTTPFault.Builderclear()HTTPFault.BuilderclearAbort()If specified, the filter will abort requests based on the values in the object.HTTPFault.BuilderclearAbortGrpcStatusRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearAbortHttpStatusRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearAbortPercentRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearDelay()If specified, the filter will inject delays based on the values in the object.HTTPFault.BuilderclearDelayDurationRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearDelayPercentRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearDisableDownstreamClusterStats()To control whether stats storage is allocated dynamically for each downstream server.HTTPFault.BuilderclearDownstreamNodes()Faults are injected for the specified list of downstream hosts.HTTPFault.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HTTPFault.BuilderclearHeaders()Specifies a set of headers that the filter should match on.HTTPFault.BuilderclearMaxActiveFaults()The maximum number of faults that can be active at a single time via the configured fault filter.HTTPFault.BuilderclearMaxActiveFaultsRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HTTPFault.BuilderclearResponseRateLimit()The response rate limit to be applied to the response body of the stream.HTTPFault.BuilderclearResponseRateLimitPercentRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuilderclearUpstreamCluster()Specifies the name of the (destination) upstream cluster that the filter should match on.HTTPFault.Builderclone()FaultAbortgetAbort()If specified, the filter will abort requests based on the values in the object.FaultAbort.BuildergetAbortBuilder()If specified, the filter will abort requests based on the values in the object.StringgetAbortGrpcStatusRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetAbortGrpcStatusRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.StringgetAbortHttpStatusRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetAbortHttpStatusRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.FaultAbortOrBuildergetAbortOrBuilder()If specified, the filter will abort requests based on the values in the object.StringgetAbortPercentRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetAbortPercentRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFaultgetDefaultInstanceForType()FaultDelaygetDelay()If specified, the filter will inject delays based on the values in the object.FaultDelay.BuildergetDelayBuilder()If specified, the filter will inject delays based on the values in the object.StringgetDelayDurationRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetDelayDurationRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.FaultDelayOrBuildergetDelayOrBuilder()If specified, the filter will inject delays based on the values in the object.StringgetDelayPercentRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetDelayPercentRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisableDownstreamClusterStats()To control whether stats storage is allocated dynamically for each downstream server.StringgetDownstreamNodes(int index)Faults are injected for the specified list of downstream hosts.com.google.protobuf.ByteStringgetDownstreamNodesBytes(int index)Faults are injected for the specified list of downstream hosts.intgetDownstreamNodesCount()Faults are injected for the specified list of downstream hosts.com.google.protobuf.ProtocolStringListgetDownstreamNodesList()Faults are injected for the specified list of downstream hosts.HeaderMatchergetHeaders(int index)Specifies a set of headers that the filter should match on.HeaderMatcher.BuildergetHeadersBuilder(int index)Specifies a set of headers that the filter should match on.List<HeaderMatcher.Builder>getHeadersBuilderList()Specifies a set of headers that the filter should match on.intgetHeadersCount()Specifies a set of headers that the filter should match on.List<HeaderMatcher>getHeadersList()Specifies a set of headers that the filter should match on.HeaderMatcherOrBuildergetHeadersOrBuilder(int index)Specifies a set of headers that the filter should match on.List<? extends HeaderMatcherOrBuilder>getHeadersOrBuilderList()Specifies a set of headers that the filter should match on.com.google.protobuf.UInt32ValuegetMaxActiveFaults()The maximum number of faults that can be active at a single time via the configured fault filter.com.google.protobuf.UInt32Value.BuildergetMaxActiveFaultsBuilder()The maximum number of faults that can be active at a single time via the configured fault filter.com.google.protobuf.UInt32ValueOrBuildergetMaxActiveFaultsOrBuilder()The maximum number of faults that can be active at a single time via the configured fault filter.StringgetMaxActiveFaultsRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetMaxActiveFaultsRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.FaultRateLimitgetResponseRateLimit()The response rate limit to be applied to the response body of the stream.FaultRateLimit.BuildergetResponseRateLimitBuilder()The response rate limit to be applied to the response body of the stream.FaultRateLimitOrBuildergetResponseRateLimitOrBuilder()The response rate limit to be applied to the response body of the stream.StringgetResponseRateLimitPercentRuntime()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringgetResponseRateLimitPercentRuntimeBytes()The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.StringgetUpstreamCluster()Specifies the name of the (destination) upstream cluster that the filter should match on.com.google.protobuf.ByteStringgetUpstreamClusterBytes()Specifies the name of the (destination) upstream cluster that the filter should match on.booleanhasAbort()If specified, the filter will abort requests based on the values in the object.booleanhasDelay()If specified, the filter will inject delays based on the values in the object.booleanhasMaxActiveFaults()The maximum number of faults that can be active at a single time via the configured fault filter.booleanhasResponseRateLimit()The response rate limit to be applied to the response body of the stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HTTPFault.BuildermergeAbort(FaultAbort value)If specified, the filter will abort requests based on the values in the object.HTTPFault.BuildermergeDelay(FaultDelay value)If specified, the filter will inject delays based on the values in the object.HTTPFault.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HTTPFault.BuildermergeFrom(com.google.protobuf.Message other)HTTPFault.BuildermergeFrom(HTTPFault other)HTTPFault.BuildermergeMaxActiveFaults(com.google.protobuf.UInt32Value value)The maximum number of faults that can be active at a single time via the configured fault filter.HTTPFault.BuildermergeResponseRateLimit(FaultRateLimit value)The response rate limit to be applied to the response body of the stream.HTTPFault.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HTTPFault.BuilderremoveHeaders(int index)Specifies a set of headers that the filter should match on.HTTPFault.BuildersetAbort(FaultAbort value)If specified, the filter will abort requests based on the values in the object.HTTPFault.BuildersetAbort(FaultAbort.Builder builderForValue)If specified, the filter will abort requests based on the values in the object.HTTPFault.BuildersetAbortGrpcStatusRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetAbortGrpcStatusRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetAbortHttpStatusRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetAbortHttpStatusRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetAbortPercentRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetAbortPercentRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetDelay(FaultDelay value)If specified, the filter will inject delays based on the values in the object.HTTPFault.BuildersetDelay(FaultDelay.Builder builderForValue)If specified, the filter will inject delays based on the values in the object.HTTPFault.BuildersetDelayDurationRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetDelayDurationRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetDelayPercentRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetDelayPercentRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetDisableDownstreamClusterStats(boolean value)To control whether stats storage is allocated dynamically for each downstream server.HTTPFault.BuildersetDownstreamNodes(int index, String value)Faults are injected for the specified list of downstream hosts.HTTPFault.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HTTPFault.BuildersetHeaders(int index, HeaderMatcher value)Specifies a set of headers that the filter should match on.HTTPFault.BuildersetHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of headers that the filter should match on.HTTPFault.BuildersetMaxActiveFaults(com.google.protobuf.UInt32Value value)The maximum number of faults that can be active at a single time via the configured fault filter.HTTPFault.BuildersetMaxActiveFaults(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of faults that can be active at a single time via the configured fault filter.HTTPFault.BuildersetMaxActiveFaultsRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetMaxActiveFaultsRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HTTPFault.BuildersetResponseRateLimit(FaultRateLimit value)The response rate limit to be applied to the response body of the stream.HTTPFault.BuildersetResponseRateLimit(FaultRateLimit.Builder builderForValue)The response rate limit to be applied to the response body of the stream.HTTPFault.BuildersetResponseRateLimitPercentRuntime(String value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetResponseRateLimitPercentRuntimeBytes(com.google.protobuf.ByteString value)The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HTTPFault.BuildersetUpstreamCluster(String value)Specifies the name of the (destination) upstream cluster that the filter should match on.HTTPFault.BuildersetUpstreamClusterBytes(com.google.protobuf.ByteString value)Specifies the name of the (destination) upstream cluster that the filter should match on.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
clear
public HTTPFault.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<HTTPFault.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<HTTPFault.Builder>
-
getDefaultInstanceForType
public HTTPFault getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HTTPFault build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HTTPFault buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HTTPFault.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<HTTPFault.Builder>
-
setField
public HTTPFault.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<HTTPFault.Builder>
-
clearField
public HTTPFault.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
clearOneof
public HTTPFault.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
setRepeatedField
public HTTPFault.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<HTTPFault.Builder>
-
addRepeatedField
public HTTPFault.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<HTTPFault.Builder>
-
mergeFrom
public HTTPFault.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>
-
mergeFrom
public HTTPFault.Builder mergeFrom(HTTPFault other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
mergeFrom
public HTTPFault.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<HTTPFault.Builder>- Throws:
IOException
-
hasDelay
public boolean hasDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;- Specified by:
hasDelayin interfaceHTTPFaultOrBuilder
-
getDelay
public FaultDelay getDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;- Specified by:
getDelayin interfaceHTTPFaultOrBuilder
-
setDelay
public HTTPFault.Builder setDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
setDelay
public HTTPFault.Builder setDelay(FaultDelay.Builder builderForValue)
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
mergeDelay
public HTTPFault.Builder mergeDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
clearDelay
public HTTPFault.Builder clearDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
getDelayBuilder
public FaultDelay.Builder getDelayBuilder()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
getDelayOrBuilder
public FaultDelayOrBuilder getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;- Specified by:
getDelayOrBuilderin interfaceHTTPFaultOrBuilder
-
hasAbort
public boolean hasAbort()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;- Specified by:
hasAbortin interfaceHTTPFaultOrBuilder
-
getAbort
public FaultAbort getAbort()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;- Specified by:
getAbortin interfaceHTTPFaultOrBuilder
-
setAbort
public HTTPFault.Builder setAbort(FaultAbort value)
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
setAbort
public HTTPFault.Builder setAbort(FaultAbort.Builder builderForValue)
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
mergeAbort
public HTTPFault.Builder mergeAbort(FaultAbort value)
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
clearAbort
public HTTPFault.Builder clearAbort()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
getAbortBuilder
public FaultAbort.Builder getAbortBuilder()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
getAbortOrBuilder
public FaultAbortOrBuilder getAbortOrBuilder()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;- Specified by:
getAbortOrBuilderin interfaceHTTPFaultOrBuilder
-
getUpstreamCluster
public String getUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;- Specified by:
getUpstreamClusterin interfaceHTTPFaultOrBuilder
-
getUpstreamClusterBytes
public com.google.protobuf.ByteString getUpstreamClusterBytes()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;- Specified by:
getUpstreamClusterBytesin interfaceHTTPFaultOrBuilder
-
setUpstreamCluster
public HTTPFault.Builder setUpstreamCluster(String value)
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
-
clearUpstreamCluster
public HTTPFault.Builder clearUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
-
setUpstreamClusterBytes
public HTTPFault.Builder setUpstreamClusterBytes(com.google.protobuf.ByteString value)
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
-
getHeadersList
public List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;- Specified by:
getHeadersListin interfaceHTTPFaultOrBuilder
-
getHeadersCount
public int getHeadersCount()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;- Specified by:
getHeadersCountin interfaceHTTPFaultOrBuilder
-
getHeaders
public HeaderMatcher getHeaders(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;- Specified by:
getHeadersin interfaceHTTPFaultOrBuilder
-
setHeaders
public HTTPFault.Builder setHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
setHeaders
public HTTPFault.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(HeaderMatcher value)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addAllHeaders
public HTTPFault.Builder addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
clearHeaders
public HTTPFault.Builder clearHeaders()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
removeHeaders
public HTTPFault.Builder removeHeaders(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersBuilder
public HeaderMatcher.Builder getHeadersBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersOrBuilder
public HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;- Specified by:
getHeadersOrBuilderin interfaceHTTPFaultOrBuilder
-
getHeadersOrBuilderList
public List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;- Specified by:
getHeadersOrBuilderListin interfaceHTTPFaultOrBuilder
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersBuilderList
public List<HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getDownstreamNodesList
public com.google.protobuf.ProtocolStringList getDownstreamNodesList()
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;- Specified by:
getDownstreamNodesListin interfaceHTTPFaultOrBuilder
-
getDownstreamNodesCount
public int getDownstreamNodesCount()
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;- Specified by:
getDownstreamNodesCountin interfaceHTTPFaultOrBuilder
-
getDownstreamNodes
public String getDownstreamNodes(int index)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;- Specified by:
getDownstreamNodesin interfaceHTTPFaultOrBuilder
-
getDownstreamNodesBytes
public com.google.protobuf.ByteString getDownstreamNodesBytes(int index)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;- Specified by:
getDownstreamNodesBytesin interfaceHTTPFaultOrBuilder
-
setDownstreamNodes
public HTTPFault.Builder setDownstreamNodes(int index, String value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
-
addDownstreamNodes
public HTTPFault.Builder addDownstreamNodes(String value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
-
addAllDownstreamNodes
public HTTPFault.Builder addAllDownstreamNodes(Iterable<String> values)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
-
clearDownstreamNodes
public HTTPFault.Builder clearDownstreamNodes()
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
-
addDownstreamNodesBytes
public HTTPFault.Builder addDownstreamNodesBytes(com.google.protobuf.ByteString value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
-
hasMaxActiveFaults
public boolean hasMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;- Specified by:
hasMaxActiveFaultsin interfaceHTTPFaultOrBuilder
-
getMaxActiveFaults
public com.google.protobuf.UInt32Value getMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;- Specified by:
getMaxActiveFaultsin interfaceHTTPFaultOrBuilder
-
setMaxActiveFaults
public HTTPFault.Builder setMaxActiveFaults(com.google.protobuf.UInt32Value value)
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
setMaxActiveFaults
public HTTPFault.Builder setMaxActiveFaults(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
mergeMaxActiveFaults
public HTTPFault.Builder mergeMaxActiveFaults(com.google.protobuf.UInt32Value value)
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
clearMaxActiveFaults
public HTTPFault.Builder clearMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
getMaxActiveFaultsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxActiveFaultsBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
getMaxActiveFaultsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxActiveFaultsOrBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;- Specified by:
getMaxActiveFaultsOrBuilderin interfaceHTTPFaultOrBuilder
-
hasResponseRateLimit
public boolean hasResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;- Specified by:
hasResponseRateLimitin interfaceHTTPFaultOrBuilder
-
getResponseRateLimit
public FaultRateLimit getResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;- Specified by:
getResponseRateLimitin interfaceHTTPFaultOrBuilder
-
setResponseRateLimit
public HTTPFault.Builder setResponseRateLimit(FaultRateLimit value)
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
setResponseRateLimit
public HTTPFault.Builder setResponseRateLimit(FaultRateLimit.Builder builderForValue)
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
mergeResponseRateLimit
public HTTPFault.Builder mergeResponseRateLimit(FaultRateLimit value)
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
clearResponseRateLimit
public HTTPFault.Builder clearResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
getResponseRateLimitBuilder
public FaultRateLimit.Builder getResponseRateLimitBuilder()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
getResponseRateLimitOrBuilder
public FaultRateLimitOrBuilder getResponseRateLimitOrBuilder()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;- Specified by:
getResponseRateLimitOrBuilderin interfaceHTTPFaultOrBuilder
-
getDelayPercentRuntime
public String getDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;- Specified by:
getDelayPercentRuntimein interfaceHTTPFaultOrBuilder
-
getDelayPercentRuntimeBytes
public com.google.protobuf.ByteString getDelayPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;- Specified by:
getDelayPercentRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setDelayPercentRuntime
public HTTPFault.Builder setDelayPercentRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
-
clearDelayPercentRuntime
public HTTPFault.Builder clearDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
-
setDelayPercentRuntimeBytes
public HTTPFault.Builder setDelayPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
-
getAbortPercentRuntime
public String getAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;- Specified by:
getAbortPercentRuntimein interfaceHTTPFaultOrBuilder
-
getAbortPercentRuntimeBytes
public com.google.protobuf.ByteString getAbortPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;- Specified by:
getAbortPercentRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setAbortPercentRuntime
public HTTPFault.Builder setAbortPercentRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
-
clearAbortPercentRuntime
public HTTPFault.Builder clearAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
-
setAbortPercentRuntimeBytes
public HTTPFault.Builder setAbortPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
-
getDelayDurationRuntime
public String getDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;- Specified by:
getDelayDurationRuntimein interfaceHTTPFaultOrBuilder
-
getDelayDurationRuntimeBytes
public com.google.protobuf.ByteString getDelayDurationRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;- Specified by:
getDelayDurationRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setDelayDurationRuntime
public HTTPFault.Builder setDelayDurationRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
-
clearDelayDurationRuntime
public HTTPFault.Builder clearDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
-
setDelayDurationRuntimeBytes
public HTTPFault.Builder setDelayDurationRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
-
getAbortHttpStatusRuntime
public String getAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;- Specified by:
getAbortHttpStatusRuntimein interfaceHTTPFaultOrBuilder
-
getAbortHttpStatusRuntimeBytes
public com.google.protobuf.ByteString getAbortHttpStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;- Specified by:
getAbortHttpStatusRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setAbortHttpStatusRuntime
public HTTPFault.Builder setAbortHttpStatusRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
-
clearAbortHttpStatusRuntime
public HTTPFault.Builder clearAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
-
setAbortHttpStatusRuntimeBytes
public HTTPFault.Builder setAbortHttpStatusRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
-
getMaxActiveFaultsRuntime
public String getMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;- Specified by:
getMaxActiveFaultsRuntimein interfaceHTTPFaultOrBuilder
-
getMaxActiveFaultsRuntimeBytes
public com.google.protobuf.ByteString getMaxActiveFaultsRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;- Specified by:
getMaxActiveFaultsRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setMaxActiveFaultsRuntime
public HTTPFault.Builder setMaxActiveFaultsRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
-
clearMaxActiveFaultsRuntime
public HTTPFault.Builder clearMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
-
setMaxActiveFaultsRuntimeBytes
public HTTPFault.Builder setMaxActiveFaultsRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
-
getResponseRateLimitPercentRuntime
public String getResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;- Specified by:
getResponseRateLimitPercentRuntimein interfaceHTTPFaultOrBuilder
-
getResponseRateLimitPercentRuntimeBytes
public com.google.protobuf.ByteString getResponseRateLimitPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;- Specified by:
getResponseRateLimitPercentRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setResponseRateLimitPercentRuntime
public HTTPFault.Builder setResponseRateLimitPercentRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;
-
clearResponseRateLimitPercentRuntime
public HTTPFault.Builder clearResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;
-
setResponseRateLimitPercentRuntimeBytes
public HTTPFault.Builder setResponseRateLimitPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;
-
getAbortGrpcStatusRuntime
public String getAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;- Specified by:
getAbortGrpcStatusRuntimein interfaceHTTPFaultOrBuilder
-
getAbortGrpcStatusRuntimeBytes
public com.google.protobuf.ByteString getAbortGrpcStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;- Specified by:
getAbortGrpcStatusRuntimeBytesin interfaceHTTPFaultOrBuilder
-
setAbortGrpcStatusRuntime
public HTTPFault.Builder setAbortGrpcStatusRuntime(String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
-
clearAbortGrpcStatusRuntime
public HTTPFault.Builder clearAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
-
setAbortGrpcStatusRuntimeBytes
public HTTPFault.Builder setAbortGrpcStatusRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
-
getDisableDownstreamClusterStats
public boolean getDisableDownstreamClusterStats()
To control whether stats storage is allocated dynamically for each downstream server. If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter. If set to false, dynamic stats storage will be allocated for the downstream cluster name. Default value is false.
bool disable_downstream_cluster_stats = 15;- Specified by:
getDisableDownstreamClusterStatsin interfaceHTTPFaultOrBuilder
-
setDisableDownstreamClusterStats
public HTTPFault.Builder setDisableDownstreamClusterStats(boolean value)
To control whether stats storage is allocated dynamically for each downstream server. If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter. If set to false, dynamic stats storage will be allocated for the downstream cluster name. Default value is false.
bool disable_downstream_cluster_stats = 15;
-
clearDisableDownstreamClusterStats
public HTTPFault.Builder clearDisableDownstreamClusterStats()
To control whether stats storage is allocated dynamically for each downstream server. If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter. If set to false, dynamic stats storage will be allocated for the downstream cluster name. Default value is false.
bool disable_downstream_cluster_stats = 15;
-
setUnknownFields
public final HTTPFault.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
mergeUnknownFields
public final HTTPFault.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>
-
-