// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/endpoint/v3/endpoint_components.proto
package io.envoyproxy.envoy.config.endpoint.v3;
public interface EndpointOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.endpoint.v3.Endpoint)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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_v3_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;
* @return Whether the address field is set.
*/
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_v3_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;
* @return The address.
*/
io.envoyproxy.envoy.config.core.v3.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_v3_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;
*/
io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getAddressOrBuilder();
/**
*
* 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;
* @return Whether the healthCheckConfig field is set.
*/
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;
* @return The healthCheckConfig.
*/
io.envoyproxy.envoy.config.endpoint.v3.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;
*/
io.envoyproxy.envoy.config.endpoint.v3.Endpoint.HealthCheckConfigOrBuilder getHealthCheckConfigOrBuilder();
/**
*
* 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_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
*
*
* string hostname = 3;
* @return The hostname.
*/
java.lang.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_v3_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
*
*
* string hostname = 3;
* @return The bytes for hostname.
*/
com.google.protobuf.ByteString
getHostnameBytes();
/**
*
* An ordered list of addresses that together with ``address`` comprise the
* list of addresses for an endpoint. The address given in the ``address`` is
* prepended to this list. It is assumed that the list must already be
* sorted by preference order of the addresses. This will only be supported
* for STATIC and EDS clusters.
*
*
* repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
*/
java.util.List
getAdditionalAddressesList();
/**
*
* An ordered list of addresses that together with ``address`` comprise the
* list of addresses for an endpoint. The address given in the ``address`` is
* prepended to this list. It is assumed that the list must already be
* sorted by preference order of the addresses. This will only be supported
* for STATIC and EDS clusters.
*
*
* repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
*/
io.envoyproxy.envoy.config.endpoint.v3.Endpoint.AdditionalAddress getAdditionalAddresses(int index);
/**
*
* An ordered list of addresses that together with ``address`` comprise the
* list of addresses for an endpoint. The address given in the ``address`` is
* prepended to this list. It is assumed that the list must already be
* sorted by preference order of the addresses. This will only be supported
* for STATIC and EDS clusters.
*
*
* repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
*/
int getAdditionalAddressesCount();
/**
*
* An ordered list of addresses that together with ``address`` comprise the
* list of addresses for an endpoint. The address given in the ``address`` is
* prepended to this list. It is assumed that the list must already be
* sorted by preference order of the addresses. This will only be supported
* for STATIC and EDS clusters.
*
*
* repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
*/
java.util.List extends io.envoyproxy.envoy.config.endpoint.v3.Endpoint.AdditionalAddressOrBuilder>
getAdditionalAddressesOrBuilderList();
/**
*
* An ordered list of addresses that together with ``address`` comprise the
* list of addresses for an endpoint. The address given in the ``address`` is
* prepended to this list. It is assumed that the list must already be
* sorted by preference order of the addresses. This will only be supported
* for STATIC and EDS clusters.
*
*
* repeated .envoy.config.endpoint.v3.Endpoint.AdditionalAddress additional_addresses = 4;
*/
io.envoyproxy.envoy.config.endpoint.v3.Endpoint.AdditionalAddressOrBuilder getAdditionalAddressesOrBuilder(
int index);
}