public final class HealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HealthCheckOrBuilder
[#next-free-field: 6]Protobuf type
envoy.extensions.filters.http.health_check.v4alpha.HealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
HealthCheck.Builder
[#next-free-field: 6]
Protobuf type
envoy.extensions.filters.http.health_check.v4alpha.HealthCheck |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_TIME_FIELD_NUMBER |
static int |
CLUSTER_MIN_HEALTHY_PERCENTAGES_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
PASS_THROUGH_MODE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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%.
|
boolean |
equals(Object obj) |
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.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%.
|
static HealthCheck |
getDefaultInstance() |
HealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HeaderMatcher |
getHeaders(int index)
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.
|
com.google.protobuf.Parser<HealthCheck> |
getParserForType() |
com.google.protobuf.BoolValue |
getPassThroughMode()
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCacheTime()
If operating in pass through mode, the amount of time in milliseconds
that the filter should cache the upstream response.
|
int |
hashCode() |
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) |
boolean |
isInitialized() |
static HealthCheck.Builder |
newBuilder() |
static HealthCheck.Builder |
newBuilder(HealthCheck prototype) |
HealthCheck.Builder |
newBuilderForType() |
protected HealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HealthCheck |
parseDelimitedFrom(InputStream input) |
static HealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(byte[] data) |
static HealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(ByteBuffer data) |
static HealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static HealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheck |
parseFrom(InputStream input) |
static HealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HealthCheck> |
parser() |
HealthCheck.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PASS_THROUGH_MODE_FIELD_NUMBER
public static final int CACHE_TIME_FIELD_NUMBER
public static final int CLUSTER_MIN_HEALTHY_PERCENTAGES_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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.v3.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.v3.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.v3.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.v3.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.v3.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesOrThrow in interface HealthCheckOrBuilderpublic 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.v4alpha.HeaderMatcher headers = 5;getHeadersList 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.config.route.v4alpha.HeaderMatcher headers = 5;getHeadersOrBuilderList 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.config.route.v4alpha.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.config.route.v4alpha.HeaderMatcher headers = 5;getHeaders in interface HealthCheckOrBuilderpublic 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.v4alpha.HeaderMatcher headers = 5;getHeadersOrBuilder in interface HealthCheckOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static HealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HealthCheck.Builder newBuilder()
public static HealthCheck.Builder newBuilder(HealthCheck prototype)
public HealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<HealthCheck> parser()
public com.google.protobuf.Parser<HealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.