Class HTTPFault
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.extensions.filters.http.fault.v3.HTTPFault
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HTTPFaultOrBuilder, Serializable
@Generated
public final class HTTPFault
extends com.google.protobuf.GeneratedMessage
implements HTTPFaultOrBuilder
[#next-free-field: 17]Protobuf type
envoy.extensions.filters.http.fault.v3.HTTPFault- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FaultAbortstatic final intstatic final intstatic final intstatic final intprivate Objectprivate Objectprivate Objectprivate intprivate static final HTTPFaultprivate FaultDelaystatic final intstatic final intstatic final intprivate Objectprivate Objectstatic final intprivate booleanstatic final intprivate com.google.protobuf.LazyStringArrayListstatic final intprivate com.google.protobuf.Structprivate List<HeaderMatcher> static final intstatic final intstatic final intprivate com.google.protobuf.UInt32Valueprivate Objectprivate byteprivate static final com.google.protobuf.Parser<HTTPFault> static final intstatic final intprivate FaultRateLimitprivate Objectprivate static final longstatic final intprivate ObjectFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAbort()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.static HTTPFaultgetDelay()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.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.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.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.com.google.protobuf.Parser<HTTPFault> 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.intSpecifies 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic HTTPFault.Builderstatic HTTPFault.BuildernewBuilder(HTTPFault prototype) protected HTTPFault.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static HTTPFaultparseDelimitedFrom(InputStream input) static HTTPFaultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HTTPFaultparseFrom(byte[] data) static HTTPFaultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HTTPFaultparseFrom(com.google.protobuf.ByteString data) static HTTPFaultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HTTPFaultparseFrom(com.google.protobuf.CodedInputStream input) static HTTPFaultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HTTPFaultparseFrom(InputStream input) static HTTPFaultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HTTPFaultparseFrom(ByteBuffer data) static HTTPFaultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HTTPFault> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
DELAY_FIELD_NUMBER
public static final int DELAY_FIELD_NUMBER- See Also:
-
delay_
-
ABORT_FIELD_NUMBER
public static final int ABORT_FIELD_NUMBER- See Also:
-
abort_
-
UPSTREAM_CLUSTER_FIELD_NUMBER
public static final int UPSTREAM_CLUSTER_FIELD_NUMBER- See Also:
-
upstreamCluster_
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- See Also:
-
headers_
-
DOWNSTREAM_NODES_FIELD_NUMBER
public static final int DOWNSTREAM_NODES_FIELD_NUMBER- See Also:
-
downstreamNodes_
private com.google.protobuf.LazyStringArrayList downstreamNodes_ -
MAX_ACTIVE_FAULTS_FIELD_NUMBER
public static final int MAX_ACTIVE_FAULTS_FIELD_NUMBER- See Also:
-
maxActiveFaults_
private com.google.protobuf.UInt32Value maxActiveFaults_ -
RESPONSE_RATE_LIMIT_FIELD_NUMBER
public static final int RESPONSE_RATE_LIMIT_FIELD_NUMBER- See Also:
-
responseRateLimit_
-
DELAY_PERCENT_RUNTIME_FIELD_NUMBER
public static final int DELAY_PERCENT_RUNTIME_FIELD_NUMBER- See Also:
-
delayPercentRuntime_
-
ABORT_PERCENT_RUNTIME_FIELD_NUMBER
public static final int ABORT_PERCENT_RUNTIME_FIELD_NUMBER- See Also:
-
abortPercentRuntime_
-
DELAY_DURATION_RUNTIME_FIELD_NUMBER
public static final int DELAY_DURATION_RUNTIME_FIELD_NUMBER- See Also:
-
delayDurationRuntime_
-
ABORT_HTTP_STATUS_RUNTIME_FIELD_NUMBER
public static final int ABORT_HTTP_STATUS_RUNTIME_FIELD_NUMBER- See Also:
-
abortHttpStatusRuntime_
-
MAX_ACTIVE_FAULTS_RUNTIME_FIELD_NUMBER
public static final int MAX_ACTIVE_FAULTS_RUNTIME_FIELD_NUMBER- See Also:
-
maxActiveFaultsRuntime_
-
RESPONSE_RATE_LIMIT_PERCENT_RUNTIME_FIELD_NUMBER
public static final int RESPONSE_RATE_LIMIT_PERCENT_RUNTIME_FIELD_NUMBER- See Also:
-
responseRateLimitPercentRuntime_
-
ABORT_GRPC_STATUS_RUNTIME_FIELD_NUMBER
public static final int ABORT_GRPC_STATUS_RUNTIME_FIELD_NUMBER- See Also:
-
abortGrpcStatusRuntime_
-
DISABLE_DOWNSTREAM_CLUSTER_STATS_FIELD_NUMBER
public static final int DISABLE_DOWNSTREAM_CLUSTER_STATS_FIELD_NUMBER- See Also:
-
disableDownstreamClusterStats_
private boolean disableDownstreamClusterStats_ -
FILTER_METADATA_FIELD_NUMBER
public static final int FILTER_METADATA_FIELD_NUMBER- See Also:
-
filterMetadata_
private com.google.protobuf.Struct filterMetadata_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
HTTPFault
private HTTPFault(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
HTTPFault
private HTTPFault()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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- 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.
-
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
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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- 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.
-
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
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HTTPFault parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPFault parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPFault parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPFault parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPFault parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HTTPFault parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HTTPFault parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HTTPFault parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HTTPFault parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HTTPFault.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-