Class HealthCheckEvent.Builder

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

    public static final class HealthCheckEvent.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheckEvent.Builder>
    implements HealthCheckEventOrBuilder
     [#next-free-field: 10]
     
    Protobuf type envoy.data.core.v2alpha.HealthCheckEvent
    • 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<HealthCheckEvent.Builder>
      • clear

        public HealthCheckEvent.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<HealthCheckEvent.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<HealthCheckEvent.Builder>
      • getDefaultInstanceForType

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

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

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

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • setField

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • clearField

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • clearOneof

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • setRepeatedField

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • addRepeatedField

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • mergeFrom

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
      • isInitialized

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

        public HealthCheckEvent.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<HealthCheckEvent.Builder>
        Throws:
        IOException
      • getHealthCheckerTypeValue

        public int getHealthCheckerTypeValue()
        .envoy.data.core.v2alpha.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }
        Specified by:
        getHealthCheckerTypeValue in interface HealthCheckEventOrBuilder
        Returns:
        The enum numeric value on the wire for healthCheckerType.
      • setHealthCheckerTypeValue

        public HealthCheckEvent.Builder setHealthCheckerTypeValue​(int value)
        .envoy.data.core.v2alpha.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The enum numeric value on the wire for healthCheckerType to set.
        Returns:
        This builder for chaining.
      • setHealthCheckerType

        public HealthCheckEvent.Builder setHealthCheckerType​(HealthCheckerType value)
        .envoy.data.core.v2alpha.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The healthCheckerType to set.
        Returns:
        This builder for chaining.
      • clearHealthCheckerType

        public HealthCheckEvent.Builder clearHealthCheckerType()
        .envoy.data.core.v2alpha.HealthCheckerType health_checker_type = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • hasHost

        public boolean hasHost()
        .envoy.api.v2.core.Address host = 2;
        Specified by:
        hasHost in interface HealthCheckEventOrBuilder
        Returns:
        Whether the host field is set.
      • getHostBuilder

        public Address.Builder getHostBuilder()
        .envoy.api.v2.core.Address host = 2;
      • getClusterNameBytes

        public com.google.protobuf.ByteString getClusterNameBytes()
        string cluster_name = 3 [(.validate.rules) = { ... }
        Specified by:
        getClusterNameBytes in interface HealthCheckEventOrBuilder
        Returns:
        The bytes for clusterName.
      • setClusterName

        public HealthCheckEvent.Builder setClusterName​(String value)
        string cluster_name = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The clusterName to set.
        Returns:
        This builder for chaining.
      • clearClusterName

        public HealthCheckEvent.Builder clearClusterName()
        string cluster_name = 3 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setClusterNameBytes

        public HealthCheckEvent.Builder setClusterNameBytes​(com.google.protobuf.ByteString value)
        string cluster_name = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for clusterName to set.
        Returns:
        This builder for chaining.
      • hasEjectUnhealthyEvent

        public boolean hasEjectUnhealthyEvent()
         Host ejection.
         
        .envoy.data.core.v2alpha.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;
        Specified by:
        hasEjectUnhealthyEvent in interface HealthCheckEventOrBuilder
        Returns:
        Whether the ejectUnhealthyEvent field is set.
      • clearEjectUnhealthyEvent

        public HealthCheckEvent.Builder clearEjectUnhealthyEvent()
         Host ejection.
         
        .envoy.data.core.v2alpha.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;
      • getEjectUnhealthyEventBuilder

        public HealthCheckEjectUnhealthy.Builder getEjectUnhealthyEventBuilder()
         Host ejection.
         
        .envoy.data.core.v2alpha.HealthCheckEjectUnhealthy eject_unhealthy_event = 4;
      • hasAddHealthyEvent

        public boolean hasAddHealthyEvent()
         Host addition.
         
        .envoy.data.core.v2alpha.HealthCheckAddHealthy add_healthy_event = 5;
        Specified by:
        hasAddHealthyEvent in interface HealthCheckEventOrBuilder
        Returns:
        Whether the addHealthyEvent field is set.
      • clearAddHealthyEvent

        public HealthCheckEvent.Builder clearAddHealthyEvent()
         Host addition.
         
        .envoy.data.core.v2alpha.HealthCheckAddHealthy add_healthy_event = 5;
      • getAddHealthyEventBuilder

        public HealthCheckAddHealthy.Builder getAddHealthyEventBuilder()
         Host addition.
         
        .envoy.data.core.v2alpha.HealthCheckAddHealthy add_healthy_event = 5;
      • hasHealthCheckFailureEvent

        public boolean hasHealthCheckFailureEvent()
         Host failure.
         
        .envoy.data.core.v2alpha.HealthCheckFailure health_check_failure_event = 7;
        Specified by:
        hasHealthCheckFailureEvent in interface HealthCheckEventOrBuilder
        Returns:
        Whether the healthCheckFailureEvent field is set.
      • mergeHealthCheckFailureEvent

        public HealthCheckEvent.Builder mergeHealthCheckFailureEvent​(HealthCheckFailure value)
         Host failure.
         
        .envoy.data.core.v2alpha.HealthCheckFailure health_check_failure_event = 7;
      • clearHealthCheckFailureEvent

        public HealthCheckEvent.Builder clearHealthCheckFailureEvent()
         Host failure.
         
        .envoy.data.core.v2alpha.HealthCheckFailure health_check_failure_event = 7;
      • getHealthCheckFailureEventBuilder

        public HealthCheckFailure.Builder getHealthCheckFailureEventBuilder()
         Host failure.
         
        .envoy.data.core.v2alpha.HealthCheckFailure health_check_failure_event = 7;
      • hasDegradedHealthyHost

        public boolean hasDegradedHealthyHost()
         Healthy host became degraded.
         
        .envoy.data.core.v2alpha.DegradedHealthyHost degraded_healthy_host = 8;
        Specified by:
        hasDegradedHealthyHost in interface HealthCheckEventOrBuilder
        Returns:
        Whether the degradedHealthyHost field is set.
      • mergeDegradedHealthyHost

        public HealthCheckEvent.Builder mergeDegradedHealthyHost​(DegradedHealthyHost value)
         Healthy host became degraded.
         
        .envoy.data.core.v2alpha.DegradedHealthyHost degraded_healthy_host = 8;
      • clearDegradedHealthyHost

        public HealthCheckEvent.Builder clearDegradedHealthyHost()
         Healthy host became degraded.
         
        .envoy.data.core.v2alpha.DegradedHealthyHost degraded_healthy_host = 8;
      • getDegradedHealthyHostBuilder

        public DegradedHealthyHost.Builder getDegradedHealthyHostBuilder()
         Healthy host became degraded.
         
        .envoy.data.core.v2alpha.DegradedHealthyHost degraded_healthy_host = 8;
      • hasNoLongerDegradedHost

        public boolean hasNoLongerDegradedHost()
         A degraded host returned to being healthy.
         
        .envoy.data.core.v2alpha.NoLongerDegradedHost no_longer_degraded_host = 9;
        Specified by:
        hasNoLongerDegradedHost in interface HealthCheckEventOrBuilder
        Returns:
        Whether the noLongerDegradedHost field is set.
      • setNoLongerDegradedHost

        public HealthCheckEvent.Builder setNoLongerDegradedHost​(NoLongerDegradedHost value)
         A degraded host returned to being healthy.
         
        .envoy.data.core.v2alpha.NoLongerDegradedHost no_longer_degraded_host = 9;
      • mergeNoLongerDegradedHost

        public HealthCheckEvent.Builder mergeNoLongerDegradedHost​(NoLongerDegradedHost value)
         A degraded host returned to being healthy.
         
        .envoy.data.core.v2alpha.NoLongerDegradedHost no_longer_degraded_host = 9;
      • clearNoLongerDegradedHost

        public HealthCheckEvent.Builder clearNoLongerDegradedHost()
         A degraded host returned to being healthy.
         
        .envoy.data.core.v2alpha.NoLongerDegradedHost no_longer_degraded_host = 9;
      • getNoLongerDegradedHostBuilder

        public NoLongerDegradedHost.Builder getNoLongerDegradedHostBuilder()
         A degraded host returned to being healthy.
         
        .envoy.data.core.v2alpha.NoLongerDegradedHost no_longer_degraded_host = 9;
      • hasTimestamp

        public boolean hasTimestamp()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
        Specified by:
        hasTimestamp in interface HealthCheckEventOrBuilder
        Returns:
        Whether the timestamp field is set.
      • getTimestamp

        public com.google.protobuf.Timestamp getTimestamp()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
        Specified by:
        getTimestamp in interface HealthCheckEventOrBuilder
        Returns:
        The timestamp.
      • setTimestamp

        public HealthCheckEvent.Builder setTimestamp​(com.google.protobuf.Timestamp value)
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
      • setTimestamp

        public HealthCheckEvent.Builder setTimestamp​(com.google.protobuf.Timestamp.Builder builderForValue)
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
      • mergeTimestamp

        public HealthCheckEvent.Builder mergeTimestamp​(com.google.protobuf.Timestamp value)
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
      • clearTimestamp

        public HealthCheckEvent.Builder clearTimestamp()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
      • getTimestampBuilder

        public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
      • getTimestampOrBuilder

        public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
         Timestamp for event.
         
        .google.protobuf.Timestamp timestamp = 6;
        Specified by:
        getTimestampOrBuilder in interface HealthCheckEventOrBuilder
      • setUnknownFields

        public final HealthCheckEvent.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<HealthCheckEvent.Builder>
      • mergeUnknownFields

        public final HealthCheckEvent.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<HealthCheckEvent.Builder>