public static final class HealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder> implements HealthCheckOrBuilder
[#next-free-field: 6]Protobuf type
envoy.config.filter.http.health_check.v2.HealthCheck| Modifier and Type | Method and Description |
|---|---|
HealthCheck.Builder |
addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
addHeaders(HeaderMatcher value)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
addHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
addHeaders(int index,
HeaderMatcher value)
Specifies a set of health check request headers to match on.
|
HeaderMatcher.Builder |
addHeadersBuilder()
Specifies a set of health check request headers to match on.
|
HeaderMatcher.Builder |
addHeadersBuilder(int index)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck |
build() |
HealthCheck |
buildPartial() |
HealthCheck.Builder |
clear() |
HealthCheck.Builder |
clearCacheTime()
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
HealthCheck.Builder |
clearClusterMinHealthyPercentages() |
HealthCheck.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HealthCheck.Builder |
clearHeaders()
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HealthCheck.Builder |
clearPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
|
HealthCheck.Builder |
clone() |
boolean |
containsClusterMinHealthyPercentages(String key)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
com.google.protobuf.Duration |
getCacheTime()
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
com.google.protobuf.Duration.Builder |
getCacheTimeBuilder()
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
com.google.protobuf.DurationOrBuilder |
getCacheTimeOrBuilder()
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
Map<String,Percent> |
getClusterMinHealthyPercentages()
Deprecated.
|
int |
getClusterMinHealthyPercentagesCount()
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
Map<String,Percent> |
getClusterMinHealthyPercentagesMap()
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
Percent |
getClusterMinHealthyPercentagesOrDefault(String key,
Percent defaultValue)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
Percent |
getClusterMinHealthyPercentagesOrThrow(String key)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
HealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderMatcher |
getHeaders(int index)
Specifies a set of health check request headers to match on.
|
HeaderMatcher.Builder |
getHeadersBuilder(int index)
Specifies a set of health check request headers to match on.
|
List<HeaderMatcher.Builder> |
getHeadersBuilderList()
Specifies a set of health check request headers to match on.
|
int |
getHeadersCount()
Specifies a set of health check request headers to match on.
|
List<HeaderMatcher> |
getHeadersList()
Specifies a set of health check request headers to match on.
|
HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of health check request headers to match on.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of health check request headers to match on.
|
Map<String,Percent> |
getMutableClusterMinHealthyPercentages()
Deprecated.
|
com.google.protobuf.BoolValue |
getPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
|
com.google.protobuf.BoolValue.Builder |
getPassThroughModeBuilder()
Specifies whether the filter operates in pass through mode or not.
|
com.google.protobuf.BoolValueOrBuilder |
getPassThroughModeOrBuilder()
Specifies whether the filter operates in pass through mode or not.
|
boolean |
hasCacheTime()
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
boolean |
hasPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
HealthCheck.Builder |
mergeCacheTime(com.google.protobuf.Duration value)
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
HealthCheck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HealthCheck.Builder |
mergeFrom(HealthCheck other) |
HealthCheck.Builder |
mergeFrom(com.google.protobuf.Message other) |
HealthCheck.Builder |
mergePassThroughMode(com.google.protobuf.BoolValue value)
Specifies whether the filter operates in pass through mode or not.
|
HealthCheck.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthCheck.Builder |
putAllClusterMinHealthyPercentages(Map<String,Percent> values)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
HealthCheck.Builder |
putClusterMinHealthyPercentages(String key,
Percent value)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
HealthCheck.Builder |
removeClusterMinHealthyPercentages(String key)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
|
HealthCheck.Builder |
removeHeaders(int index)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
setCacheTime(com.google.protobuf.Duration.Builder builderForValue)
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
HealthCheck.Builder |
setCacheTime(com.google.protobuf.Duration value)
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
HealthCheck.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck.Builder |
setHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
setHeaders(int index,
HeaderMatcher value)
Specifies a set of health check request headers to match on.
|
HealthCheck.Builder |
setPassThroughMode(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the filter operates in pass through mode or not.
|
HealthCheck.Builder |
setPassThroughMode(com.google.protobuf.BoolValue value)
Specifies whether the filter operates in pass through mode or not.
|
HealthCheck.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HealthCheck.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.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<HealthCheck.Builder>public HealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HealthCheck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>public HealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>public HealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.Builder>public HealthCheck.Builder mergeFrom(HealthCheck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public HealthCheck.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<HealthCheck.Builder>IOExceptionpublic boolean hasPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }hasPassThroughMode in interface HealthCheckOrBuilderpublic com.google.protobuf.BoolValue getPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }getPassThroughMode in interface HealthCheckOrBuilderpublic HealthCheck.Builder setPassThroughMode(com.google.protobuf.BoolValue value)
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }public HealthCheck.Builder setPassThroughMode(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }public HealthCheck.Builder mergePassThroughMode(com.google.protobuf.BoolValue value)
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }public HealthCheck.Builder clearPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }public com.google.protobuf.BoolValue.Builder getPassThroughModeBuilder()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }public com.google.protobuf.BoolValueOrBuilder getPassThroughModeOrBuilder()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }getPassThroughModeOrBuilder in interface HealthCheckOrBuilderpublic boolean hasCacheTime()
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;hasCacheTime in interface HealthCheckOrBuilderpublic com.google.protobuf.Duration getCacheTime()
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;getCacheTime in interface HealthCheckOrBuilderpublic HealthCheck.Builder setCacheTime(com.google.protobuf.Duration value)
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;public HealthCheck.Builder setCacheTime(com.google.protobuf.Duration.Builder builderForValue)
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;public HealthCheck.Builder mergeCacheTime(com.google.protobuf.Duration value)
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;public HealthCheck.Builder clearCacheTime()
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;public com.google.protobuf.Duration.Builder getCacheTimeBuilder()
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;public com.google.protobuf.DurationOrBuilder getCacheTimeOrBuilder()
If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.
.google.protobuf.Duration cache_time = 3;getCacheTimeOrBuilder in interface HealthCheckOrBuilderpublic int getClusterMinHealthyPercentagesCount()
HealthCheckOrBuilder
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesCount in interface HealthCheckOrBuilderpublic boolean containsClusterMinHealthyPercentages(String key)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;containsClusterMinHealthyPercentages in interface HealthCheckOrBuilder@Deprecated public Map<String,Percent> getClusterMinHealthyPercentages()
getClusterMinHealthyPercentagesMap() instead.getClusterMinHealthyPercentages in interface HealthCheckOrBuilderpublic Map<String,Percent> getClusterMinHealthyPercentagesMap()
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesMap in interface HealthCheckOrBuilderpublic Percent getClusterMinHealthyPercentagesOrDefault(String key, Percent defaultValue)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesOrDefault in interface HealthCheckOrBuilderpublic Percent getClusterMinHealthyPercentagesOrThrow(String key)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesOrThrow in interface HealthCheckOrBuilderpublic HealthCheck.Builder clearClusterMinHealthyPercentages()
public HealthCheck.Builder removeClusterMinHealthyPercentages(String key)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;@Deprecated public Map<String,Percent> getMutableClusterMinHealthyPercentages()
public HealthCheck.Builder putClusterMinHealthyPercentages(String key, Percent value)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;public HealthCheck.Builder putAllClusterMinHealthyPercentages(Map<String,Percent> values)
If operating in non-pass-through mode, specifies a set of upstream cluster
names and the minimum percentage of servers in each of those clusters that
must be healthy or degraded in order for the filter to return a 200.
.. note::
This value is interpreted as an integer by truncating, so 12.50% will be calculated
as if it were 12%.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;public List<HeaderMatcher> getHeadersList()
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersList in interface HealthCheckOrBuilderpublic int getHeadersCount()
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersCount in interface HealthCheckOrBuilderpublic HeaderMatcher getHeaders(int index)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeaders in interface HealthCheckOrBuilderpublic HealthCheck.Builder setHeaders(int index, HeaderMatcher value)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder addHeaders(HeaderMatcher value)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder addHeaders(int index, HeaderMatcher value)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder clearHeaders()
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HealthCheck.Builder removeHeaders(int index)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HeaderMatcher.Builder getHeadersBuilder(int index)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersOrBuilder in interface HealthCheckOrBuilderpublic List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersOrBuilderList in interface HealthCheckOrBuilderpublic HeaderMatcher.Builder addHeadersBuilder()
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public HeaderMatcher.Builder addHeadersBuilder(int index)
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public List<HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of health check request headers to match on. The health check filter will check a request’s headers against all the specified headers. To specify the health check endpoint, set the ``:path`` header to match on.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;public final HealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>public final HealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.