public final class ManagedInstanceInstanceHealth extends GeneratedMessage implements ManagedInstanceInstanceHealthOrBuilder Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ManagedInstanceInstanceHealthImplements
ManagedInstanceInstanceHealthOrBuilderStatic Fields
DETAILED_HEALTH_STATE_FIELD_NUMBER
public static final int DETAILED_HEALTH_STATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HEALTH_CHECK_FIELD_NUMBER
public static final int HEALTH_CHECK_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ManagedInstanceInstanceHealth getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ManagedInstanceInstanceHealth.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
newBuilder(ManagedInstanceInstanceHealth prototype)
public static ManagedInstanceInstanceHealth.Builder newBuilder(ManagedInstanceInstanceHealth prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ManagedInstanceInstanceHealth |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
parseDelimitedFrom(InputStream input)
public static ManagedInstanceInstanceHealth parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedInstanceInstanceHealth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ManagedInstanceInstanceHealth parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ManagedInstanceInstanceHealth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ManagedInstanceInstanceHealth parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManagedInstanceInstanceHealth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ManagedInstanceInstanceHealth parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedInstanceInstanceHealth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ManagedInstanceInstanceHealth parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedInstanceInstanceHealth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ManagedInstanceInstanceHealth parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ManagedInstanceInstanceHealth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ManagedInstanceInstanceHealth> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ManagedInstanceInstanceHealth> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ManagedInstanceInstanceHealth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth |
|
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. |
getParserForType()
public Parser<ManagedInstanceInstanceHealth> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ManagedInstanceInstanceHealth> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ManagedInstanceInstanceHealth.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ManagedInstanceInstanceHealth.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
toBuilder()
public ManagedInstanceInstanceHealth.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceInstanceHealth.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|