public static final class ManagedInstanceInstanceHealth.Builder extends GeneratedMessage.Builder<ManagedInstanceInstanceHealth.Builder> implements ManagedInstanceInstanceHealthOrBuilder Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ManagedInstanceInstanceHealth.BuilderImplements
ManagedInstanceInstanceHealthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ManagedInstanceInstanceHealth build()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
buildPartial()
public ManagedInstanceInstanceHealth buildPartial()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
clear()
public ManagedInstanceInstanceHealth.Builder clear()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
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 | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
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 | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ManagedInstanceInstanceHealth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The detailedHealthState. |
getDetailedHealthStateBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for detailedHealthState. |
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;
| Returns | |
|---|---|
| Type | Description |
String |
The healthCheck. |
getHealthCheckBytes()
public ByteString getHealthCheckBytes()Output only. [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. [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. [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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ManagedInstanceInstanceHealth other)
public ManagedInstanceInstanceHealth.Builder mergeFrom(ManagedInstanceInstanceHealth other)| Parameter | |
|---|---|
| Name | Description |
other |
ManagedInstanceInstanceHealth |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ManagedInstanceInstanceHealth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ManagedInstanceInstanceHealth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
setDetailedHealthState(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe detailedHealthState to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
This builder for chaining. |
setDetailedHealthStateBytes(ByteString value)
public ManagedInstanceInstanceHealth.Builder setDetailedHealthStateBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for detailedHealthState to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
This builder for chaining. |
setHealthCheck(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe healthCheck to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
This builder for chaining. |
setHealthCheckBytes(ByteString value)
public ManagedInstanceInstanceHealth.Builder setHealthCheckBytes(ByteString value)Output only. [Output Only] The URL for the health check that verifies whether the instance is healthy.
optional string health_check = 308876645;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for healthCheck to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
This builder for chaining. |