public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
Upstream host identifier.Protobuf type
envoy.config.endpoint.v3.Endpoint| Modifier and Type | Method and Description |
|---|---|
Endpoint.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint |
build() |
Endpoint |
buildPartial() |
Endpoint.Builder |
clear() |
Endpoint.Builder |
clearAddress()
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
Endpoint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Endpoint.Builder |
clearHealthCheckConfig()
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
Endpoint.Builder |
clearHostname()
The hostname associated with this endpoint.
|
Endpoint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Endpoint.Builder |
clone() |
Address |
getAddress()
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
Address.Builder |
getAddressBuilder()
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
AddressOrBuilder |
getAddressOrBuilder()
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
Endpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Endpoint.HealthCheckConfig |
getHealthCheckConfig()
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
Endpoint.HealthCheckConfig.Builder |
getHealthCheckConfigBuilder()
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
Endpoint.HealthCheckConfigOrBuilder |
getHealthCheckConfigOrBuilder()
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
String |
getHostname()
The hostname associated with this endpoint.
|
com.google.protobuf.ByteString |
getHostnameBytes()
The hostname associated with this endpoint.
|
boolean |
hasAddress()
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
boolean |
hasHealthCheckConfig()
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Endpoint.Builder |
mergeAddress(Address value)
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
Endpoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Endpoint.Builder |
mergeFrom(Endpoint other) |
Endpoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
Endpoint.Builder |
mergeHealthCheckConfig(Endpoint.HealthCheckConfig value)
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
Endpoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Endpoint.Builder |
setAddress(Address.Builder builderForValue)
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
Endpoint.Builder |
setAddress(Address value)
The upstream host address.
.. attention::
The form of host address depends on the given cluster type.
|
Endpoint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint.Builder |
setHealthCheckConfig(Endpoint.HealthCheckConfig.Builder builderForValue)
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
Endpoint.Builder |
setHealthCheckConfig(Endpoint.HealthCheckConfig value)
The optional health check configuration is used as configuration for the
health checker to contact the health checked host.
.. attention::
This takes into effect only for upstream clusters with
:ref:`active health checking <arch_overview_health_checking>` enabled.
|
Endpoint.Builder |
setHostname(String value)
The hostname associated with this endpoint.
|
Endpoint.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
The hostname associated with this endpoint.
|
Endpoint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Endpoint.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.Builder>public Endpoint.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.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.Builder>public Endpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Endpoint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Endpoint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Endpoint.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.Builder>public Endpoint.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.Builder>public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.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.Builder>public Endpoint.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.Builder>public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(Endpoint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.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.Builder>IOExceptionpublic boolean hasAddress()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;hasAddress in interface EndpointOrBuilderpublic Address getAddress()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;getAddress in interface EndpointOrBuilderpublic Endpoint.Builder setAddress(Address value)
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;public Endpoint.Builder setAddress(Address.Builder builderForValue)
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;public Endpoint.Builder mergeAddress(Address value)
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;public Endpoint.Builder clearAddress()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;public Address.Builder getAddressBuilder()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;public AddressOrBuilder getAddressOrBuilder()
The upstream host address. .. attention:: The form of host address depends on the given cluster type. For STATIC or EDS, it is expected to be a direct IP address (or something resolvable by the specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>` in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, and will be resolved via DNS.
.envoy.config.core.v3.Address address = 1;getAddressOrBuilder in interface EndpointOrBuilderpublic boolean hasHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;hasHealthCheckConfig in interface EndpointOrBuilderpublic Endpoint.HealthCheckConfig getHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;getHealthCheckConfig in interface EndpointOrBuilderpublic Endpoint.Builder setHealthCheckConfig(Endpoint.HealthCheckConfig value)
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;public Endpoint.Builder setHealthCheckConfig(Endpoint.HealthCheckConfig.Builder builderForValue)
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;public Endpoint.Builder mergeHealthCheckConfig(Endpoint.HealthCheckConfig value)
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;public Endpoint.Builder clearHealthCheckConfig()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;public Endpoint.HealthCheckConfig.Builder getHealthCheckConfigBuilder()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;public Endpoint.HealthCheckConfigOrBuilder getHealthCheckConfigOrBuilder()
The optional health check configuration is used as configuration for the health checker to contact the health checked host. .. attention:: This takes into effect only for upstream clusters with :ref:`active health checking <arch_overview_health_checking>` enabled.
.envoy.config.endpoint.v3.Endpoint.HealthCheckConfig health_check_config = 2;getHealthCheckConfigOrBuilder in interface EndpointOrBuilderpublic String getHostname()
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;getHostname in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;getHostnameBytes in interface EndpointOrBuilderpublic Endpoint.Builder setHostname(String value)
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;public Endpoint.Builder clearHostname()
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;public Endpoint.Builder setHostnameBytes(com.google.protobuf.ByteString value)
The hostname associated with this endpoint. This hostname is not used for routing or address resolution. If provided, it will be associated with the endpoint, and can be used for features that require a hostname, like :ref:`auto_host_rewrite <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
string hostname = 3;public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.