Class ManagedInstanceInstanceHealth (1.55.0)

public final class ManagedInstanceInstanceHealth extends GeneratedMessageV3 implements ManagedInstanceInstanceHealthOrBuilder

Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth

Static 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
Overrides

getDefaultInstanceForType()

public ManagedInstanceInstanceHealth getDefaultInstanceForType()
Returns
Type Description
ManagedInstanceInstanceHealth

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.

getParserForType()

public Parser<ManagedInstanceInstanceHealth> getParserForType()
Returns
Type Description
Parser<ManagedInstanceInstanceHealth>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ManagedInstanceInstanceHealth.Builder newBuilderForType()
Returns
Type Description
ManagedInstanceInstanceHealth.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManagedInstanceInstanceHealth.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ManagedInstanceInstanceHealth.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ManagedInstanceInstanceHealth.Builder toBuilder()
Returns
Type Description
ManagedInstanceInstanceHealth.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException