Class ManagedInstanceInstanceHealth.Builder

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

public static final class ManagedInstanceInstanceHealth.Builder extends com.google.protobuf.GeneratedMessage.Builder<ManagedInstanceInstanceHealth.Builder> implements ManagedInstanceInstanceHealthOrBuilder
 
Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth
  • 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<ManagedInstanceInstanceHealth.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<ManagedInstanceInstanceHealth.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<ManagedInstanceInstanceHealth.Builder>
    • getDefaultInstanceForType

      public ManagedInstanceInstanceHealth 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 ManagedInstanceInstanceHealth buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ManagedInstanceInstanceHealth.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<ManagedInstanceInstanceHealth.Builder>
      Throws:
      IOException
    • hasDetailedHealthState

      public boolean hasDetailedHealthState()
       Output only. [Output Only] The current detailed instance health state.
       Check the DetailedHealthState enum for the list of possible values.
       
      optional string detailed_health_state = 510470173;
      Specified by:
      hasDetailedHealthState in interface ManagedInstanceInstanceHealthOrBuilder
      Returns:
      Whether the detailedHealthState field is set.
    • getDetailedHealthState

      public String getDetailedHealthState()
       Output only. [Output Only] The current detailed instance health state.
       Check the DetailedHealthState enum for the list of possible values.
       
      optional string detailed_health_state = 510470173;
      Specified by:
      getDetailedHealthState in interface ManagedInstanceInstanceHealthOrBuilder
      Returns:
      The detailedHealthState.
    • getDetailedHealthStateBytes

      public com.google.protobuf.ByteString getDetailedHealthStateBytes()
       Output only. [Output Only] The current detailed instance health state.
       Check the DetailedHealthState enum for the list of possible values.
       
      optional string detailed_health_state = 510470173;
      Specified by:
      getDetailedHealthStateBytes in interface ManagedInstanceInstanceHealthOrBuilder
      Returns:
      The bytes for detailedHealthState.
    • setDetailedHealthState

      public ManagedInstanceInstanceHealth.Builder setDetailedHealthState(String value)
       Output only. [Output Only] The current detailed instance health state.
       Check the DetailedHealthState enum for the list of possible values.
       
      optional string detailed_health_state = 510470173;
      Parameters:
      value - The detailedHealthState to set.
      Returns:
      This builder for chaining.
    • clearDetailedHealthState

      public ManagedInstanceInstanceHealth.Builder clearDetailedHealthState()
       Output only. [Output Only] The current detailed instance health state.
       Check the DetailedHealthState enum for the list of possible values.
       
      optional string detailed_health_state = 510470173;
      Returns:
      This builder for chaining.
    • setDetailedHealthStateBytes

      public ManagedInstanceInstanceHealth.Builder setDetailedHealthStateBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The current detailed instance health state.
       Check the DetailedHealthState enum for the list of possible values.
       
      optional string detailed_health_state = 510470173;
      Parameters:
      value - The bytes for detailedHealthState to set.
      Returns:
      This builder for chaining.
    • hasHealthCheck

      public boolean hasHealthCheck()
       Output only. [Output Only] The URL for the health check that verifies whether the
       instance is healthy.
       
      optional string health_check = 308876645;
      Specified by:
      hasHealthCheck in interface ManagedInstanceInstanceHealthOrBuilder
      Returns:
      Whether the healthCheck field is set.
    • getHealthCheck

      public String getHealthCheck()
       Output only. [Output Only] The URL for the health check that verifies whether the
       instance is healthy.
       
      optional string health_check = 308876645;
      Specified by:
      getHealthCheck in interface ManagedInstanceInstanceHealthOrBuilder
      Returns:
      The healthCheck.
    • getHealthCheckBytes

      public com.google.protobuf.ByteString getHealthCheckBytes()
       Output only. [Output Only] The URL for the health check that verifies whether the
       instance is healthy.
       
      optional string health_check = 308876645;
      Specified by:
      getHealthCheckBytes in interface ManagedInstanceInstanceHealthOrBuilder
      Returns:
      The bytes for healthCheck.
    • setHealthCheck

      public ManagedInstanceInstanceHealth.Builder setHealthCheck(String value)
       Output only. [Output Only] The URL for the health check that verifies whether the
       instance is healthy.
       
      optional string health_check = 308876645;
      Parameters:
      value - The healthCheck to set.
      Returns:
      This builder for chaining.
    • clearHealthCheck

      public ManagedInstanceInstanceHealth.Builder clearHealthCheck()
       Output only. [Output Only] The URL for the health check that verifies whether the
       instance is healthy.
       
      optional string health_check = 308876645;
      Returns:
      This builder for chaining.
    • setHealthCheckBytes

      public ManagedInstanceInstanceHealth.Builder setHealthCheckBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The URL for the health check that verifies whether the
       instance is healthy.
       
      optional string health_check = 308876645;
      Parameters:
      value - The bytes for healthCheck to set.
      Returns:
      This builder for chaining.