public static final class ClusterHealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder> 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.discovery.v2.ClusterHealthCheck| Modifier and Type | Method and Description |
|---|---|
ClusterHealthCheck.Builder |
addAllHealthChecks(Iterable<? extends HealthCheck> values)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
addAllLocalityEndpoints(Iterable<? extends LocalityEndpoints> values)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
addHealthChecks(HealthCheck.Builder builderForValue)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
addHealthChecks(HealthCheck value)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
addHealthChecks(int index,
HealthCheck.Builder builderForValue)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
addHealthChecks(int index,
HealthCheck value)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
HealthCheck.Builder |
addHealthChecksBuilder()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
HealthCheck.Builder |
addHealthChecksBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
addLocalityEndpoints(int index,
LocalityEndpoints.Builder builderForValue)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
addLocalityEndpoints(int index,
LocalityEndpoints value)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
addLocalityEndpoints(LocalityEndpoints.Builder builderForValue)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
addLocalityEndpoints(LocalityEndpoints value)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
LocalityEndpoints.Builder |
addLocalityEndpointsBuilder()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
LocalityEndpoints.Builder |
addLocalityEndpointsBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClusterHealthCheck |
build() |
ClusterHealthCheck |
buildPartial() |
ClusterHealthCheck.Builder |
clear() |
ClusterHealthCheck.Builder |
clearClusterName()
string cluster_name = 1; |
ClusterHealthCheck.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ClusterHealthCheck.Builder |
clearHealthChecks()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
clearLocalityEndpoints()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ClusterHealthCheck.Builder |
clone() |
String |
getClusterName()
string cluster_name = 1; |
com.google.protobuf.ByteString |
getClusterNameBytes()
string cluster_name = 1; |
ClusterHealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HealthCheck |
getHealthChecks(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
HealthCheck.Builder |
getHealthChecksBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
List<HealthCheck.Builder> |
getHealthChecksBuilderList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
int |
getHealthChecksCount()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
List<HealthCheck> |
getHealthChecksList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
HealthCheckOrBuilder |
getHealthChecksOrBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
List<? extends HealthCheckOrBuilder> |
getHealthChecksOrBuilderList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
LocalityEndpoints |
getLocalityEndpoints(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
LocalityEndpoints.Builder |
getLocalityEndpointsBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
List<LocalityEndpoints.Builder> |
getLocalityEndpointsBuilderList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
int |
getLocalityEndpointsCount()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
List<LocalityEndpoints> |
getLocalityEndpointsList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
LocalityEndpointsOrBuilder |
getLocalityEndpointsOrBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
List<? extends LocalityEndpointsOrBuilder> |
getLocalityEndpointsOrBuilderList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClusterHealthCheck.Builder |
mergeFrom(ClusterHealthCheck other) |
ClusterHealthCheck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClusterHealthCheck.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClusterHealthCheck.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ClusterHealthCheck.Builder |
removeHealthChecks(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
removeLocalityEndpoints(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
setClusterName(String value)
string cluster_name = 1; |
ClusterHealthCheck.Builder |
setClusterNameBytes(com.google.protobuf.ByteString value)
string cluster_name = 1; |
ClusterHealthCheck.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClusterHealthCheck.Builder |
setHealthChecks(int index,
HealthCheck.Builder builderForValue)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
setHealthChecks(int index,
HealthCheck value)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2; |
ClusterHealthCheck.Builder |
setLocalityEndpoints(int index,
LocalityEndpoints.Builder builderForValue)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
setLocalityEndpoints(int index,
LocalityEndpoints value)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3; |
ClusterHealthCheck.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ClusterHealthCheck.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClusterHealthCheck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClusterHealthCheck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClusterHealthCheck.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder mergeFrom(ClusterHealthCheck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public ClusterHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterHealthCheck.Builder>IOExceptionpublic String getClusterName()
string cluster_name = 1;getClusterName in interface ClusterHealthCheckOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
string cluster_name = 1;getClusterNameBytes in interface ClusterHealthCheckOrBuilderpublic ClusterHealthCheck.Builder setClusterName(String value)
string cluster_name = 1;public ClusterHealthCheck.Builder clearClusterName()
string cluster_name = 1;public ClusterHealthCheck.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
string cluster_name = 1;public List<HealthCheck> getHealthChecksList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksList in interface ClusterHealthCheckOrBuilderpublic int getHealthChecksCount()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksCount in interface ClusterHealthCheckOrBuilderpublic HealthCheck getHealthChecks(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecks in interface ClusterHealthCheckOrBuilderpublic ClusterHealthCheck.Builder setHealthChecks(int index, HealthCheck value)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder setHealthChecks(int index, HealthCheck.Builder builderForValue)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder addHealthChecks(HealthCheck value)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder addHealthChecks(int index, HealthCheck value)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder addHealthChecks(HealthCheck.Builder builderForValue)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder addHealthChecks(int index, HealthCheck.Builder builderForValue)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder addAllHealthChecks(Iterable<? extends HealthCheck> values)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder clearHealthChecks()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public ClusterHealthCheck.Builder removeHealthChecks(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public HealthCheck.Builder getHealthChecksBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public HealthCheckOrBuilder getHealthChecksOrBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksOrBuilder in interface ClusterHealthCheckOrBuilderpublic List<? extends HealthCheckOrBuilder> getHealthChecksOrBuilderList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;getHealthChecksOrBuilderList in interface ClusterHealthCheckOrBuilderpublic HealthCheck.Builder addHealthChecksBuilder()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public HealthCheck.Builder addHealthChecksBuilder(int index)
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public List<HealthCheck.Builder> getHealthChecksBuilderList()
repeated .envoy.api.v2.core.HealthCheck health_checks = 2;public List<LocalityEndpoints> getLocalityEndpointsList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsList in interface ClusterHealthCheckOrBuilderpublic int getLocalityEndpointsCount()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsCount in interface ClusterHealthCheckOrBuilderpublic LocalityEndpoints getLocalityEndpoints(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpoints in interface ClusterHealthCheckOrBuilderpublic ClusterHealthCheck.Builder setLocalityEndpoints(int index, LocalityEndpoints value)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder setLocalityEndpoints(int index, LocalityEndpoints.Builder builderForValue)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder addLocalityEndpoints(LocalityEndpoints value)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder addLocalityEndpoints(int index, LocalityEndpoints value)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder addLocalityEndpoints(LocalityEndpoints.Builder builderForValue)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder addLocalityEndpoints(int index, LocalityEndpoints.Builder builderForValue)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder addAllLocalityEndpoints(Iterable<? extends LocalityEndpoints> values)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder clearLocalityEndpoints()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public ClusterHealthCheck.Builder removeLocalityEndpoints(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public LocalityEndpoints.Builder getLocalityEndpointsBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public LocalityEndpointsOrBuilder getLocalityEndpointsOrBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsOrBuilder in interface ClusterHealthCheckOrBuilderpublic List<? extends LocalityEndpointsOrBuilder> getLocalityEndpointsOrBuilderList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;getLocalityEndpointsOrBuilderList in interface ClusterHealthCheckOrBuilderpublic LocalityEndpoints.Builder addLocalityEndpointsBuilder()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public LocalityEndpoints.Builder addLocalityEndpointsBuilder(int index)
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public List<LocalityEndpoints.Builder> getLocalityEndpointsBuilderList()
repeated .envoy.service.discovery.v2.LocalityEndpoints locality_endpoints = 3;public final ClusterHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>public final ClusterHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterHealthCheck.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.