public static final class HTTPFault.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder> implements HTTPFaultOrBuilder
envoy.config.filter.http.fault.v2.HTTPFault| Modifier and Type | Method and Description |
|---|---|
HTTPFault.Builder |
addAllDownstreamNodes(Iterable<String> values)
Faults are injected for the specified list of downstream hosts.
|
HTTPFault.Builder |
addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the filter should match on.
|
HTTPFault.Builder |
addDownstreamNodes(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(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(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.
|
HTTPFault.Builder |
addHeaders(int index,
HeaderMatcher value)
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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HTTPFault |
build() |
HTTPFault |
buildPartial() |
HTTPFault.Builder |
clear() |
HTTPFault.Builder |
clearAbort()
If specified, the filter will abort requests based on the values in
the object.
|
HTTPFault.Builder |
clearDelay()
If specified, the filter will inject delays based on the values in the
object.
|
HTTPFault.Builder |
clearDownstreamNodes()
Faults are injected for the specified list of downstream hosts.
|
HTTPFault.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HTTPFault.Builder |
clearHeaders()
Specifies a set of headers that the filter should match on.
|
HTTPFault.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HTTPFault.Builder |
clearUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the
filter should match on.
|
HTTPFault.Builder |
clone() |
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.
|
FaultAbortOrBuilder |
getAbortOrBuilder()
If specified, the filter will abort requests based on the values in
the object.
|
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.
|
FaultDelayOrBuilder |
getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the
object.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
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.
|
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.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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 |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HTTPFault.Builder |
mergeFrom(HTTPFault other) |
HTTPFault.Builder |
mergeFrom(com.google.protobuf.Message other) |
HTTPFault.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HTTPFault.Builder |
removeHeaders(int index)
Specifies a set of headers that the filter should match on.
|
HTTPFault.Builder |
setAbort(FaultAbort.Builder builderForValue)
If specified, the filter will abort requests based on the values in
the object.
|
HTTPFault.Builder |
setAbort(FaultAbort value)
If specified, the filter will abort requests 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 |
setDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the
object.
|
HTTPFault.Builder |
setDownstreamNodes(int index,
String value)
Faults are injected for the specified list of downstream hosts.
|
HTTPFault.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HTTPFault.Builder |
setHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.
|
HTTPFault.Builder |
setHeaders(int index,
HeaderMatcher value)
Specifies a set of headers that the filter should match on.
|
HTTPFault.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HTTPFault.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HTTPFault.Builder |
setUpstreamCluster(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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HTTPFault build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HTTPFault buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HTTPFault.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>public HTTPFault.Builder mergeFrom(HTTPFault other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public HTTPFault.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HTTPFault.Builder>IOExceptionpublic boolean hasDelay()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;hasDelay in interface HTTPFaultOrBuilderpublic FaultDelay getDelay()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;getDelay in interface HTTPFaultOrBuilderpublic HTTPFault.Builder setDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;public HTTPFault.Builder setDelay(FaultDelay.Builder builderForValue)
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;public HTTPFault.Builder mergeDelay(FaultDelay value)
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;public HTTPFault.Builder clearDelay()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;public FaultDelay.Builder getDelayBuilder()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;public FaultDelayOrBuilder getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;getDelayOrBuilder in interface HTTPFaultOrBuilderpublic 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.config.filter.http.fault.v2.FaultAbort abort = 2;hasAbort in interface HTTPFaultOrBuilderpublic 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.config.filter.http.fault.v2.FaultAbort abort = 2;getAbort in interface HTTPFaultOrBuilderpublic 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.config.filter.http.fault.v2.FaultAbort abort = 2;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.config.filter.http.fault.v2.FaultAbort abort = 2;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.config.filter.http.fault.v2.FaultAbort abort = 2;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.config.filter.http.fault.v2.FaultAbort abort = 2;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.config.filter.http.fault.v2.FaultAbort abort = 2;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.config.filter.http.fault.v2.FaultAbort abort = 2;getAbortOrBuilder in interface HTTPFaultOrBuilderpublic 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;getUpstreamCluster in interface HTTPFaultOrBuilderpublic 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;getUpstreamClusterBytes in interface HTTPFaultOrBuilderpublic HTTPFault.Builder setUpstreamCluster(String value)
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;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;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;public List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;getHeadersList in interface HTTPFaultOrBuilderpublic 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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;getHeadersCount in interface HTTPFaultOrBuilderpublic 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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;getHeaders in interface HTTPFaultOrBuilderpublic 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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;public HTTPFault.Builder addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;getHeadersOrBuilder in interface HTTPFaultOrBuilderpublic 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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;getHeadersOrBuilderList in interface HTTPFaultOrBuilderpublic 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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;public List<HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_config.filter.http.fault.v2.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.api.v2.route.HeaderMatcher headers = 4;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;getDownstreamNodesList in interface HTTPFaultOrBuilderpublic 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;getDownstreamNodesCount in interface HTTPFaultOrBuilderpublic 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;getDownstreamNodes in interface HTTPFaultOrBuilderpublic 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;getDownstreamNodesBytes in interface HTTPFaultOrBuilderpublic HTTPFault.Builder setDownstreamNodes(int index, String value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;public HTTPFault.Builder addDownstreamNodes(String value)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;public HTTPFault.Builder addAllDownstreamNodes(Iterable<String> values)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;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;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;public final HTTPFault.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>public final HTTPFault.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPFault.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.