Class HTTPFault.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.extensions.filters.http.fault.v3.HTTPFault
-
-
Field Summary
Fields Modifier and Type Field Description private FaultAbort
abort_
private com.google.protobuf.SingleFieldBuilder<FaultAbort,FaultAbort.Builder,FaultAbortOrBuilder>
abortBuilder_
private java.lang.Object
abortGrpcStatusRuntime_
private java.lang.Object
abortHttpStatusRuntime_
private java.lang.Object
abortPercentRuntime_
private int
bitField0_
private FaultDelay
delay_
private com.google.protobuf.SingleFieldBuilder<FaultDelay,FaultDelay.Builder,FaultDelayOrBuilder>
delayBuilder_
private java.lang.Object
delayDurationRuntime_
private java.lang.Object
delayPercentRuntime_
private boolean
disableDownstreamClusterStats_
private com.google.protobuf.LazyStringArrayList
downstreamNodes_
private com.google.protobuf.Struct
filterMetadata_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>
filterMetadataBuilder_
private java.util.List<HeaderMatcher>
headers_
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder>
headersBuilder_
private com.google.protobuf.UInt32Value
maxActiveFaults_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
maxActiveFaultsBuilder_
private java.lang.Object
maxActiveFaultsRuntime_
private FaultRateLimit
responseRateLimit_
private com.google.protobuf.SingleFieldBuilder<FaultRateLimit,FaultRateLimit.Builder,FaultRateLimitOrBuilder>
responseRateLimitBuilder_
private java.lang.Object
responseRateLimitPercentRuntime_
private java.lang.Object
upstreamCluster_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPFault.Builder
addAllDownstreamNodes(java.lang.Iterable<java.lang.String> values)
Faults are injected for the specified list of downstream hosts.HTTPFault.Builder
addAllHeaders(java.lang.Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
addDownstreamNodes(java.lang.String value)
Faults are injected for the specified list of downstream hosts.HTTPFault.Builder
addDownstreamNodesBytes(com.google.protobuf.ByteString value)
Faults are injected for the specified list of downstream hosts.HTTPFault.Builder
addHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
addHeaders(HeaderMatcher value)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.HeaderMatcher.Builder
addHeadersBuilder()
Specifies a set of headers that the filter should match on.HeaderMatcher.Builder
addHeadersBuilder(int index)
Specifies a set of headers that the filter should match on.HTTPFault
build()
HTTPFault
buildPartial()
private void
buildPartial0(HTTPFault result)
private void
buildPartialRepeatedFields(HTTPFault result)
HTTPFault.Builder
clear()
HTTPFault.Builder
clearAbort()
If specified, the filter will abort requests based on the values in the object.HTTPFault.Builder
clearAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearDelay()
If specified, the filter will inject delays based on the values in the object.HTTPFault.Builder
clearDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearDisableDownstreamClusterStats()
To control whether stats storage is allocated dynamically for each downstream server.HTTPFault.Builder
clearDownstreamNodes()
Faults are injected for the specified list of downstream hosts.HTTPFault.Builder
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.HTTPFault.Builder
clearHeaders()
Specifies a set of headers that the filter should match on.HTTPFault.Builder
clearMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter.HTTPFault.Builder
clearMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearResponseRateLimit()
The response rate limit to be applied to the response body of the stream.HTTPFault.Builder
clearResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
clearUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on.private void
ensureDownstreamNodesIsMutable()
private void
ensureHeadersIsMutable()
FaultAbort
getAbort()
If specified, the filter will abort requests based on the values in the object.FaultAbort.Builder
getAbortBuilder()
If specified, the filter will abort requests based on the values in the object.private com.google.protobuf.SingleFieldBuilder<FaultAbort,FaultAbort.Builder,FaultAbortOrBuilder>
getAbortFieldBuilder()
If specified, the filter will abort requests based on the values in the object.java.lang.String
getAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getAbortGrpcStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.java.lang.String
getAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getAbortHttpStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.FaultAbortOrBuilder
getAbortOrBuilder()
If specified, the filter will abort requests based on the values in the object.java.lang.String
getAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getAbortPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault
getDefaultInstanceForType()
FaultDelay
getDelay()
If specified, the filter will inject delays based on the values in the object.FaultDelay.Builder
getDelayBuilder()
If specified, the filter will inject delays based on the values in the object.java.lang.String
getDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getDelayDurationRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.private com.google.protobuf.SingleFieldBuilder<FaultDelay,FaultDelay.Builder,FaultDelayOrBuilder>
getDelayFieldBuilder()
If specified, the filter will inject delays based on the values in the object.FaultDelayOrBuilder
getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the object.java.lang.String
getDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getDelayPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getDisableDownstreamClusterStats()
To control whether stats storage is allocated dynamically for each downstream server.java.lang.String
getDownstreamNodes(int index)
Faults are injected for the specified list of downstream hosts.com.google.protobuf.ByteString
getDownstreamNodesBytes(int index)
Faults are injected for the specified list of downstream hosts.int
getDownstreamNodesCount()
Faults are injected for the specified list of downstream hosts.com.google.protobuf.ProtocolStringList
getDownstreamNodesList()
Faults are injected for the specified list of downstream hosts.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.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.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>
getFilterMetadataFieldBuilder()
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.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.HeaderMatcher
getHeaders(int index)
Specifies a set of headers that the filter should match on.HeaderMatcher.Builder
getHeadersBuilder(int index)
Specifies a set of headers that the filter should match on.java.util.List<HeaderMatcher.Builder>
getHeadersBuilderList()
Specifies a set of headers that the filter should match on.int
getHeadersCount()
Specifies a set of headers that the filter should match on.private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder>
getHeadersFieldBuilder()
java.util.List<HeaderMatcher>
getHeadersList()
Specifies a set of headers that the filter should match on.HeaderMatcherOrBuilder
getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on.java.util.List<? extends HeaderMatcherOrBuilder>
getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on.com.google.protobuf.UInt32Value
getMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter.com.google.protobuf.UInt32Value.Builder
getMaxActiveFaultsBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getMaxActiveFaultsFieldBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter.com.google.protobuf.UInt32ValueOrBuilder
getMaxActiveFaultsOrBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter.java.lang.String
getMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getMaxActiveFaultsRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.FaultRateLimit
getResponseRateLimit()
The response rate limit to be applied to the response body of the stream.FaultRateLimit.Builder
getResponseRateLimitBuilder()
The response rate limit to be applied to the response body of the stream.private com.google.protobuf.SingleFieldBuilder<FaultRateLimit,FaultRateLimit.Builder,FaultRateLimitOrBuilder>
getResponseRateLimitFieldBuilder()
The response rate limit to be applied to the response body of the stream.FaultRateLimitOrBuilder
getResponseRateLimitOrBuilder()
The response rate limit to be applied to the response body of the stream.java.lang.String
getResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.com.google.protobuf.ByteString
getResponseRateLimitPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.java.lang.String
getUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on.com.google.protobuf.ByteString
getUpstreamClusterBytes()
Specifies the name of the (destination) upstream cluster that the filter should match on.boolean
hasAbort()
If specified, the filter will abort requests based on the values in the object.boolean
hasDelay()
If specified, the filter will inject delays based on the values in the object.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.boolean
hasMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter.boolean
hasResponseRateLimit()
The response rate limit to be applied to the response body of the stream.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
HTTPFault.Builder
mergeAbort(FaultAbort value)
If specified, the filter will abort requests based on the values in the object.HTTPFault.Builder
mergeDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object.HTTPFault.Builder
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.HTTPFault.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HTTPFault.Builder
mergeFrom(com.google.protobuf.Message other)
HTTPFault.Builder
mergeFrom(HTTPFault other)
HTTPFault.Builder
mergeMaxActiveFaults(com.google.protobuf.UInt32Value value)
The maximum number of faults that can be active at a single time via the configured fault filter.HTTPFault.Builder
mergeResponseRateLimit(FaultRateLimit value)
The response rate limit to be applied to the response body of the stream.HTTPFault.Builder
removeHeaders(int index)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
setAbort(FaultAbort value)
If specified, the filter will abort requests based on the values in the object.HTTPFault.Builder
setAbort(FaultAbort.Builder builderForValue)
If specified, the filter will abort requests based on the values in the object.HTTPFault.Builder
setAbortGrpcStatusRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setAbortGrpcStatusRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setAbortHttpStatusRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setAbortHttpStatusRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setAbortPercentRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setAbortPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object.HTTPFault.Builder
setDelay(FaultDelay.Builder builderForValue)
If specified, the filter will inject delays based on the values in the object.HTTPFault.Builder
setDelayDurationRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setDelayDurationRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setDelayPercentRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setDelayPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setDisableDownstreamClusterStats(boolean value)
To control whether stats storage is allocated dynamically for each downstream server.HTTPFault.Builder
setDownstreamNodes(int index, java.lang.String value)
Faults are injected for the specified list of downstream hosts.HTTPFault.Builder
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.HTTPFault.Builder
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.HTTPFault.Builder
setHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.HTTPFault.Builder
setMaxActiveFaults(com.google.protobuf.UInt32Value value)
The maximum number of faults that can be active at a single time via the configured fault filter.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.HTTPFault.Builder
setMaxActiveFaultsRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setMaxActiveFaultsRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setResponseRateLimit(FaultRateLimit value)
The response rate limit to be applied to the response body of the stream.HTTPFault.Builder
setResponseRateLimit(FaultRateLimit.Builder builderForValue)
The response rate limit to be applied to the response body of the stream.HTTPFault.Builder
setResponseRateLimitPercentRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setResponseRateLimitPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime.HTTPFault.Builder
setUpstreamCluster(java.lang.String value)
Specifies the name of the (destination) upstream cluster that the filter should match on.HTTPFault.Builder
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
delay_
private FaultDelay delay_
-
delayBuilder_
private com.google.protobuf.SingleFieldBuilder<FaultDelay,FaultDelay.Builder,FaultDelayOrBuilder> delayBuilder_
-
abort_
private FaultAbort abort_
-
abortBuilder_
private com.google.protobuf.SingleFieldBuilder<FaultAbort,FaultAbort.Builder,FaultAbortOrBuilder> abortBuilder_
-
upstreamCluster_
private java.lang.Object upstreamCluster_
-
headers_
private java.util.List<HeaderMatcher> headers_
-
headersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder> headersBuilder_
-
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,com.google.protobuf.UInt32ValueOrBuilder> maxActiveFaultsBuilder_
-
responseRateLimit_
private FaultRateLimit responseRateLimit_
-
responseRateLimitBuilder_
private com.google.protobuf.SingleFieldBuilder<FaultRateLimit,FaultRateLimit.Builder,FaultRateLimitOrBuilder> responseRateLimitBuilder_
-
delayPercentRuntime_
private java.lang.Object delayPercentRuntime_
-
abortPercentRuntime_
private java.lang.Object abortPercentRuntime_
-
delayDurationRuntime_
private java.lang.Object delayDurationRuntime_
-
abortHttpStatusRuntime_
private java.lang.Object abortHttpStatusRuntime_
-
maxActiveFaultsRuntime_
private java.lang.Object maxActiveFaultsRuntime_
-
responseRateLimitPercentRuntime_
private java.lang.Object responseRateLimitPercentRuntime_
-
abortGrpcStatusRuntime_
private java.lang.Object 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,com.google.protobuf.StructOrBuilder> filterMetadataBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPFault.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public HTTPFault.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPFault.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPFault.Builder>
-
getDefaultInstanceForType
public HTTPFault getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HTTPFault build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HTTPFault buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(HTTPFault result)
-
buildPartial0
private void buildPartial0(HTTPFault result)
-
mergeFrom
public HTTPFault.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>
-
mergeFrom
public HTTPFault.Builder mergeFrom(HTTPFault other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPFault.Builder>
-
mergeFrom
public HTTPFault.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>
- Throws:
java.io.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:
hasDelay
in interfaceHTTPFaultOrBuilder
- Returns:
- Whether the delay field is set.
-
getDelay
public FaultDelay getDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
- Specified by:
getDelay
in interfaceHTTPFaultOrBuilder
- Returns:
- The delay.
-
setDelay
public HTTPFault.Builder setDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
setDelay
public HTTPFault.Builder setDelay(FaultDelay.Builder builderForValue)
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
mergeDelay
public HTTPFault.Builder mergeDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
clearDelay
public HTTPFault.Builder clearDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
getDelayBuilder
public FaultDelay.Builder getDelayBuilder()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
-
getDelayOrBuilder
public FaultDelayOrBuilder getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
- Specified by:
getDelayOrBuilder
in interfaceHTTPFaultOrBuilder
-
getDelayFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FaultDelay,FaultDelay.Builder,FaultDelayOrBuilder> getDelayFieldBuilder()
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:
hasAbort
in interfaceHTTPFaultOrBuilder
- Returns:
- Whether the abort field is set.
-
getAbort
public FaultAbort getAbort()
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
- Specified by:
getAbort
in interfaceHTTPFaultOrBuilder
- Returns:
- The abort.
-
setAbort
public HTTPFault.Builder setAbort(FaultAbort value)
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
setAbort
public HTTPFault.Builder setAbort(FaultAbort.Builder builderForValue)
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
mergeAbort
public HTTPFault.Builder mergeAbort(FaultAbort value)
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
clearAbort
public HTTPFault.Builder clearAbort()
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
getAbortBuilder
public FaultAbort.Builder getAbortBuilder()
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
-
getAbortOrBuilder
public FaultAbortOrBuilder getAbortOrBuilder()
If specified, the filter will abort requests based on the values in the object. At least ``abort`` or ``delay`` must be specified.
.envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
- Specified by:
getAbortOrBuilder
in interfaceHTTPFaultOrBuilder
-
getAbortFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FaultAbort,FaultAbort.Builder,FaultAbortOrBuilder> getAbortFieldBuilder()
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
public java.lang.String getUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
- Specified by:
getUpstreamCluster
in 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:
getUpstreamClusterBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for upstreamCluster.
-
setUpstreamCluster
public HTTPFault.Builder setUpstreamCluster(java.lang.String value)
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
- Parameters:
value
- The upstreamCluster to set.- Returns:
- This builder for chaining.
-
clearUpstreamCluster
public HTTPFault.Builder clearUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
- Returns:
- This builder for chaining.
-
setUpstreamClusterBytes
public HTTPFault.Builder setUpstreamClusterBytes(com.google.protobuf.ByteString value)
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;
- Parameters:
value
- The bytes for upstreamCluster to set.- Returns:
- This builder for chaining.
-
ensureHeadersIsMutable
private void ensureHeadersIsMutable()
-
getHeadersList
public java.util.List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
- Specified by:
getHeadersList
in 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:
getHeadersCount
in interfaceHTTPFaultOrBuilder
-
getHeaders
public HeaderMatcher getHeaders(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
- Specified by:
getHeaders
in interfaceHTTPFaultOrBuilder
-
setHeaders
public HTTPFault.Builder setHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
setHeaders
public HTTPFault.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(HeaderMatcher value)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeaders
public HTTPFault.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addAllHeaders
public HTTPFault.Builder addAllHeaders(java.lang.Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
clearHeaders
public HTTPFault.Builder clearHeaders()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
removeHeaders
public HTTPFault.Builder removeHeaders(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersBuilder
public HeaderMatcher.Builder getHeadersBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersOrBuilder
public HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
- Specified by:
getHeadersOrBuilder
in interfaceHTTPFaultOrBuilder
-
getHeadersOrBuilderList
public java.util.List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
- Specified by:
getHeadersOrBuilderList
in interfaceHTTPFaultOrBuilder
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersBuilderList
public java.util.List<HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the ``value`` field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
-
getHeadersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder> getHeadersFieldBuilder()
-
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:
getDownstreamNodesList
in 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:
getDownstreamNodesCount
in interfaceHTTPFaultOrBuilder
- Returns:
- The count of downstreamNodes.
-
getDownstreamNodes
public java.lang.String getDownstreamNodes(int index)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
- Specified by:
getDownstreamNodes
in 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:
getDownstreamNodesBytes
in interfaceHTTPFaultOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the downstreamNodes at the given index.
-
setDownstreamNodes
public HTTPFault.Builder setDownstreamNodes(int index, java.lang.String value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
- Parameters:
index
- The index to set the value at.value
- The downstreamNodes to set.- Returns:
- This builder for chaining.
-
addDownstreamNodes
public HTTPFault.Builder addDownstreamNodes(java.lang.String value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
- Parameters:
value
- The downstreamNodes to add.- Returns:
- This builder for chaining.
-
addAllDownstreamNodes
public HTTPFault.Builder addAllDownstreamNodes(java.lang.Iterable<java.lang.String> values)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
- Parameters:
values
- The downstreamNodes to add.- Returns:
- This builder for chaining.
-
clearDownstreamNodes
public HTTPFault.Builder clearDownstreamNodes()
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
- Returns:
- This builder for chaining.
-
addDownstreamNodesBytes
public HTTPFault.Builder addDownstreamNodesBytes(com.google.protobuf.ByteString value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;
- 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:
hasMaxActiveFaults
in 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:
getMaxActiveFaults
in interfaceHTTPFaultOrBuilder
- Returns:
- The maxActiveFaults.
-
setMaxActiveFaults
public HTTPFault.Builder setMaxActiveFaults(com.google.protobuf.UInt32Value value)
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected due to overflow will be indicated via the ``faults_overflow <config_http_filters_fault_injection_stats>`` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
setMaxActiveFaults
public HTTPFault.Builder setMaxActiveFaults(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected due to overflow will be indicated via the ``faults_overflow <config_http_filters_fault_injection_stats>`` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
mergeMaxActiveFaults
public HTTPFault.Builder mergeMaxActiveFaults(com.google.protobuf.UInt32Value value)
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected due to overflow will be indicated via the ``faults_overflow <config_http_filters_fault_injection_stats>`` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
clearMaxActiveFaults
public HTTPFault.Builder clearMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected due to overflow will be indicated via the ``faults_overflow <config_http_filters_fault_injection_stats>`` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
getMaxActiveFaultsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxActiveFaultsBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected due to overflow will be indicated via the ``faults_overflow <config_http_filters_fault_injection_stats>`` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
-
getMaxActiveFaultsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxActiveFaultsOrBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected due to overflow will be indicated via the ``faults_overflow <config_http_filters_fault_injection_stats>`` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;
- Specified by:
getMaxActiveFaultsOrBuilder
in interfaceHTTPFaultOrBuilder
-
getMaxActiveFaultsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getMaxActiveFaultsFieldBuilder()
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:
hasResponseRateLimit
in interfaceHTTPFaultOrBuilder
- Returns:
- Whether the responseRateLimit field is set.
-
getResponseRateLimit
public FaultRateLimit getResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
- Specified by:
getResponseRateLimit
in interfaceHTTPFaultOrBuilder
- Returns:
- The responseRateLimit.
-
setResponseRateLimit
public HTTPFault.Builder setResponseRateLimit(FaultRateLimit value)
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
setResponseRateLimit
public HTTPFault.Builder setResponseRateLimit(FaultRateLimit.Builder builderForValue)
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
mergeResponseRateLimit
public HTTPFault.Builder mergeResponseRateLimit(FaultRateLimit value)
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
clearResponseRateLimit
public HTTPFault.Builder clearResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
getResponseRateLimitBuilder
public FaultRateLimit.Builder getResponseRateLimitBuilder()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
-
getResponseRateLimitOrBuilder
public FaultRateLimitOrBuilder getResponseRateLimitOrBuilder()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
- Specified by:
getResponseRateLimitOrBuilder
in interfaceHTTPFaultOrBuilder
-
getResponseRateLimitFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FaultRateLimit,FaultRateLimit.Builder,FaultRateLimitOrBuilder> getResponseRateLimitFieldBuilder()
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
public java.lang.String getDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
- Specified by:
getDelayPercentRuntime
in 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:
getDelayPercentRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for delayPercentRuntime.
-
setDelayPercentRuntime
public HTTPFault.Builder setDelayPercentRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
- Parameters:
value
- The delayPercentRuntime to set.- Returns:
- This builder for chaining.
-
clearDelayPercentRuntime
public HTTPFault.Builder clearDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
- Returns:
- This builder for chaining.
-
setDelayPercentRuntimeBytes
public HTTPFault.Builder setDelayPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;
- Parameters:
value
- The bytes for delayPercentRuntime to set.- Returns:
- This builder for chaining.
-
getAbortPercentRuntime
public java.lang.String getAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
- Specified by:
getAbortPercentRuntime
in 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:
getAbortPercentRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for abortPercentRuntime.
-
setAbortPercentRuntime
public HTTPFault.Builder setAbortPercentRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
- Parameters:
value
- The abortPercentRuntime to set.- Returns:
- This builder for chaining.
-
clearAbortPercentRuntime
public HTTPFault.Builder clearAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
- Returns:
- This builder for chaining.
-
setAbortPercentRuntimeBytes
public HTTPFault.Builder setAbortPercentRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;
- Parameters:
value
- The bytes for abortPercentRuntime to set.- Returns:
- This builder for chaining.
-
getDelayDurationRuntime
public java.lang.String getDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
- Specified by:
getDelayDurationRuntime
in 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:
getDelayDurationRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for delayDurationRuntime.
-
setDelayDurationRuntime
public HTTPFault.Builder setDelayDurationRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
- Parameters:
value
- The delayDurationRuntime to set.- Returns:
- This builder for chaining.
-
clearDelayDurationRuntime
public HTTPFault.Builder clearDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
- Returns:
- This builder for chaining.
-
setDelayDurationRuntimeBytes
public HTTPFault.Builder setDelayDurationRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;
- Parameters:
value
- The bytes for delayDurationRuntime to set.- Returns:
- This builder for chaining.
-
getAbortHttpStatusRuntime
public java.lang.String getAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
- Specified by:
getAbortHttpStatusRuntime
in 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:
getAbortHttpStatusRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for abortHttpStatusRuntime.
-
setAbortHttpStatusRuntime
public HTTPFault.Builder setAbortHttpStatusRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
- Parameters:
value
- The abortHttpStatusRuntime to set.- Returns:
- This builder for chaining.
-
clearAbortHttpStatusRuntime
public HTTPFault.Builder clearAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
- Returns:
- This builder for chaining.
-
setAbortHttpStatusRuntimeBytes
public HTTPFault.Builder setAbortHttpStatusRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;
- Parameters:
value
- The bytes for abortHttpStatusRuntime to set.- Returns:
- This builder for chaining.
-
getMaxActiveFaultsRuntime
public java.lang.String getMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
- Specified by:
getMaxActiveFaultsRuntime
in 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:
getMaxActiveFaultsRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for maxActiveFaultsRuntime.
-
setMaxActiveFaultsRuntime
public HTTPFault.Builder setMaxActiveFaultsRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
- Parameters:
value
- The maxActiveFaultsRuntime to set.- Returns:
- This builder for chaining.
-
clearMaxActiveFaultsRuntime
public HTTPFault.Builder clearMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
- Returns:
- This builder for chaining.
-
setMaxActiveFaultsRuntimeBytes
public HTTPFault.Builder setMaxActiveFaultsRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;
- Parameters:
value
- The bytes for maxActiveFaultsRuntime to set.- Returns:
- This builder for chaining.
-
getResponseRateLimitPercentRuntime
public java.lang.String getResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;
- Specified by:
getResponseRateLimitPercentRuntime
in 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:
getResponseRateLimitPercentRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for responseRateLimitPercentRuntime.
-
setResponseRateLimitPercentRuntime
public HTTPFault.Builder setResponseRateLimitPercentRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;
- Parameters:
value
- The responseRateLimitPercentRuntime to set.- Returns:
- This builder for chaining.
-
clearResponseRateLimitPercentRuntime
public HTTPFault.Builder clearResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;
- 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
public java.lang.String getAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
- Specified by:
getAbortGrpcStatusRuntime
in 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:
getAbortGrpcStatusRuntimeBytes
in interfaceHTTPFaultOrBuilder
- Returns:
- The bytes for abortGrpcStatusRuntime.
-
setAbortGrpcStatusRuntime
public HTTPFault.Builder setAbortGrpcStatusRuntime(java.lang.String value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
- Parameters:
value
- The abortGrpcStatusRuntime to set.- Returns:
- This builder for chaining.
-
clearAbortGrpcStatusRuntime
public HTTPFault.Builder clearAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
- Returns:
- This builder for chaining.
-
setAbortGrpcStatusRuntimeBytes
public HTTPFault.Builder setAbortGrpcStatusRuntimeBytes(com.google.protobuf.ByteString value)
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
- 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:
getDisableDownstreamClusterStats
in interfaceHTTPFaultOrBuilder
- Returns:
- The disableDownstreamClusterStats.
-
setDisableDownstreamClusterStats
public HTTPFault.Builder setDisableDownstreamClusterStats(boolean value)
To control whether stats storage is allocated dynamically for each downstream server. If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter. If set to false, dynamic stats storage will be allocated for the downstream cluster name. Default value is false.
bool disable_downstream_cluster_stats = 15;
- Parameters:
value
- The disableDownstreamClusterStats to set.- Returns:
- This builder for chaining.
-
clearDisableDownstreamClusterStats
public HTTPFault.Builder clearDisableDownstreamClusterStats()
To control whether stats storage is allocated dynamically for each downstream server. If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter. If set to false, dynamic stats storage will be allocated for the downstream cluster name. Default value is false.
bool disable_downstream_cluster_stats = 15;
- 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:
hasFilterMetadata
in 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:
getFilterMetadata
in interfaceHTTPFaultOrBuilder
- Returns:
- The filterMetadata.
-
setFilterMetadata
public HTTPFault.Builder 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. 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
public HTTPFault.Builder 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. 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
public HTTPFault.Builder 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. 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
public HTTPFault.Builder 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:
getFilterMetadataOrBuilder
in interfaceHTTPFaultOrBuilder
-
getFilterMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> getFilterMetadataFieldBuilder()
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;
-
-