public static final class Fault.HTTPFault.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Fault.HTTPFault.Builder> implements Fault.HTTPFaultOrBuilder
envoy.config.filter.http.fault.v2.HTTPFault| Modifier and Type | Method and Description |
|---|---|
Fault.HTTPFault.Builder |
addAllDownstreamNodes(Iterable<String> values)
Faults are injected for the specified list of downstream hosts.
|
Fault.HTTPFault.Builder |
addAllHeaders(Iterable<? extends RouteOuterClass.HeaderMatcher> values)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
addDownstreamNodes(String value)
Faults are injected for the specified list of downstream hosts.
|
Fault.HTTPFault.Builder |
addDownstreamNodesBytes(com.google.protobuf.ByteString value)
Faults are injected for the specified list of downstream hosts.
|
Fault.HTTPFault.Builder |
addHeaders(int index,
RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
addHeaders(int index,
RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
addHeaders(RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
addHeaders(RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the filter should match on.
|
RouteOuterClass.HeaderMatcher.Builder |
addHeadersBuilder()
Specifies a set of headers that the filter should match on.
|
RouteOuterClass.HeaderMatcher.Builder |
addHeadersBuilder(int index)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Fault.HTTPFault |
build() |
Fault.HTTPFault |
buildPartial() |
Fault.HTTPFault.Builder |
clear() |
Fault.HTTPFault.Builder |
clearAbort()
If specified, the filter will abort requests based on the values in
the object.
|
Fault.HTTPFault.Builder |
clearDelay()
If specified, the filter will inject delays based on the values in the
object.
|
Fault.HTTPFault.Builder |
clearDownstreamNodes()
Faults are injected for the specified list of downstream hosts.
|
Fault.HTTPFault.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Fault.HTTPFault.Builder |
clearHeaders()
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Fault.HTTPFault.Builder |
clearUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the
filter should match on.
|
Fault.HTTPFault.Builder |
clone() |
Fault.FaultAbort |
getAbort()
If specified, the filter will abort requests based on the values in
the object.
|
Fault.FaultAbort.Builder |
getAbortBuilder()
If specified, the filter will abort requests based on the values in
the object.
|
Fault.FaultAbortOrBuilder |
getAbortOrBuilder()
If specified, the filter will abort requests based on the values in
the object.
|
Fault.HTTPFault |
getDefaultInstanceForType() |
Fault.FaultDelay |
getDelay()
If specified, the filter will inject delays based on the values in the
object.
|
Fault.FaultDelay.Builder |
getDelayBuilder()
If specified, the filter will inject delays based on the values in the
object.
|
Fault.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.
|
RouteOuterClass.HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the filter should match on.
|
RouteOuterClass.HeaderMatcher.Builder |
getHeadersBuilder(int index)
Specifies a set of headers that the filter should match on.
|
List<RouteOuterClass.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<RouteOuterClass.HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the filter should match on.
|
RouteOuterClass.HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on.
|
List<? extends RouteOuterClass.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() |
Fault.HTTPFault.Builder |
mergeAbort(Fault.FaultAbort value)
If specified, the filter will abort requests based on the values in
the object.
|
Fault.HTTPFault.Builder |
mergeDelay(Fault.FaultDelay value)
If specified, the filter will inject delays based on the values in the
object.
|
Fault.HTTPFault.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Fault.HTTPFault.Builder |
mergeFrom(Fault.HTTPFault other) |
Fault.HTTPFault.Builder |
mergeFrom(com.google.protobuf.Message other) |
Fault.HTTPFault.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Fault.HTTPFault.Builder |
removeHeaders(int index)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
setAbort(Fault.FaultAbort.Builder builderForValue)
If specified, the filter will abort requests based on the values in
the object.
|
Fault.HTTPFault.Builder |
setAbort(Fault.FaultAbort value)
If specified, the filter will abort requests based on the values in
the object.
|
Fault.HTTPFault.Builder |
setDelay(Fault.FaultDelay.Builder builderForValue)
If specified, the filter will inject delays based on the values in the
object.
|
Fault.HTTPFault.Builder |
setDelay(Fault.FaultDelay value)
If specified, the filter will inject delays based on the values in the
object.
|
Fault.HTTPFault.Builder |
setDownstreamNodes(int index,
String value)
Faults are injected for the specified list of downstream hosts.
|
Fault.HTTPFault.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Fault.HTTPFault.Builder |
setHeaders(int index,
RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
setHeaders(int index,
RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the filter should match on.
|
Fault.HTTPFault.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Fault.HTTPFault.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Fault.HTTPFault.Builder |
setUpstreamCluster(String value)
Specifies the name of the (destination) upstream cluster that the
filter should match on.
|
Fault.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<Fault.HTTPFault.Builder>public Fault.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<Fault.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<Fault.HTTPFault.Builder>public Fault.HTTPFault getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Fault.HTTPFault build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Fault.HTTPFault buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Fault.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<Fault.HTTPFault.Builder>public Fault.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<Fault.HTTPFault.Builder>public Fault.HTTPFault.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Fault.HTTPFault.Builder>public Fault.HTTPFault.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Fault.HTTPFault.Builder>public Fault.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<Fault.HTTPFault.Builder>public Fault.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<Fault.HTTPFault.Builder>public Fault.HTTPFault.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Fault.HTTPFault.Builder>public Fault.HTTPFault.Builder mergeFrom(Fault.HTTPFault other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Fault.HTTPFault.Builder>public Fault.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<Fault.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 Fault.HTTPFaultOrBuilderpublic Fault.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 Fault.HTTPFaultOrBuilderpublic Fault.HTTPFault.Builder setDelay(Fault.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 Fault.HTTPFault.Builder setDelay(Fault.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 Fault.HTTPFault.Builder mergeDelay(Fault.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 Fault.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 Fault.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 Fault.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 Fault.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 Fault.HTTPFaultOrBuilderpublic Fault.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 Fault.HTTPFaultOrBuilderpublic Fault.HTTPFault.Builder setAbort(Fault.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 Fault.HTTPFault.Builder setAbort(Fault.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 Fault.HTTPFault.Builder mergeAbort(Fault.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 Fault.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 Fault.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 Fault.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 Fault.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 Fault.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 Fault.HTTPFaultOrBuilderpublic Fault.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 Fault.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 Fault.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<RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFaultOrBuilderpublic RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFaultOrBuilderpublic Fault.HTTPFault.Builder setHeaders(int index, RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFault.Builder setHeaders(int index, RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFault.Builder addHeaders(RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFault.Builder addHeaders(int index, RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFault.Builder addHeaders(RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFault.Builder addHeaders(int index, RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFault.Builder addAllHeaders(Iterable<? extends RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFaultOrBuilderpublic List<? extends RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.HTTPFaultOrBuilderpublic RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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<RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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 Fault.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 Fault.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 Fault.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 Fault.HTTPFaultOrBuilderpublic Fault.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 Fault.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 Fault.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 Fault.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 Fault.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 Fault.HTTPFault.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Fault.HTTPFault.Builder>public final Fault.HTTPFault.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Fault.HTTPFault.Builder>Copyright © 2018 The Envoy Project. All rights reserved.