Class HealthCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.health_check.v3.HealthCheck.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheckOrBuilder,Cloneable
- Enclosing class:
- HealthCheck
public static final class HealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder> implements HealthCheckOrBuilder
[#next-free-field: 6]
Protobuf typeenvoy.extensions.filters.http.health_check.v3.HealthCheck
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HealthCheck.BuilderaddAllHeaders(Iterable<? extends HeaderMatcher> values)Specifies a set of health check request headers to match on.HealthCheck.BuilderaddHeaders(int index, HeaderMatcher value)Specifies a set of health check request headers to match on.HealthCheck.BuilderaddHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of health check request headers to match on.HealthCheck.BuilderaddHeaders(HeaderMatcher value)Specifies a set of health check request headers to match on.HealthCheck.BuilderaddHeaders(HeaderMatcher.Builder builderForValue)Specifies a set of health check request headers to match on.HeaderMatcher.BuilderaddHeadersBuilder()Specifies a set of health check request headers to match on.HeaderMatcher.BuilderaddHeadersBuilder(int index)Specifies a set of health check request headers to match on.HealthCheck.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheckbuild()HealthCheckbuildPartial()HealthCheck.Builderclear()HealthCheck.BuilderclearCacheTime()If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.HealthCheck.BuilderclearClusterMinHealthyPercentages()HealthCheck.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HealthCheck.BuilderclearHeaders()Specifies a set of health check request headers to match on.HealthCheck.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HealthCheck.BuilderclearPassThroughMode()Specifies whether the filter operates in pass through mode or not.HealthCheck.Builderclone()booleancontainsClusterMinHealthyPercentages(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.DurationgetCacheTime()If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.com.google.protobuf.Duration.BuildergetCacheTimeBuilder()If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.com.google.protobuf.DurationOrBuildergetCacheTimeOrBuilder()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.intgetClusterMinHealthyPercentagesCount()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%.PercentgetClusterMinHealthyPercentagesOrDefault(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%.PercentgetClusterMinHealthyPercentagesOrThrow(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%.HealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeaderMatchergetHeaders(int index)Specifies a set of health check request headers to match on.HeaderMatcher.BuildergetHeadersBuilder(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.intgetHeadersCount()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.HeaderMatcherOrBuildergetHeadersOrBuilder(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.BoolValuegetPassThroughMode()Specifies whether the filter operates in pass through mode or not.com.google.protobuf.BoolValue.BuildergetPassThroughModeBuilder()Specifies whether the filter operates in pass through mode or not.com.google.protobuf.BoolValueOrBuildergetPassThroughModeOrBuilder()Specifies whether the filter operates in pass through mode or not.booleanhasCacheTime()If operating in pass through mode, the amount of time in milliseconds that the filter should cache the upstream response.booleanhasPassThroughMode()Specifies whether the filter operates in pass through mode or not.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()HealthCheck.BuildermergeCacheTime(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.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HealthCheck.BuildermergeFrom(com.google.protobuf.Message other)HealthCheck.BuildermergeFrom(HealthCheck other)HealthCheck.BuildermergePassThroughMode(com.google.protobuf.BoolValue value)Specifies whether the filter operates in pass through mode or not.HealthCheck.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HealthCheck.BuilderputAllClusterMinHealthyPercentages(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.BuilderputClusterMinHealthyPercentages(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.BuilderremoveClusterMinHealthyPercentages(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.BuilderremoveHeaders(int index)Specifies a set of health check request headers to match on.HealthCheck.BuildersetCacheTime(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.BuildersetCacheTime(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HealthCheck.BuildersetHeaders(int index, HeaderMatcher value)Specifies a set of health check request headers to match on.HealthCheck.BuildersetHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of health check request headers to match on.HealthCheck.BuildersetPassThroughMode(com.google.protobuf.BoolValue value)Specifies whether the filter operates in pass through mode or not.HealthCheck.BuildersetPassThroughMode(com.google.protobuf.BoolValue.Builder builderForValue)Specifies whether the filter operates in pass through mode or not.HealthCheck.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HealthCheck.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
clear
public HealthCheck.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
getDefaultInstanceForType
public HealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HealthCheck.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
setField
public HealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
clearField
public HealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
clearOneof
public HealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
setRepeatedField
public HealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
addRepeatedField
public HealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
mergeFrom
public HealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.Builder>
-
mergeFrom
public HealthCheck.Builder mergeFrom(HealthCheck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
mergeFrom
public HealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.Builder>- Throws:
IOException
-
hasPassThroughMode
public boolean hasPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }- Specified by:
hasPassThroughModein interfaceHealthCheckOrBuilder- Returns:
- Whether the passThroughMode field is set.
-
getPassThroughMode
public 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) = { ... }- Specified by:
getPassThroughModein interfaceHealthCheckOrBuilder- Returns:
- The passThroughMode.
-
setPassThroughMode
public 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) = { ... }
-
setPassThroughMode
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) = { ... }
-
mergePassThroughMode
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) = { ... }
-
clearPassThroughMode
public HealthCheck.Builder clearPassThroughMode()
Specifies whether the filter operates in pass through mode or not.
.google.protobuf.BoolValue pass_through_mode = 1 [(.validate.rules) = { ... }
-
getPassThroughModeBuilder
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) = { ... }
-
getPassThroughModeOrBuilder
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) = { ... }- Specified by:
getPassThroughModeOrBuilderin interfaceHealthCheckOrBuilder
-
hasCacheTime
public 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;- Specified by:
hasCacheTimein interfaceHealthCheckOrBuilder- Returns:
- Whether the cacheTime field is set.
-
getCacheTime
public 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;- Specified by:
getCacheTimein interfaceHealthCheckOrBuilder- Returns:
- The cacheTime.
-
setCacheTime
public 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;
-
setCacheTime
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;
-
mergeCacheTime
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;
-
clearCacheTime
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;
-
getCacheTimeBuilder
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;
-
getCacheTimeOrBuilder
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;- Specified by:
getCacheTimeOrBuilderin interfaceHealthCheckOrBuilder
-
getClusterMinHealthyPercentagesCount
public int getClusterMinHealthyPercentagesCount()
Description copied from interface:HealthCheckOrBuilderIf 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.v3.Percent> cluster_min_healthy_percentages = 4;- Specified by:
getClusterMinHealthyPercentagesCountin interfaceHealthCheckOrBuilder
-
containsClusterMinHealthyPercentages
public 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.v3.Percent> cluster_min_healthy_percentages = 4;- Specified by:
containsClusterMinHealthyPercentagesin interfaceHealthCheckOrBuilder
-
getClusterMinHealthyPercentages
@Deprecated public Map<String,Percent> getClusterMinHealthyPercentages()
Deprecated.UsegetClusterMinHealthyPercentagesMap()instead.- Specified by:
getClusterMinHealthyPercentagesin interfaceHealthCheckOrBuilder
-
getClusterMinHealthyPercentagesMap
public 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.v3.Percent> cluster_min_healthy_percentages = 4;- Specified by:
getClusterMinHealthyPercentagesMapin interfaceHealthCheckOrBuilder
-
getClusterMinHealthyPercentagesOrDefault
public 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.v3.Percent> cluster_min_healthy_percentages = 4;- Specified by:
getClusterMinHealthyPercentagesOrDefaultin interfaceHealthCheckOrBuilder
-
getClusterMinHealthyPercentagesOrThrow
public 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.v3.Percent> cluster_min_healthy_percentages = 4;- Specified by:
getClusterMinHealthyPercentagesOrThrowin interfaceHealthCheckOrBuilder
-
clearClusterMinHealthyPercentages
public HealthCheck.Builder clearClusterMinHealthyPercentages()
-
removeClusterMinHealthyPercentages
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.v3.Percent> cluster_min_healthy_percentages = 4;
-
getMutableClusterMinHealthyPercentages
@Deprecated public Map<String,Percent> getMutableClusterMinHealthyPercentages()
Deprecated.Use alternate mutation accessors instead.
-
putClusterMinHealthyPercentages
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.v3.Percent> cluster_min_healthy_percentages = 4;
-
putAllClusterMinHealthyPercentages
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.v3.Percent> cluster_min_healthy_percentages = 4;
-
getHeadersList
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.config.route.v3.HeaderMatcher headers = 5;- Specified by:
getHeadersListin interfaceHealthCheckOrBuilder
-
getHeadersCount
public 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.config.route.v3.HeaderMatcher headers = 5;- Specified by:
getHeadersCountin interfaceHealthCheckOrBuilder
-
getHeaders
public 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.config.route.v3.HeaderMatcher headers = 5;- Specified by:
getHeadersin interfaceHealthCheckOrBuilder
-
setHeaders
public 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.config.route.v3.HeaderMatcher headers = 5;
-
setHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
addHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
addHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
addHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
addHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
addAllHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
clearHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
removeHeaders
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.config.route.v3.HeaderMatcher headers = 5;
-
getHeadersBuilder
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.config.route.v3.HeaderMatcher headers = 5;
-
getHeadersOrBuilder
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.config.route.v3.HeaderMatcher headers = 5;- Specified by:
getHeadersOrBuilderin interfaceHealthCheckOrBuilder
-
getHeadersOrBuilderList
public 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.config.route.v3.HeaderMatcher headers = 5;- Specified by:
getHeadersOrBuilderListin interfaceHealthCheckOrBuilder
-
addHeadersBuilder
public 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.config.route.v3.HeaderMatcher headers = 5;
-
addHeadersBuilder
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.config.route.v3.HeaderMatcher headers = 5;
-
getHeadersBuilderList
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.config.route.v3.HeaderMatcher headers = 5;
-
setUnknownFields
public final HealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
mergeUnknownFields
public final HealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.Builder>
-
-