public final class ClusterHealthCheck extends com.google.protobuf.GeneratedMessageV3 implements ClusterHealthCheckOrBuilder
The cluster name and locality is provided to Envoy for the endpoints that it health checks to support statistics reporting, logging and debugging by the Envoy instance (outside of HDS). For maximum usefulness, it should match the same cluster structure as that provided by EDS.Protobuf type
envoy.service.health.v4alpha.ClusterHealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterHealthCheck.Builder
The cluster name and locality is provided to Envoy for the endpoints that it
health checks to support statistics reporting, logging and debugging by the
Envoy instance (outside of HDS).
|
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 |
CLUSTER_NAME_FIELD_NUMBER |
static int |
HEALTH_CHECKS_FIELD_NUMBER |
static int |
LOCALITY_ENDPOINTS_FIELD_NUMBER |
static int |
TRANSPORT_SOCKET_MATCHES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClusterName()
string cluster_name = 1; |
com.google.protobuf.ByteString |
getClusterNameBytes()
string cluster_name = 1; |
static ClusterHealthCheck |
getDefaultInstance() |
ClusterHealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HealthCheck |
getHealthChecks(int index)
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2; |
int |
getHealthChecksCount()
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2; |
List<HealthCheck> |
getHealthChecksList()
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2; |
HealthCheckOrBuilder |
getHealthChecksOrBuilder(int index)
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2; |
List<? extends HealthCheckOrBuilder> |
getHealthChecksOrBuilderList()
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2; |
LocalityEndpoints |
getLocalityEndpoints(int index)
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3; |
int |
getLocalityEndpointsCount()
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3; |
List<LocalityEndpoints> |
getLocalityEndpointsList()
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3; |
LocalityEndpointsOrBuilder |
getLocalityEndpointsOrBuilder(int index)
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3; |
List<? extends LocalityEndpointsOrBuilder> |
getLocalityEndpointsOrBuilderList()
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3; |
com.google.protobuf.Parser<ClusterHealthCheck> |
getParserForType() |
int |
getSerializedSize() |
Cluster.TransportSocketMatch |
getTransportSocketMatches(int index)
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>`
on connection when health checking.
|
int |
getTransportSocketMatchesCount()
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>`
on connection when health checking.
|
List<Cluster.TransportSocketMatch> |
getTransportSocketMatchesList()
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>`
on connection when health checking.
|
Cluster.TransportSocketMatchOrBuilder |
getTransportSocketMatchesOrBuilder(int index)
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>`
on connection when health checking.
|
List<? extends Cluster.TransportSocketMatchOrBuilder> |
getTransportSocketMatchesOrBuilderList()
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>`
on connection when health checking.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClusterHealthCheck.Builder |
newBuilder() |
static ClusterHealthCheck.Builder |
newBuilder(ClusterHealthCheck prototype) |
ClusterHealthCheck.Builder |
newBuilderForType() |
protected ClusterHealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ClusterHealthCheck |
parseDelimitedFrom(InputStream input) |
static ClusterHealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterHealthCheck |
parseFrom(byte[] data) |
static ClusterHealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterHealthCheck |
parseFrom(ByteBuffer data) |
static ClusterHealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterHealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static ClusterHealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterHealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClusterHealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterHealthCheck |
parseFrom(InputStream input) |
static ClusterHealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClusterHealthCheck> |
parser() |
ClusterHealthCheck.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, internalGetMapField, 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 CLUSTER_NAME_FIELD_NUMBER
public static final int HEALTH_CHECKS_FIELD_NUMBER
public static final int LOCALITY_ENDPOINTS_FIELD_NUMBER
public static final int TRANSPORT_SOCKET_MATCHES_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getClusterName()
string cluster_name = 1;getClusterName in interface ClusterHealthCheckOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
string cluster_name = 1;getClusterNameBytes in interface ClusterHealthCheckOrBuilderpublic List<HealthCheck> getHealthChecksList()
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2;getHealthChecksList in interface ClusterHealthCheckOrBuilderpublic List<? extends HealthCheckOrBuilder> getHealthChecksOrBuilderList()
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2;getHealthChecksOrBuilderList in interface ClusterHealthCheckOrBuilderpublic int getHealthChecksCount()
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2;getHealthChecksCount in interface ClusterHealthCheckOrBuilderpublic HealthCheck getHealthChecks(int index)
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2;getHealthChecks in interface ClusterHealthCheckOrBuilderpublic HealthCheckOrBuilder getHealthChecksOrBuilder(int index)
repeated .envoy.config.core.v4alpha.HealthCheck health_checks = 2;getHealthChecksOrBuilder in interface ClusterHealthCheckOrBuilderpublic List<LocalityEndpoints> getLocalityEndpointsList()
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsList in interface ClusterHealthCheckOrBuilderpublic List<? extends LocalityEndpointsOrBuilder> getLocalityEndpointsOrBuilderList()
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsOrBuilderList in interface ClusterHealthCheckOrBuilderpublic int getLocalityEndpointsCount()
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsCount in interface ClusterHealthCheckOrBuilderpublic LocalityEndpoints getLocalityEndpoints(int index)
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3;getLocalityEndpoints in interface ClusterHealthCheckOrBuilderpublic LocalityEndpointsOrBuilder getLocalityEndpointsOrBuilder(int index)
repeated .envoy.service.health.v4alpha.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsOrBuilder in interface ClusterHealthCheckOrBuilderpublic List<Cluster.TransportSocketMatch> getTransportSocketMatchesList()
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>` on connection when health checking. For more details, see :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_api_field_config.cluster.v4alpha.Cluster.transport_socket_matches>`.
repeated .envoy.config.cluster.v4alpha.Cluster.TransportSocketMatch transport_socket_matches = 4;getTransportSocketMatchesList in interface ClusterHealthCheckOrBuilderpublic List<? extends Cluster.TransportSocketMatchOrBuilder> getTransportSocketMatchesOrBuilderList()
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>` on connection when health checking. For more details, see :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_api_field_config.cluster.v4alpha.Cluster.transport_socket_matches>`.
repeated .envoy.config.cluster.v4alpha.Cluster.TransportSocketMatch transport_socket_matches = 4;getTransportSocketMatchesOrBuilderList in interface ClusterHealthCheckOrBuilderpublic int getTransportSocketMatchesCount()
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>` on connection when health checking. For more details, see :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_api_field_config.cluster.v4alpha.Cluster.transport_socket_matches>`.
repeated .envoy.config.cluster.v4alpha.Cluster.TransportSocketMatch transport_socket_matches = 4;getTransportSocketMatchesCount in interface ClusterHealthCheckOrBuilderpublic Cluster.TransportSocketMatch getTransportSocketMatches(int index)
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>` on connection when health checking. For more details, see :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_api_field_config.cluster.v4alpha.Cluster.transport_socket_matches>`.
repeated .envoy.config.cluster.v4alpha.Cluster.TransportSocketMatch transport_socket_matches = 4;getTransportSocketMatches in interface ClusterHealthCheckOrBuilderpublic Cluster.TransportSocketMatchOrBuilder getTransportSocketMatchesOrBuilder(int index)
Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_api_field_config.core.v4alpha.HealthCheck.transport_socket_match_criteria>` on connection when health checking. For more details, see :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_api_field_config.cluster.v4alpha.Cluster.transport_socket_matches>`.
repeated .envoy.config.cluster.v4alpha.Cluster.TransportSocketMatch transport_socket_matches = 4;getTransportSocketMatchesOrBuilder in interface ClusterHealthCheckOrBuilderpublic 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 ClusterHealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterHealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterHealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterHealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterHealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterHealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterHealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClusterHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClusterHealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClusterHealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClusterHealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClusterHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClusterHealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClusterHealthCheck.Builder newBuilder()
public static ClusterHealthCheck.Builder newBuilder(ClusterHealthCheck prototype)
public ClusterHealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClusterHealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ClusterHealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<ClusterHealthCheck> parser()
public com.google.protobuf.Parser<ClusterHealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ClusterHealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.