public static final class HealthCheckOuterClass.HealthCheck extends com.google.protobuf.GeneratedMessageV3 implements HealthCheckOuterClass.HealthCheckOrBuilder
envoy.config.filter.http.health_check.v2.HealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
HealthCheckOuterClass.HealthCheck.Builder
Protobuf type
envoy.config.filter.http.health_check.v2.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| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_TIME_FIELD_NUMBER |
static int |
CLUSTER_MIN_HEALTHY_PERCENTAGES_FIELD_NUMBER |
static int |
ENDPOINT_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 in order for the filter to return a 200.
|
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,PercentOuterClass.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 in order for the filter to return a 200.
|
Map<String,PercentOuterClass.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 in order for the filter to return a 200.
|
PercentOuterClass.Percent |
getClusterMinHealthyPercentagesOrDefault(String key,
PercentOuterClass.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 in order for the filter to return a 200.
|
PercentOuterClass.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 in order for the filter to return a 200.
|
static HealthCheckOuterClass.HealthCheck |
getDefaultInstance() |
HealthCheckOuterClass.HealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEndpoint()
Deprecated.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Deprecated.
|
RouteOuterClass.HeaderMatcher |
getHeaders(int index)
[#not-implemented-hide:]
Specifies a set of health check request headers to match on.
|
int |
getHeadersCount()
[#not-implemented-hide:]
Specifies a set of health check request headers to match on.
|
List<RouteOuterClass.HeaderMatcher> |
getHeadersList()
[#not-implemented-hide:]
Specifies a set of health check request headers to match on.
|
RouteOuterClass.HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
[#not-implemented-hide:]
Specifies a set of health check request headers to match on.
|
List<? extends RouteOuterClass.HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
[#not-implemented-hide:]
Specifies a set of health check request headers to match on.
|
com.google.protobuf.Parser<HealthCheckOuterClass.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 HealthCheckOuterClass.HealthCheck.Builder |
newBuilder() |
static HealthCheckOuterClass.HealthCheck.Builder |
newBuilder(HealthCheckOuterClass.HealthCheck prototype) |
HealthCheckOuterClass.HealthCheck.Builder |
newBuilderForType() |
protected HealthCheckOuterClass.HealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static HealthCheckOuterClass.HealthCheck |
parseDelimitedFrom(InputStream input) |
static HealthCheckOuterClass.HealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(byte[] data) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(ByteBuffer data) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(InputStream input) |
static HealthCheckOuterClass.HealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HealthCheckOuterClass.HealthCheck> |
parser() |
HealthCheckOuterClass.HealthCheck.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, 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 ENDPOINT_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
public 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 HealthCheckOuterClass.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 HealthCheckOuterClass.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 HealthCheckOuterClass.HealthCheckOrBuilder@Deprecated public String getEndpoint()
Specifies the incoming HTTP endpoint that should be considered the health check endpoint. For example */healthcheck*.
string endpoint = 2 [deprecated = true, (.validate.rules) = { ... }getEndpoint in interface HealthCheckOuterClass.HealthCheckOrBuilder@Deprecated public com.google.protobuf.ByteString getEndpointBytes()
Specifies the incoming HTTP endpoint that should be considered the health check endpoint. For example */healthcheck*.
string endpoint = 2 [deprecated = true, (.validate.rules) = { ... }getEndpointBytes in interface HealthCheckOuterClass.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 [(.gogoproto.stdduration) = true];hasCacheTime in interface HealthCheckOuterClass.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 [(.gogoproto.stdduration) = true];getCacheTime in interface HealthCheckOuterClass.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 [(.gogoproto.stdduration) = true];getCacheTimeOrBuilder in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic int getClusterMinHealthyPercentagesCount()
HealthCheckOuterClass.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 in order for the filter to return a 200.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesCount in interface HealthCheckOuterClass.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 in order for the filter to return a 200.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;containsClusterMinHealthyPercentages in interface HealthCheckOuterClass.HealthCheckOrBuilder@Deprecated public Map<String,PercentOuterClass.Percent> getClusterMinHealthyPercentages()
getClusterMinHealthyPercentagesMap() instead.getClusterMinHealthyPercentages in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic Map<String,PercentOuterClass.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 in order for the filter to return a 200.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesMap in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic PercentOuterClass.Percent getClusterMinHealthyPercentagesOrDefault(String key, PercentOuterClass.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 in order for the filter to return a 200.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesOrDefault in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic PercentOuterClass.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 in order for the filter to return a 200.
map<string, .envoy.type.Percent> cluster_min_healthy_percentages = 4;getClusterMinHealthyPercentagesOrThrow in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic List<RouteOuterClass.HeaderMatcher> getHeadersList()
[#not-implemented-hide:] 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. Note that if the :ref:`endpoint <envoy_api_field_config.filter.http.health_check.v2.HealthCheck.endpoint>` field is set, it will overwrite any ``:path`` header to match.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersList in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic List<? extends RouteOuterClass.HeaderMatcherOrBuilder> getHeadersOrBuilderList()
[#not-implemented-hide:] 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. Note that if the :ref:`endpoint <envoy_api_field_config.filter.http.health_check.v2.HealthCheck.endpoint>` field is set, it will overwrite any ``:path`` header to match.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersOrBuilderList in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic int getHeadersCount()
[#not-implemented-hide:] 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. Note that if the :ref:`endpoint <envoy_api_field_config.filter.http.health_check.v2.HealthCheck.endpoint>` field is set, it will overwrite any ``:path`` header to match.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersCount in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic RouteOuterClass.HeaderMatcher getHeaders(int index)
[#not-implemented-hide:] 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. Note that if the :ref:`endpoint <envoy_api_field_config.filter.http.health_check.v2.HealthCheck.endpoint>` field is set, it will overwrite any ``:path`` header to match.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeaders in interface HealthCheckOuterClass.HealthCheckOrBuilderpublic RouteOuterClass.HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
[#not-implemented-hide:] 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. Note that if the :ref:`endpoint <envoy_api_field_config.filter.http.health_check.v2.HealthCheck.endpoint>` field is set, it will overwrite any ``:path`` header to match.
repeated .envoy.api.v2.route.HeaderMatcher headers = 5;getHeadersOrBuilder in interface HealthCheckOuterClass.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 HealthCheckOuterClass.HealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthCheckOuterClass.HealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HealthCheckOuterClass.HealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HealthCheckOuterClass.HealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HealthCheckOuterClass.HealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HealthCheckOuterClass.HealthCheck.Builder newBuilder()
public static HealthCheckOuterClass.HealthCheck.Builder newBuilder(HealthCheckOuterClass.HealthCheck prototype)
public HealthCheckOuterClass.HealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HealthCheckOuterClass.HealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HealthCheckOuterClass.HealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<HealthCheckOuterClass.HealthCheck> parser()
public com.google.protobuf.Parser<HealthCheckOuterClass.HealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HealthCheckOuterClass.HealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.