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