Class HostStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HostStatus.Builder>
io.envoyproxy.envoy.admin.v3.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.v3.HostStatus
  • Method Details

    • 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>
    • mergeFrom

      public HostStatus.Builder mergeFrom(HostStatus other)
    • 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.config.core.v3.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.config.core.v3.Address address = 1;
      Specified by:
      getAddress in interface HostStatusOrBuilder
      Returns:
      The address.
    • setAddress

      public HostStatus.Builder setAddress(Address value)
       Address of this host.
       
      .envoy.config.core.v3.Address address = 1;
    • setAddress

      public HostStatus.Builder setAddress(Address.Builder builderForValue)
       Address of this host.
       
      .envoy.config.core.v3.Address address = 1;
    • mergeAddress

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

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

      public Address.Builder getAddressBuilder()
       Address of this host.
       
      .envoy.config.core.v3.Address address = 1;
    • getAddressOrBuilder

      public AddressOrBuilder getAddressOrBuilder()
       Address of this host.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      getAddressOrBuilder in interface HostStatusOrBuilder
    • getStatsList

      public List<SimpleMetric> getStatsList()
       List of stats specific to this host.
       
      repeated .envoy.admin.v3.SimpleMetric stats = 2;
      Specified by:
      getStatsList in interface HostStatusOrBuilder
    • getStatsCount

      public int getStatsCount()
       List of stats specific to this host.
       
      repeated .envoy.admin.v3.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.v3.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.v3.SimpleMetric stats = 2;
    • setStats

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

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

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

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

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

      public HostStatus.Builder addAllStats(Iterable<? extends SimpleMetric> values)
       List of stats specific to this host.
       
      repeated .envoy.admin.v3.SimpleMetric stats = 2;
    • clearStats

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

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

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

      public SimpleMetricOrBuilder getStatsOrBuilder(int index)
       List of stats specific to this host.
       
      repeated .envoy.admin.v3.SimpleMetric stats = 2;
      Specified by:
      getStatsOrBuilder in interface HostStatusOrBuilder
    • getStatsOrBuilderList

      public List<? extends SimpleMetricOrBuilder> getStatsOrBuilderList()
       List of stats specific to this host.
       
      repeated .envoy.admin.v3.SimpleMetric stats = 2;
      Specified by:
      getStatsOrBuilderList in interface HostStatusOrBuilder
    • addStatsBuilder

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

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

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

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

      public HostHealthStatus getHealthStatus()
       The host's current health status.
       
      .envoy.admin.v3.HostHealthStatus health_status = 3;
      Specified by:
      getHealthStatus in interface HostStatusOrBuilder
      Returns:
      The healthStatus.
    • setHealthStatus

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

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

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

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

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

      public HostHealthStatusOrBuilder getHealthStatusOrBuilder()
       The host's current health status.
       
      .envoy.admin.v3.HostHealthStatus health_status = 3;
      Specified by:
      getHealthStatusOrBuilder in interface HostStatusOrBuilder
    • hasSuccessRate

      public boolean hasSuccessRate()
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
      Specified by:
      hasSuccessRate in interface HostStatusOrBuilder
      Returns:
      Whether the successRate field is set.
    • getSuccessRate

      public Percent getSuccessRate()
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
      Specified by:
      getSuccessRate in interface HostStatusOrBuilder
      Returns:
      The successRate.
    • setSuccessRate

      public HostStatus.Builder setSuccessRate(Percent value)
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
    • setSuccessRate

      public HostStatus.Builder setSuccessRate(Percent.Builder builderForValue)
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
    • mergeSuccessRate

      public HostStatus.Builder mergeSuccessRate(Percent value)
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
    • clearSuccessRate

      public HostStatus.Builder clearSuccessRate()
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
    • getSuccessRateBuilder

      public Percent.Builder getSuccessRateBuilder()
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.Percent success_rate = 4;
    • getSuccessRateOrBuilder

      public PercentOrBuilder getSuccessRateOrBuilder()
       The success rate for this host during the last measurement 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.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to calculate a reliable success rate, or
         if the cluster had too few hosts to apply outlier ejection based on success rate.
       
      .envoy.type.v3.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()
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
      Specified by:
      hasLocalOriginSuccessRate in interface HostStatusOrBuilder
      Returns:
      Whether the localOriginSuccessRate field is set.
    • getLocalOriginSuccessRate

      public Percent getLocalOriginSuccessRate()
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
      Specified by:
      getLocalOriginSuccessRate in interface HostStatusOrBuilder
      Returns:
      The localOriginSuccessRate.
    • setLocalOriginSuccessRate

      public HostStatus.Builder setLocalOriginSuccessRate(Percent value)
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
    • setLocalOriginSuccessRate

      public HostStatus.Builder setLocalOriginSuccessRate(Percent.Builder builderForValue)
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
    • mergeLocalOriginSuccessRate

      public HostStatus.Builder mergeLocalOriginSuccessRate(Percent value)
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
    • clearLocalOriginSuccessRate

      public HostStatus.Builder clearLocalOriginSuccessRate()
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
    • getLocalOriginSuccessRateBuilder

      public Percent.Builder getLocalOriginSuccessRateBuilder()
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
    • getLocalOriginSuccessRateOrBuilder

      public PercentOrBuilder getLocalOriginSuccessRateOrBuilder()
       The success rate for this host during the last interval, considering only locally generated errors. Externally
       generated errors are treated as successes.
      
       This field is only relevant when
       :ref:`outlier_detection.split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>`
       is set to ``true``.
      
       For more information, see the :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation.
      
       .. note::
      
         The message will be missing if the host didn't receive enough traffic to compute a success rate, or if the
         cluster didn't have enough hosts to perform outlier ejection based on success rate.
       
      .envoy.type.v3.Percent local_origin_success_rate = 8;
      Specified by:
      getLocalOriginSuccessRateOrBuilder in interface HostStatusOrBuilder
    • hasLocality

      public boolean hasLocality()
       locality of the host.
       
      .envoy.config.core.v3.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.config.core.v3.Locality locality = 9;
      Specified by:
      getLocality in interface HostStatusOrBuilder
      Returns:
      The locality.
    • setLocality

      public HostStatus.Builder setLocality(Locality value)
       locality of the host.
       
      .envoy.config.core.v3.Locality locality = 9;
    • setLocality

      public HostStatus.Builder setLocality(Locality.Builder builderForValue)
       locality of the host.
       
      .envoy.config.core.v3.Locality locality = 9;
    • mergeLocality

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

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

      public Locality.Builder getLocalityBuilder()
       locality of the host.
       
      .envoy.config.core.v3.Locality locality = 9;
    • getLocalityOrBuilder

      public LocalityOrBuilder getLocalityOrBuilder()
       locality of the host.
       
      .envoy.config.core.v3.Locality locality = 9;
      Specified by:
      getLocalityOrBuilder in interface HostStatusOrBuilder
    • 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>