Class CompositeHealthCheckHealth.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
com.google.cloud.compute.v1.CompositeHealthCheckHealth.Builder
All Implemented Interfaces:
CompositeHealthCheckHealthOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CompositeHealthCheckHealth

public static final class CompositeHealthCheckHealth.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder> implements CompositeHealthCheckHealthOrBuilder
 Response message for RegionCompositeHealthChecks.GetHealth
 
Protobuf type google.cloud.compute.v1.CompositeHealthCheckHealth
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CompositeHealthCheckHealth.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.GeneratedMessage.Builder<CompositeHealthCheckHealth.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.GeneratedMessage.Builder<CompositeHealthCheckHealth.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public CompositeHealthCheckHealth.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<CompositeHealthCheckHealth.Builder>
      Throws:
      IOException
    • getHealthSourcesList

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
      Specified by:
      getHealthSourcesList in interface CompositeHealthCheckHealthOrBuilder
    • getHealthSourcesCount

      public int getHealthSourcesCount()
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
      Specified by:
      getHealthSourcesCount in interface CompositeHealthCheckHealthOrBuilder
    • getHealthSources

      public CompositeHealthChecksGetHealthResponseHealthSourceHealth getHealthSources(int index)
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
      Specified by:
      getHealthSources in interface CompositeHealthCheckHealthOrBuilder
    • setHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • setHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • addHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • addHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • addHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • addHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • addAllHealthSources

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • clearHealthSources

      public CompositeHealthCheckHealth.Builder clearHealthSources()
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • removeHealthSources

      public CompositeHealthCheckHealth.Builder removeHealthSources(int index)
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • getHealthSourcesBuilder

      public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder getHealthSourcesBuilder(int index)
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • getHealthSourcesOrBuilder

      public CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder getHealthSourcesOrBuilder(int index)
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
      Specified by:
      getHealthSourcesOrBuilder in interface CompositeHealthCheckHealthOrBuilder
    • getHealthSourcesOrBuilderList

      public List<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder> getHealthSourcesOrBuilderList()
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
      Specified by:
      getHealthSourcesOrBuilderList in interface CompositeHealthCheckHealthOrBuilder
    • addHealthSourcesBuilder

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • addHealthSourcesBuilder

      public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder addHealthSourcesBuilder(int index)
       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • getHealthSourcesBuilderList

       Health sources and their corresponding health states.
       
      repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;
    • hasHealthState

      public boolean hasHealthState()
       Health state of the CompositeHealthCheck.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Specified by:
      hasHealthState in interface CompositeHealthCheckHealthOrBuilder
      Returns:
      Whether the healthState field is set.
    • getHealthState

      public String getHealthState()
       Health state of the CompositeHealthCheck.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Specified by:
      getHealthState in interface CompositeHealthCheckHealthOrBuilder
      Returns:
      The healthState.
    • getHealthStateBytes

      public com.google.protobuf.ByteString getHealthStateBytes()
       Health state of the CompositeHealthCheck.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Specified by:
      getHealthStateBytes in interface CompositeHealthCheckHealthOrBuilder
      Returns:
      The bytes for healthState.
    • setHealthState

      public CompositeHealthCheckHealth.Builder setHealthState(String value)
       Health state of the CompositeHealthCheck.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Parameters:
      value - The healthState to set.
      Returns:
      This builder for chaining.
    • clearHealthState

      public CompositeHealthCheckHealth.Builder clearHealthState()
       Health state of the CompositeHealthCheck.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Returns:
      This builder for chaining.
    • setHealthStateBytes

      public CompositeHealthCheckHealth.Builder setHealthStateBytes(com.google.protobuf.ByteString value)
       Health state of the CompositeHealthCheck.
       Check the HealthState enum for the list of possible values.
       
      optional string health_state = 324007150;
      Parameters:
      value - The bytes for healthState to set.
      Returns:
      This builder for chaining.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
       composite health checks.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface CompositeHealthCheckHealthOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
       composite health checks.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface CompositeHealthCheckHealthOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
       composite health checks.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface CompositeHealthCheckHealthOrBuilder
      Returns:
      The bytes for kind.
    • setKind

       Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
       composite health checks.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

       Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
       composite health checks.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public CompositeHealthCheckHealth.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
       composite health checks.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.