public static final class Endpoint.HealthCheckConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder> implements Endpoint.HealthCheckConfigOrBuilder
The optional health check configuration.Protobuf type
envoy.api.v2.endpoint.Endpoint.HealthCheckConfig| Modifier and Type | Method and Description |
|---|---|
Endpoint.HealthCheckConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint.HealthCheckConfig |
build() |
Endpoint.HealthCheckConfig |
buildPartial() |
Endpoint.HealthCheckConfig.Builder |
clear() |
Endpoint.HealthCheckConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Endpoint.HealthCheckConfig.Builder |
clearHostname()
By default, the host header for L7 health checks is controlled by cluster level configuration
(see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and
:ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`).
|
Endpoint.HealthCheckConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Endpoint.HealthCheckConfig.Builder |
clearPortValue()
Optional alternative health check port value.
|
Endpoint.HealthCheckConfig.Builder |
clone() |
Endpoint.HealthCheckConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostname()
By default, the host header for L7 health checks is controlled by cluster level configuration
(see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and
:ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`).
|
com.google.protobuf.ByteString |
getHostnameBytes()
By default, the host header for L7 health checks is controlled by cluster level configuration
(see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and
:ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`).
|
int |
getPortValue()
Optional alternative health check port value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Endpoint.HealthCheckConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Endpoint.HealthCheckConfig.Builder |
mergeFrom(Endpoint.HealthCheckConfig other) |
Endpoint.HealthCheckConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Endpoint.HealthCheckConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Endpoint.HealthCheckConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint.HealthCheckConfig.Builder |
setHostname(String value)
By default, the host header for L7 health checks is controlled by cluster level configuration
(see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and
:ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`).
|
Endpoint.HealthCheckConfig.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
By default, the host header for L7 health checks is controlled by cluster level configuration
(see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and
:ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`).
|
Endpoint.HealthCheckConfig.Builder |
setPortValue(int value)
Optional alternative health check port value.
|
Endpoint.HealthCheckConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Endpoint.HealthCheckConfig.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<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.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<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Endpoint.HealthCheckConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Endpoint.HealthCheckConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Endpoint.HealthCheckConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.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<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.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<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.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<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.Builder mergeFrom(Endpoint.HealthCheckConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder>public Endpoint.HealthCheckConfig.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<Endpoint.HealthCheckConfig.Builder>IOExceptionpublic int getPortValue()
Optional alternative health check port value. By default the health check address port of an upstream host is the same as the host's serving address port. This provides an alternative health check port. Setting this with a non-zero value allows an upstream host to have different health check address port.
uint32 port_value = 1 [(.validate.rules) = { ... }getPortValue in interface Endpoint.HealthCheckConfigOrBuilderpublic Endpoint.HealthCheckConfig.Builder setPortValue(int value)
Optional alternative health check port value. By default the health check address port of an upstream host is the same as the host's serving address port. This provides an alternative health check port. Setting this with a non-zero value allows an upstream host to have different health check address port.
uint32 port_value = 1 [(.validate.rules) = { ... }public Endpoint.HealthCheckConfig.Builder clearPortValue()
Optional alternative health check port value. By default the health check address port of an upstream host is the same as the host's serving address port. This provides an alternative health check port. Setting this with a non-zero value allows an upstream host to have different health check address port.
uint32 port_value = 1 [(.validate.rules) = { ... }public String getHostname()
By default, the host header for L7 health checks is controlled by cluster level configuration (see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and :ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`). Setting this to a non-empty value allows overriding the cluster level configuration for a specific endpoint.
string hostname = 2;getHostname in interface Endpoint.HealthCheckConfigOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
By default, the host header for L7 health checks is controlled by cluster level configuration (see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and :ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`). Setting this to a non-empty value allows overriding the cluster level configuration for a specific endpoint.
string hostname = 2;getHostnameBytes in interface Endpoint.HealthCheckConfigOrBuilderpublic Endpoint.HealthCheckConfig.Builder setHostname(String value)
By default, the host header for L7 health checks is controlled by cluster level configuration (see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and :ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`). Setting this to a non-empty value allows overriding the cluster level configuration for a specific endpoint.
string hostname = 2;public Endpoint.HealthCheckConfig.Builder clearHostname()
By default, the host header for L7 health checks is controlled by cluster level configuration (see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and :ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`). Setting this to a non-empty value allows overriding the cluster level configuration for a specific endpoint.
string hostname = 2;public Endpoint.HealthCheckConfig.Builder setHostnameBytes(com.google.protobuf.ByteString value)
By default, the host header for L7 health checks is controlled by cluster level configuration (see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and :ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`). Setting this to a non-empty value allows overriding the cluster level configuration for a specific endpoint.
string hostname = 2;public final Endpoint.HealthCheckConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder>public final Endpoint.HealthCheckConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.HealthCheckConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.