Class HTTPFault.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<HTTPFault.Builder>
implements HTTPFaultOrBuilder
[#next-free-field: 17]Protobuf type
envoy.extensions.filters.http.fault.v3.HTTPFault-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FaultAbortprivate com.google.protobuf.SingleFieldBuilder<FaultAbort, FaultAbort.Builder, FaultAbortOrBuilder> private Objectprivate Objectprivate Objectprivate intprivate FaultDelayprivate com.google.protobuf.SingleFieldBuilder<FaultDelay, FaultDelay.Builder, FaultDelayOrBuilder> private Objectprivate Objectprivate booleanprivate com.google.protobuf.LazyStringArrayListprivate com.google.protobuf.Structprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> private List<HeaderMatcher> private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private com.google.protobuf.UInt32Valueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private Objectprivate FaultRateLimitprivate com.google.protobuf.SingleFieldBuilder<FaultRateLimit, FaultRateLimit.Builder, FaultRateLimitOrBuilder> private Objectprivate Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllDownstreamNodes(Iterable<String> values) Faults are injected for the specified list of downstream hosts.addAllHeaders(Iterable<? extends HeaderMatcher> values) Specifies a set of headers that the filter should match on.addDownstreamNodes(String value) Faults are injected for the specified list of downstream hosts.addDownstreamNodesBytes(com.google.protobuf.ByteString value) Faults are injected for the specified list of downstream hosts.addHeaders(int index, HeaderMatcher value) Specifies a set of headers that the filter should match on.addHeaders(int index, HeaderMatcher.Builder builderForValue) Specifies a set of headers that the filter should match on.addHeaders(HeaderMatcher value) Specifies a set of headers that the filter should match on.addHeaders(HeaderMatcher.Builder builderForValue) Specifies a set of headers that the filter should match on.Specifies a set of headers that the filter should match on.addHeadersBuilder(int index) Specifies a set of headers that the filter should match on.build()private voidbuildPartial0(HTTPFault result) private voidbuildPartialRepeatedFields(HTTPFault result) clear()If specified, the filter will abort requests based on the values in the object.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.If specified, the filter will inject delays based on the values in the object.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.To control whether stats storage is allocated dynamically for each downstream server.Faults are injected for the specified list of downstream hosts.When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.Specifies a set of headers that the filter should match on.The maximum number of faults that can be active at a single time via the configured fault filter.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The response rate limit to be applied to the response body of the stream.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.Specifies the name of the (destination) upstream cluster that the filter should match on.private voidprivate voidgetAbort()If specified, the filter will abort requests based on the values in the object.If specified, the filter will abort requests based on the values in the object.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.If specified, the filter will abort requests based on the values in the object.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.getDelay()If specified, the filter will inject delays based on the values in the object.If specified, the filter will inject delays based on the values in the object.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.If specified, the filter will inject delays based on the values in the object.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanTo control whether stats storage is allocated dynamically for each downstream server.getDownstreamNodes(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.intFaults are injected for the specified list of downstream hosts.com.google.protobuf.ProtocolStringListFaults are injected for the specified list of downstream hosts.com.google.protobuf.StructWhen an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.com.google.protobuf.Struct.BuilderWhen an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.com.google.protobuf.StructOrBuilderWhen an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.getHeaders(int index) Specifies a set of headers that the filter should match on.getHeadersBuilder(int index) Specifies a set of headers that the filter should match on.Specifies a set of headers that the filter should match on.intSpecifies a set of headers that the filter should match on.Specifies a set of headers that the filter should match on.getHeadersOrBuilder(int index) Specifies a set of headers that the filter should match on.List<? extends HeaderMatcherOrBuilder> Specifies a set of headers that the filter should match on.com.google.protobuf.UInt32ValueThe maximum number of faults that can be active at a single time via the configured fault filter.com.google.protobuf.UInt32Value.BuilderThe maximum number of faults that can be active at a single time via the configured fault filter.com.google.protobuf.UInt32ValueOrBuilderThe maximum number of faults that can be active at a single time via the configured fault filter.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The response rate limit to be applied to the response body of the stream.The response rate limit to be applied to the response body of the stream.The response rate limit to be applied to the response body of the stream.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteStringThe runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.Specifies the name of the (destination) upstream cluster that the filter should match on.com.google.protobuf.ByteStringSpecifies 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.booleanWhen an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.booleanThe maximum number of faults that can be active at a single time via the configured fault filter.booleanThe response rate limit to be applied to the response body of the stream.private com.google.protobuf.SingleFieldBuilder<FaultAbort, FaultAbort.Builder, FaultAbortOrBuilder> If specified, the filter will abort requests based on the values in the object.private com.google.protobuf.SingleFieldBuilder<FaultDelay, FaultDelay.Builder, FaultDelayOrBuilder> If specified, the filter will inject delays based on the values in the object.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher, HeaderMatcher.Builder, HeaderMatcherOrBuilder> private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum number of faults that can be active at a single time via the configured fault filter.private com.google.protobuf.SingleFieldBuilder<FaultRateLimit, FaultRateLimit.Builder, FaultRateLimitOrBuilder> The response rate limit to be applied to the response body of the stream.final booleanprivate voidmergeAbort(FaultAbort value) If specified, the filter will abort requests based on the values in the object.mergeDelay(FaultDelay value) If specified, the filter will inject delays based on the values in the object.mergeFilterMetadata(com.google.protobuf.Struct value) When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxActiveFaults(com.google.protobuf.UInt32Value value) The maximum number of faults that can be active at a single time via the configured fault filter.The response rate limit to be applied to the response body of the stream.removeHeaders(int index) Specifies a set of headers that the filter should match on.setAbort(FaultAbort value) If specified, the filter will abort requests based on the values in the object.setAbort(FaultAbort.Builder builderForValue) If specified, the filter will abort requests based on the values in the object.setAbortGrpcStatusRuntime(String value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setAbortGrpcStatusRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setAbortHttpStatusRuntime(String value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setAbortHttpStatusRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setAbortPercentRuntime(String value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setAbortPercentRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setDelay(FaultDelay value) If specified, the filter will inject delays based on the values in the object.setDelay(FaultDelay.Builder builderForValue) If specified, the filter will inject delays based on the values in the object.setDelayDurationRuntime(String value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setDelayDurationRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setDelayPercentRuntime(String value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setDelayPercentRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setDisableDownstreamClusterStats(boolean value) To control whether stats storage is allocated dynamically for each downstream server.setDownstreamNodes(int index, String value) Faults are injected for the specified list of downstream hosts.setFilterMetadata(com.google.protobuf.Struct value) When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.setFilterMetadata(com.google.protobuf.Struct.Builder builderForValue) When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter.setHeaders(int index, HeaderMatcher value) Specifies a set of headers that the filter should match on.setHeaders(int index, HeaderMatcher.Builder builderForValue) Specifies a set of headers that the filter should match on.setMaxActiveFaults(com.google.protobuf.UInt32Value value) The maximum number of faults that can be active at a single time via the configured fault filter.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.setMaxActiveFaultsRuntime(String value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setMaxActiveFaultsRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.The response rate limit to be applied to the response body of the stream.setResponseRateLimit(FaultRateLimit.Builder builderForValue) The response rate limit to be applied to the response body of the stream.The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setResponseRateLimitPercentRuntimeBytes(com.google.protobuf.ByteString value) The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.setUpstreamCluster(String value) Specifies the name of the (destination) upstream cluster that the filter should match on.setUpstreamClusterBytes(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.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
Field Details
-
bitField0_
private int bitField0_ -
delay_
-
delayBuilder_
private com.google.protobuf.SingleFieldBuilder<FaultDelay,FaultDelay.Builder, delayBuilder_FaultDelayOrBuilder> -
abort_
-
abortBuilder_
private com.google.protobuf.SingleFieldBuilder<FaultAbort,FaultAbort.Builder, abortBuilder_FaultAbortOrBuilder> -
upstreamCluster_
-
headers_
-
headersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, headersBuilder_HeaderMatcherOrBuilder> -
downstreamNodes_
private com.google.protobuf.LazyStringArrayList downstreamNodes_ -
maxActiveFaults_
private com.google.protobuf.UInt32Value maxActiveFaults_ -
maxActiveFaultsBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, maxActiveFaultsBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
responseRateLimit_
-
responseRateLimitBuilder_
private com.google.protobuf.SingleFieldBuilder<FaultRateLimit,FaultRateLimit.Builder, responseRateLimitBuilder_FaultRateLimitOrBuilder> -
delayPercentRuntime_
-
abortPercentRuntime_
-
delayDurationRuntime_
-
abortHttpStatusRuntime_
-
maxActiveFaultsRuntime_
-
responseRateLimitPercentRuntime_
-
abortGrpcStatusRuntime_
-
disableDownstreamClusterStats_
private boolean disableDownstreamClusterStats_ -
filterMetadata_
private com.google.protobuf.Struct filterMetadata_ -
filterMetadataBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder, filterMetadataBuilder_com.google.protobuf.StructOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HTTPFault.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<HTTPFault.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
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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- Returns:
- Whether the delay field is set.
-
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- Returns:
- The delay.
-
setDelay
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1; -
setDelay
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1; -
mergeDelay
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1; -
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
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1; -
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
-
internalGetDelayFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FaultDelay,FaultDelay.Builder, internalGetDelayFieldBuilder()FaultDelayOrBuilder> If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1; -
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- Returns:
- Whether the abort field is set.
-
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- Returns:
- The abort.
-
setAbort
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
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
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
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
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
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
-
internalGetAbortFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FaultAbort,FaultAbort.Builder, internalGetAbortFieldBuilder()FaultAbortOrBuilder> 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; -
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- Returns:
- The upstreamCluster.
-
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- Returns:
- The bytes for upstreamCluster.
-
setUpstreamCluster
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;- Parameters:
value- The upstreamCluster to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setUpstreamClusterBytes
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;- Parameters:
value- The bytes for upstreamCluster to set.- Returns:
- This builder for chaining.
-
ensureHeadersIsMutable
private void ensureHeadersIsMutable() -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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; -
internalGetHeadersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder, internalGetHeadersFieldBuilder()HeaderMatcherOrBuilder> -
ensureDownstreamNodesIsMutable
private void ensureDownstreamNodesIsMutable() -
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- Returns:
- A list containing the downstreamNodes.
-
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- Returns:
- The count of downstreamNodes.
-
getDownstreamNodes
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- Parameters:
index- The index of the element to return.- Returns:
- The downstreamNodes at the given index.
-
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- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the downstreamNodes at the given index.
-
setDownstreamNodes
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;- Parameters:
index- The index to set the value at.value- The downstreamNodes to set.- Returns:
- This builder for chaining.
-
addDownstreamNodes
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;- Parameters:
value- The downstreamNodes to add.- Returns:
- This builder for chaining.
-
addAllDownstreamNodes
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;- Parameters:
values- The downstreamNodes to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addDownstreamNodesBytes
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;- Parameters:
value- The bytes of the downstreamNodes to add.- Returns:
- This builder for chaining.
-
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- Returns:
- Whether the maxActiveFaults field is set.
-
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- Returns:
- The maxActiveFaults.
-
setMaxActiveFaults
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
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
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
-
internalGetMaxActiveFaultsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetMaxActiveFaultsFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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; -
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- Returns:
- Whether the responseRateLimit field is set.
-
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- Returns:
- The responseRateLimit.
-
setResponseRateLimit
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
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
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
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
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
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
-
internalGetResponseRateLimitFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FaultRateLimit,FaultRateLimit.Builder, internalGetResponseRateLimitFieldBuilder()FaultRateLimitOrBuilder> 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; -
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- Returns:
- The delayPercentRuntime.
-
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- Returns:
- The bytes for delayPercentRuntime.
-
setDelayPercentRuntime
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;- Parameters:
value- The delayPercentRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setDelayPercentRuntimeBytes
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;- Parameters:
value- The bytes for delayPercentRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The abortPercentRuntime.
-
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- Returns:
- The bytes for abortPercentRuntime.
-
setAbortPercentRuntime
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;- Parameters:
value- The abortPercentRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAbortPercentRuntimeBytes
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;- Parameters:
value- The bytes for abortPercentRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The delayDurationRuntime.
-
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- Returns:
- The bytes for delayDurationRuntime.
-
setDelayDurationRuntime
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;- Parameters:
value- The delayDurationRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setDelayDurationRuntimeBytes
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;- Parameters:
value- The bytes for delayDurationRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The abortHttpStatusRuntime.
-
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- Returns:
- The bytes for abortHttpStatusRuntime.
-
setAbortHttpStatusRuntime
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;- Parameters:
value- The abortHttpStatusRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAbortHttpStatusRuntimeBytes
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;- Parameters:
value- The bytes for abortHttpStatusRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The maxActiveFaultsRuntime.
-
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- Returns:
- The bytes for maxActiveFaultsRuntime.
-
setMaxActiveFaultsRuntime
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;- Parameters:
value- The maxActiveFaultsRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setMaxActiveFaultsRuntimeBytes
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;- Parameters:
value- The bytes for maxActiveFaultsRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The responseRateLimitPercentRuntime.
-
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- Returns:
- The bytes for responseRateLimitPercentRuntime.
-
setResponseRateLimitPercentRuntime
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;- Parameters:
value- The responseRateLimitPercentRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Parameters:
value- The bytes for responseRateLimitPercentRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The abortGrpcStatusRuntime.
-
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- Returns:
- The bytes for abortGrpcStatusRuntime.
-
setAbortGrpcStatusRuntime
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;- Parameters:
value- The abortGrpcStatusRuntime to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAbortGrpcStatusRuntimeBytes
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;- Parameters:
value- The bytes for abortGrpcStatusRuntime to set.- Returns:
- This builder for chaining.
-
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- Returns:
- The disableDownstreamClusterStats.
-
setDisableDownstreamClusterStats
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;- Parameters:
value- The disableDownstreamClusterStats to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasFilterMetadata
public boolean hasFilterMetadata()When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16;- Specified by:
hasFilterMetadatain interfaceHTTPFaultOrBuilder- Returns:
- Whether the filterMetadata field is set.
-
getFilterMetadata
public com.google.protobuf.Struct getFilterMetadata()When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16;- Specified by:
getFilterMetadatain interfaceHTTPFaultOrBuilder- Returns:
- The filterMetadata.
-
setFilterMetadata
When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16; -
setFilterMetadata
When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16; -
mergeFilterMetadata
When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16; -
clearFilterMetadata
When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16; -
getFilterMetadataBuilder
public com.google.protobuf.Struct.Builder getFilterMetadataBuilder()When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16; -
getFilterMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getFilterMetadataOrBuilder()When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16;- Specified by:
getFilterMetadataOrBuilderin interfaceHTTPFaultOrBuilder
-
internalGetFilterMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder, internalGetFilterMetadataFieldBuilder()com.google.protobuf.StructOrBuilder> When an abort or delay fault is executed, the metadata struct provided here will be added to the request's dynamic metadata under the namespace corresponding to the name of the fault filter. This data can be logged as part of Access Logs using the :ref:`command operator <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of the fault filter.
.google.protobuf.Struct filter_metadata = 16;
-