// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/api/v2/endpoint/endpoint_components.proto
package io.envoyproxy.envoy.api.v2.endpoint;
public interface EndpointOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.api.v2.endpoint.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_api_field_core.SocketAddress.resolver_name>`
* in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname,
* and will be resolved via DNS.
*
*
* .envoy.api.v2.core.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_api_field_core.SocketAddress.resolver_name>`
* in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname,
* and will be resolved via DNS.
*
*
* .envoy.api.v2.core.Address address = 1;
* @return The address.
*/
io.envoyproxy.envoy.api.v2.core.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_core.SocketAddress.resolver_name>`
* in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname,
* and will be resolved via DNS.
*
*
* .envoy.api.v2.core.Address address = 1;
*/
io.envoyproxy.envoy.api.v2.core.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.api.v2.endpoint.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.api.v2.endpoint.Endpoint.HealthCheckConfig health_check_config = 2;
* @return The healthCheckConfig.
*/
io.envoyproxy.envoy.api.v2.endpoint.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.api.v2.endpoint.Endpoint.HealthCheckConfig health_check_config = 2;
*/
io.envoyproxy.envoy.api.v2.endpoint.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_api_field_route.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_api_field_route.RouteAction.auto_host_rewrite>`.
*
*
* string hostname = 3;
* @return The bytes for hostname.
*/
com.google.protobuf.ByteString
getHostnameBytes();
}