Interface HostStatusOrBuilder

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

    public interface HostStatusOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasAddress

        boolean hasAddress()
         Address of this host.
         
        .envoy.config.core.v3.Address address = 1;
        Returns:
        Whether the address field is set.
      • getAddress

        Address getAddress()
         Address of this host.
         
        .envoy.config.core.v3.Address address = 1;
        Returns:
        The address.
      • getAddressOrBuilder

        AddressOrBuilder getAddressOrBuilder()
         Address of this host.
         
        .envoy.config.core.v3.Address address = 1;
      • getStatsList

        List<SimpleMetric> getStatsList()
         List of stats specific to this host.
         
        repeated .envoy.admin.v3.SimpleMetric stats = 2;
      • getStats

        SimpleMetric getStats​(int index)
         List of stats specific to this host.
         
        repeated .envoy.admin.v3.SimpleMetric stats = 2;
      • getStatsCount

        int getStatsCount()
         List of stats specific to this host.
         
        repeated .envoy.admin.v3.SimpleMetric stats = 2;
      • getStatsOrBuilderList

        List<? extends SimpleMetricOrBuilder> getStatsOrBuilderList()
         List of stats specific to this host.
         
        repeated .envoy.admin.v3.SimpleMetric stats = 2;
      • getStatsOrBuilder

        SimpleMetricOrBuilder getStatsOrBuilder​(int index)
         List of stats specific to this host.
         
        repeated .envoy.admin.v3.SimpleMetric stats = 2;
      • hasHealthStatus

        boolean hasHealthStatus()
         The host's current health status.
         
        .envoy.admin.v3.HostHealthStatus health_status = 3;
        Returns:
        Whether the healthStatus field is set.
      • getHealthStatus

        HostHealthStatus getHealthStatus()
         The host's current health status.
         
        .envoy.admin.v3.HostHealthStatus health_status = 3;
        Returns:
        The healthStatus.
      • getHealthStatusOrBuilder

        HostHealthStatusOrBuilder getHealthStatusOrBuilder()
         The host's current health status.
         
        .envoy.admin.v3.HostHealthStatus health_status = 3;
      • hasSuccessRate

        boolean hasSuccessRate()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``false``, all errors: externally and locally generated were used in success rate
         calculation. If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``true``, only externally generated errors were used in success rate calculation.
         See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
         details.
         Note: the message will not be present if host did not have enough request volume to calculate
         success rate or the cluster did not have enough hosts to run through success rate outlier
         ejection.
         
        .envoy.type.v3.Percent success_rate = 4;
        Returns:
        Whether the successRate field is set.
      • getSuccessRate

        Percent getSuccessRate()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``false``, all errors: externally and locally generated were used in success rate
         calculation. If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``true``, only externally generated errors were used in success rate calculation.
         See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
         details.
         Note: the message will not be present if host did not have enough request volume to calculate
         success rate or the cluster did not have enough hosts to run through success rate outlier
         ejection.
         
        .envoy.type.v3.Percent success_rate = 4;
        Returns:
        The successRate.
      • getSuccessRateOrBuilder

        PercentOrBuilder getSuccessRateOrBuilder()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``false``, all errors: externally and locally generated were used in success rate
         calculation. If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``true``, only externally generated errors were used in success rate calculation.
         See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
         details.
         Note: the message will not be present if host did not have enough request volume to calculate
         success rate or the cluster did not have enough hosts to run through success rate outlier
         ejection.
         
        .envoy.type.v3.Percent success_rate = 4;
      • getWeight

        int getWeight()
         The host's weight. If not configured, the value defaults to 1.
         
        uint32 weight = 5;
        Returns:
        The weight.
      • getHostname

        String getHostname()
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Returns:
        The hostname.
      • getHostnameBytes

        com.google.protobuf.ByteString getHostnameBytes()
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Returns:
        The bytes for hostname.
      • getPriority

        int getPriority()
         The host's priority. If not configured, the value defaults to 0 (highest priority).
         
        uint32 priority = 7;
        Returns:
        The priority.
      • hasLocalOriginSuccessRate

        boolean hasLocalOriginSuccessRate()
         Request success rate for this host over the last calculated
         interval when only locally originated errors are taken into account and externally originated
         errors were treated as success.
         This field should be interpreted only when
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``true``.
         See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
         details.
         Note: the message will not be present if host did not have enough request volume to calculate
         success rate or the cluster did not have enough hosts to run through success rate outlier
         ejection.
         
        .envoy.type.v3.Percent local_origin_success_rate = 8;
        Returns:
        Whether the localOriginSuccessRate field is set.
      • getLocalOriginSuccessRate

        Percent getLocalOriginSuccessRate()
         Request success rate for this host over the last calculated
         interval when only locally originated errors are taken into account and externally originated
         errors were treated as success.
         This field should be interpreted only when
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``true``.
         See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
         details.
         Note: the message will not be present if host did not have enough request volume to calculate
         success rate or the cluster did not have enough hosts to run through success rate outlier
         ejection.
         
        .envoy.type.v3.Percent local_origin_success_rate = 8;
        Returns:
        The localOriginSuccessRate.
      • getLocalOriginSuccessRateOrBuilder

        PercentOrBuilder getLocalOriginSuccessRateOrBuilder()
         Request success rate for this host over the last calculated
         interval when only locally originated errors are taken into account and externally originated
         errors were treated as success.
         This field should be interpreted only when
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
         is ``true``.
         See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
         details.
         Note: the message will not be present if host did not have enough request volume to calculate
         success rate or the cluster did not have enough hosts to run through success rate outlier
         ejection.
         
        .envoy.type.v3.Percent local_origin_success_rate = 8;
      • hasLocality

        boolean hasLocality()
         locality of the host.
         
        .envoy.config.core.v3.Locality locality = 9;
        Returns:
        Whether the locality field is set.
      • getLocality

        Locality getLocality()
         locality of the host.
         
        .envoy.config.core.v3.Locality locality = 9;
        Returns:
        The locality.
      • getLocalityOrBuilder

        LocalityOrBuilder getLocalityOrBuilder()
         locality of the host.
         
        .envoy.config.core.v3.Locality locality = 9;