public static final class Hds.ClusterHealthCheck extends com.google.protobuf.GeneratedMessageV3 implements Hds.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.discovery.v2.ClusterHealthCheck| Modifier and Type | Class and Description |
|---|---|
static class |
Hds.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| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
HEALTH_CHECKS_FIELD_NUMBER |
static int |
LOCALITY_ENDPOINTS_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 Hds.ClusterHealthCheck |
getDefaultInstance() |
Hds.ClusterHealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HealthCheckOuterClass.HealthCheck |
getHealthChecks(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
int |
getHealthChecksCount()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
List<HealthCheckOuterClass.HealthCheck> |
getHealthChecksList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
HealthCheckOuterClass.HealthCheckOrBuilder |
getHealthChecksOrBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
List<? extends HealthCheckOuterClass.HealthCheckOrBuilder> |
getHealthChecksOrBuilderList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
Hds.LocalityEndpoints |
getLocalityEndpoints(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
int |
getLocalityEndpointsCount()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
List<Hds.LocalityEndpoints> |
getLocalityEndpointsList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
Hds.LocalityEndpointsOrBuilder |
getLocalityEndpointsOrBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
List<? extends Hds.LocalityEndpointsOrBuilder> |
getLocalityEndpointsOrBuilderList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
com.google.protobuf.Parser<Hds.ClusterHealthCheck> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Hds.ClusterHealthCheck.Builder |
newBuilder() |
static Hds.ClusterHealthCheck.Builder |
newBuilder(Hds.ClusterHealthCheck prototype) |
Hds.ClusterHealthCheck.Builder |
newBuilderForType() |
protected Hds.ClusterHealthCheck.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Hds.ClusterHealthCheck |
parseDelimitedFrom(InputStream input) |
static Hds.ClusterHealthCheck |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Hds.ClusterHealthCheck |
parseFrom(byte[] data) |
static Hds.ClusterHealthCheck |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Hds.ClusterHealthCheck |
parseFrom(ByteBuffer data) |
static Hds.ClusterHealthCheck |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Hds.ClusterHealthCheck |
parseFrom(com.google.protobuf.ByteString data) |
static Hds.ClusterHealthCheck |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Hds.ClusterHealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Hds.ClusterHealthCheck |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Hds.ClusterHealthCheck |
parseFrom(InputStream input) |
static Hds.ClusterHealthCheck |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Hds.ClusterHealthCheck> |
parser() |
Hds.ClusterHealthCheck.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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 CLUSTER_NAME_FIELD_NUMBER
public static final int HEALTH_CHECKS_FIELD_NUMBER
public static final int LOCALITY_ENDPOINTS_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getClusterName()
string cluster_name = 1;getClusterName in interface Hds.ClusterHealthCheckOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
string cluster_name = 1;getClusterNameBytes in interface Hds.ClusterHealthCheckOrBuilderpublic List<HealthCheckOuterClass.HealthCheck> getHealthChecksList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksList in interface Hds.ClusterHealthCheckOrBuilderpublic List<? extends HealthCheckOuterClass.HealthCheckOrBuilder> getHealthChecksOrBuilderList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksOrBuilderList in interface Hds.ClusterHealthCheckOrBuilderpublic int getHealthChecksCount()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksCount in interface Hds.ClusterHealthCheckOrBuilderpublic HealthCheckOuterClass.HealthCheck getHealthChecks(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecks in interface Hds.ClusterHealthCheckOrBuilderpublic HealthCheckOuterClass.HealthCheckOrBuilder getHealthChecksOrBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksOrBuilder in interface Hds.ClusterHealthCheckOrBuilderpublic List<Hds.LocalityEndpoints> getLocalityEndpointsList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsList in interface Hds.ClusterHealthCheckOrBuilderpublic List<? extends Hds.LocalityEndpointsOrBuilder> getLocalityEndpointsOrBuilderList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsOrBuilderList in interface Hds.ClusterHealthCheckOrBuilderpublic int getLocalityEndpointsCount()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsCount in interface Hds.ClusterHealthCheckOrBuilderpublic Hds.LocalityEndpoints getLocalityEndpoints(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpoints in interface Hds.ClusterHealthCheckOrBuilderpublic Hds.LocalityEndpointsOrBuilder getLocalityEndpointsOrBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsOrBuilder in interface Hds.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 Hds.ClusterHealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Hds.ClusterHealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Hds.ClusterHealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Hds.ClusterHealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Hds.ClusterHealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Hds.ClusterHealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Hds.ClusterHealthCheck parseFrom(InputStream input) throws IOException
IOExceptionpublic static Hds.ClusterHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Hds.ClusterHealthCheck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Hds.ClusterHealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Hds.ClusterHealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Hds.ClusterHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Hds.ClusterHealthCheck.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Hds.ClusterHealthCheck.Builder newBuilder()
public static Hds.ClusterHealthCheck.Builder newBuilder(Hds.ClusterHealthCheck prototype)
public Hds.ClusterHealthCheck.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Hds.ClusterHealthCheck.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Hds.ClusterHealthCheck getDefaultInstance()
public static com.google.protobuf.Parser<Hds.ClusterHealthCheck> parser()
public com.google.protobuf.Parser<Hds.ClusterHealthCheck> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Hds.ClusterHealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.