Class HostStatus.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HostStatusOrBuilder, Cloneable
    Enclosing class:
    HostStatus

    public static final class HostStatus.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
    implements HostStatusOrBuilder
     Current state of a particular host.
     [#next-free-field: 10]
     
    Protobuf type envoy.admin.v2alpha.HostStatus
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • clear

        public HostStatus.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • getDefaultInstanceForType

        public HostStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public HostStatus build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public HostStatus buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public HostStatus.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • setField

        public HostStatus.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • clearField

        public HostStatus.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • clearOneof

        public HostStatus.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • setRepeatedField

        public HostStatus.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • addRepeatedField

        public HostStatus.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • mergeFrom

        public HostStatus.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HostStatus.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • mergeFrom

        public HostStatus.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HostStatus.Builder>
        Throws:
        IOException
      • hasAddress

        public boolean hasAddress()
         Address of this host.
         
        .envoy.api.v2.core.Address address = 1;
        Specified by:
        hasAddress in interface HostStatusOrBuilder
        Returns:
        Whether the address field is set.
      • getAddress

        public Address getAddress()
         Address of this host.
         
        .envoy.api.v2.core.Address address = 1;
        Specified by:
        getAddress in interface HostStatusOrBuilder
        Returns:
        The address.
      • setAddress

        public HostStatus.Builder setAddress​(Address value)
         Address of this host.
         
        .envoy.api.v2.core.Address address = 1;
      • mergeAddress

        public HostStatus.Builder mergeAddress​(Address value)
         Address of this host.
         
        .envoy.api.v2.core.Address address = 1;
      • clearAddress

        public HostStatus.Builder clearAddress()
         Address of this host.
         
        .envoy.api.v2.core.Address address = 1;
      • getAddressBuilder

        public Address.Builder getAddressBuilder()
         Address of this host.
         
        .envoy.api.v2.core.Address address = 1;
      • getStatsCount

        public int getStatsCount()
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
        Specified by:
        getStatsCount in interface HostStatusOrBuilder
      • getStats

        public SimpleMetric getStats​(int index)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
        Specified by:
        getStats in interface HostStatusOrBuilder
      • setStats

        public HostStatus.Builder setStats​(int index,
                                           SimpleMetric value)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • setStats

        public HostStatus.Builder setStats​(int index,
                                           SimpleMetric.Builder builderForValue)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • addStats

        public HostStatus.Builder addStats​(SimpleMetric value)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • addStats

        public HostStatus.Builder addStats​(int index,
                                           SimpleMetric value)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • addStats

        public HostStatus.Builder addStats​(int index,
                                           SimpleMetric.Builder builderForValue)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • clearStats

        public HostStatus.Builder clearStats()
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • removeStats

        public HostStatus.Builder removeStats​(int index)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • getStatsBuilder

        public SimpleMetric.Builder getStatsBuilder​(int index)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • addStatsBuilder

        public SimpleMetric.Builder addStatsBuilder()
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • addStatsBuilder

        public SimpleMetric.Builder addStatsBuilder​(int index)
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • getStatsBuilderList

        public List<SimpleMetric.Builder> getStatsBuilderList()
         List of stats specific to this host.
         
        repeated .envoy.admin.v2alpha.SimpleMetric stats = 2;
      • hasHealthStatus

        public boolean hasHealthStatus()
         The host's current health status.
         
        .envoy.admin.v2alpha.HostHealthStatus health_status = 3;
        Specified by:
        hasHealthStatus in interface HostStatusOrBuilder
        Returns:
        Whether the healthStatus field is set.
      • setHealthStatus

        public HostStatus.Builder setHealthStatus​(HostHealthStatus value)
         The host's current health status.
         
        .envoy.admin.v2alpha.HostHealthStatus health_status = 3;
      • mergeHealthStatus

        public HostStatus.Builder mergeHealthStatus​(HostHealthStatus value)
         The host's current health status.
         
        .envoy.admin.v2alpha.HostHealthStatus health_status = 3;
      • clearHealthStatus

        public HostStatus.Builder clearHealthStatus()
         The host's current health status.
         
        .envoy.admin.v2alpha.HostHealthStatus health_status = 3;
      • getHealthStatusBuilder

        public HostHealthStatus.Builder getHealthStatusBuilder()
         The host's current health status.
         
        .envoy.admin.v2alpha.HostHealthStatus health_status = 3;
      • hasSuccessRate

        public boolean hasSuccessRate()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
        Specified by:
        hasSuccessRate in interface HostStatusOrBuilder
        Returns:
        Whether the successRate field is set.
      • getSuccessRate

        public Percent getSuccessRate()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
        Specified by:
        getSuccessRate in interface HostStatusOrBuilder
        Returns:
        The successRate.
      • setSuccessRate

        public HostStatus.Builder setSuccessRate​(Percent value)
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
      • setSuccessRate

        public HostStatus.Builder setSuccessRate​(Percent.Builder builderForValue)
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
      • mergeSuccessRate

        public HostStatus.Builder mergeSuccessRate​(Percent value)
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
      • clearSuccessRate

        public HostStatus.Builder clearSuccessRate()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
      • getSuccessRateBuilder

        public Percent.Builder getSuccessRateBuilder()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
      • getSuccessRateOrBuilder

        public PercentOrBuilder getSuccessRateOrBuilder()
         Request success rate for this host over the last calculated interval.
         If
         :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.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_api_field_cluster.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.Percent success_rate = 4;
        Specified by:
        getSuccessRateOrBuilder in interface HostStatusOrBuilder
      • getWeight

        public int getWeight()
         The host's weight. If not configured, the value defaults to 1.
         
        uint32 weight = 5;
        Specified by:
        getWeight in interface HostStatusOrBuilder
        Returns:
        The weight.
      • setWeight

        public HostStatus.Builder setWeight​(int value)
         The host's weight. If not configured, the value defaults to 1.
         
        uint32 weight = 5;
        Parameters:
        value - The weight to set.
        Returns:
        This builder for chaining.
      • clearWeight

        public HostStatus.Builder clearWeight()
         The host's weight. If not configured, the value defaults to 1.
         
        uint32 weight = 5;
        Returns:
        This builder for chaining.
      • getHostname

        public String getHostname()
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Specified by:
        getHostname in interface HostStatusOrBuilder
        Returns:
        The hostname.
      • getHostnameBytes

        public com.google.protobuf.ByteString getHostnameBytes()
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Specified by:
        getHostnameBytes in interface HostStatusOrBuilder
        Returns:
        The bytes for hostname.
      • setHostname

        public HostStatus.Builder setHostname​(String value)
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Parameters:
        value - The hostname to set.
        Returns:
        This builder for chaining.
      • clearHostname

        public HostStatus.Builder clearHostname()
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Returns:
        This builder for chaining.
      • setHostnameBytes

        public HostStatus.Builder setHostnameBytes​(com.google.protobuf.ByteString value)
         The hostname of the host, if applicable.
         
        string hostname = 6;
        Parameters:
        value - The bytes for hostname to set.
        Returns:
        This builder for chaining.
      • getPriority

        public int getPriority()
         The host's priority. If not configured, the value defaults to 0 (highest priority).
         
        uint32 priority = 7;
        Specified by:
        getPriority in interface HostStatusOrBuilder
        Returns:
        The priority.
      • setPriority

        public HostStatus.Builder setPriority​(int value)
         The host's priority. If not configured, the value defaults to 0 (highest priority).
         
        uint32 priority = 7;
        Parameters:
        value - The priority to set.
        Returns:
        This builder for chaining.
      • clearPriority

        public HostStatus.Builder clearPriority()
         The host's priority. If not configured, the value defaults to 0 (highest priority).
         
        uint32 priority = 7;
        Returns:
        This builder for chaining.
      • hasLocalOriginSuccessRate

        public 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_api_field_cluster.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.Percent local_origin_success_rate = 8;
        Specified by:
        hasLocalOriginSuccessRate in interface HostStatusOrBuilder
        Returns:
        Whether the localOriginSuccessRate field is set.
      • getLocalOriginSuccessRate

        public 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_api_field_cluster.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.Percent local_origin_success_rate = 8;
        Specified by:
        getLocalOriginSuccessRate in interface HostStatusOrBuilder
        Returns:
        The localOriginSuccessRate.
      • setLocalOriginSuccessRate

        public HostStatus.Builder setLocalOriginSuccessRate​(Percent value)
         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_api_field_cluster.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.Percent local_origin_success_rate = 8;
      • setLocalOriginSuccessRate

        public HostStatus.Builder setLocalOriginSuccessRate​(Percent.Builder builderForValue)
         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_api_field_cluster.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.Percent local_origin_success_rate = 8;
      • mergeLocalOriginSuccessRate

        public HostStatus.Builder mergeLocalOriginSuccessRate​(Percent value)
         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_api_field_cluster.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.Percent local_origin_success_rate = 8;
      • clearLocalOriginSuccessRate

        public HostStatus.Builder clearLocalOriginSuccessRate()
         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_api_field_cluster.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.Percent local_origin_success_rate = 8;
      • getLocalOriginSuccessRateBuilder

        public Percent.Builder getLocalOriginSuccessRateBuilder()
         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_api_field_cluster.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.Percent local_origin_success_rate = 8;
      • getLocalOriginSuccessRateOrBuilder

        public 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_api_field_cluster.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.Percent local_origin_success_rate = 8;
        Specified by:
        getLocalOriginSuccessRateOrBuilder in interface HostStatusOrBuilder
      • hasLocality

        public boolean hasLocality()
         locality of the host.
         
        .envoy.api.v2.core.Locality locality = 9;
        Specified by:
        hasLocality in interface HostStatusOrBuilder
        Returns:
        Whether the locality field is set.
      • getLocality

        public Locality getLocality()
         locality of the host.
         
        .envoy.api.v2.core.Locality locality = 9;
        Specified by:
        getLocality in interface HostStatusOrBuilder
        Returns:
        The locality.
      • setLocality

        public HostStatus.Builder setLocality​(Locality value)
         locality of the host.
         
        .envoy.api.v2.core.Locality locality = 9;
      • mergeLocality

        public HostStatus.Builder mergeLocality​(Locality value)
         locality of the host.
         
        .envoy.api.v2.core.Locality locality = 9;
      • clearLocality

        public HostStatus.Builder clearLocality()
         locality of the host.
         
        .envoy.api.v2.core.Locality locality = 9;
      • getLocalityBuilder

        public Locality.Builder getLocalityBuilder()
         locality of the host.
         
        .envoy.api.v2.core.Locality locality = 9;
      • setUnknownFields

        public final HostStatus.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
      • mergeUnknownFields

        public final HostStatus.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>