Class ManagedInstanceInstanceHealth.Builder

    • 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<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.GeneratedMessageV3.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

        public ManagedInstanceInstanceHealth 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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.