Interface EndpointOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Endpoint, Endpoint.Builder

    public interface EndpointOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Address getAddress()
      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.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.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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasAddress

        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;
        Returns:
        Whether the address field is set.
      • getAddress

        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;
        Returns:
        The address.
      • getAddressOrBuilder

        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_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;
      • hasHealthCheckConfig

        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;
        Returns:
        Whether the healthCheckConfig field is set.
      • getHealthCheckConfig

        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;
        Returns:
        The healthCheckConfig.
      • getHealthCheckConfigOrBuilder

        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.api.v2.endpoint.Endpoint.HealthCheckConfig health_check_config = 2;
      • getHostname

        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;
        Returns:
        The hostname.
      • getHostnameBytes

        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_route.RouteAction.auto_host_rewrite>`.
         
        string hostname = 3;
        Returns:
        The bytes for hostname.