Class ManagedInstanceInstanceHealth (1.28.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
TypeDescription
int

HEALTH_CHECK_FIELD_NUMBER

public static final int HEALTH_CHECK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ManagedInstanceInstanceHealth getDefaultInstance()
Returns
TypeDescription
ManagedInstanceInstanceHealth

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ManagedInstanceInstanceHealth.Builder newBuilder()
Returns
TypeDescription
ManagedInstanceInstanceHealth.Builder

newBuilder(ManagedInstanceInstanceHealth prototype)

public static ManagedInstanceInstanceHealth.Builder newBuilder(ManagedInstanceInstanceHealth prototype)
Parameter
NameDescription
prototypeManagedInstanceInstanceHealth
Returns
TypeDescription
ManagedInstanceInstanceHealth.Builder

parseDelimitedFrom(InputStream input)

public static ManagedInstanceInstanceHealth parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceInstanceHealth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ManagedInstanceInstanceHealth parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceInstanceHealth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManagedInstanceInstanceHealth parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceInstanceHealth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManagedInstanceInstanceHealth parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceInstanceHealth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ManagedInstanceInstanceHealth parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceInstanceHealth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ManagedInstanceInstanceHealth parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceInstanceHealth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceInstanceHealth
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ManagedInstanceInstanceHealth> parser()
Returns
TypeDescription
Parser<ManagedInstanceInstanceHealth>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ManagedInstanceInstanceHealth getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for healthCheck.

getParserForType()

public Parser<ManagedInstanceInstanceHealth> getParserForType()
Returns
TypeDescription
Parser<ManagedInstanceInstanceHealth>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the healthCheck field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ManagedInstanceInstanceHealth.Builder newBuilderForType()
Returns
TypeDescription
ManagedInstanceInstanceHealth.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManagedInstanceInstanceHealth.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ManagedInstanceInstanceHealth.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ManagedInstanceInstanceHealth.Builder toBuilder()
Returns
TypeDescription
ManagedInstanceInstanceHealth.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException