Send feedback
Class ManagedInstanceInstanceHealth.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.0 keyboard_arrow_down
public static final class ManagedInstanceInstanceHealth . Builder extends GeneratedMessageV3 . Builder<ManagedInstanceInstanceHealth . Builder > implements ManagedInstanceInstanceHealthOrBuilder
Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstanceInstanceHealth . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ManagedInstanceInstanceHealth build ()
Returns
buildPartial()
public ManagedInstanceInstanceHealth buildPartial ()
Returns
clear()
public ManagedInstanceInstanceHealth . Builder clear ()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public ManagedInstanceInstanceHealth . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedInstanceInstanceHealth . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ManagedInstanceInstanceHealth . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ManagedInstanceInstanceHealth getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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;
Returns
Type Description String The detailedHealthState.
getDetailedHealthStateBytes()
public 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;
Returns
Type Description ByteString The bytes for detailedHealthState.
getHealthCheck()
public String getHealthCheck ()
[Output Only] The URL for the health check that verifies whether the instance is healthy.
optional string health_check = 308876645;
Returns
Type Description String The healthCheck.
getHealthCheckBytes()
public ByteString getHealthCheckBytes ()
[Output Only] The URL for the health check that verifies whether the instance is healthy.
optional string health_check = 308876645;
Returns
Type Description ByteString The bytes for healthCheck.
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;
Returns
Type Description boolean Whether the detailedHealthState field is set.
hasHealthCheck()
public boolean hasHealthCheck ()
[Output Only] The URL for the health check that verifies whether the instance is healthy.
optional string health_check = 308876645;
Returns
Type Description boolean Whether the healthCheck field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ManagedInstanceInstanceHealth other)
public ManagedInstanceInstanceHealth . Builder mergeFrom ( ManagedInstanceInstanceHealth other )
Parameter
Returns
public ManagedInstanceInstanceHealth . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ManagedInstanceInstanceHealth . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstanceInstanceHealth . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDetailedHealthState(String value)
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;
Parameter
Name Description value String
The detailedHealthState to set.
Returns
setDetailedHealthStateBytes(ByteString value)
public ManagedInstanceInstanceHealth . Builder setDetailedHealthStateBytes ( 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;
Parameter
Name Description value ByteString
The bytes for detailedHealthState to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedInstanceInstanceHealth . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setHealthCheck(String value)
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;
Parameter
Name Description value String
The healthCheck to set.
Returns
setHealthCheckBytes(ByteString value)
public ManagedInstanceInstanceHealth . Builder setHealthCheckBytes ( ByteString value )
[Output Only] The URL for the health check that verifies whether the instance is healthy.
optional string health_check = 308876645;
Parameter
Name Description value ByteString
The bytes for healthCheck to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedInstanceInstanceHealth . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedInstanceInstanceHealth . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]