Class TargetPoolInstanceHealth (1.8.1)

public final class TargetPoolInstanceHealth extends GeneratedMessageV3 implements TargetPoolInstanceHealthOrBuilder

Protobuf type google.cloud.compute.v1.TargetPoolInstanceHealth

Static Fields

HEALTH_STATUS_FIELD_NUMBER

public static final int HEALTH_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TargetPoolInstanceHealth getDefaultInstance()
Returns
TypeDescription
TargetPoolInstanceHealth

getDescriptor()

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

newBuilder()

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

newBuilder(TargetPoolInstanceHealth prototype)

public static TargetPoolInstanceHealth.Builder newBuilder(TargetPoolInstanceHealth prototype)
Parameter
NameDescription
prototypeTargetPoolInstanceHealth
Returns
TypeDescription
TargetPoolInstanceHealth.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetPoolInstanceHealth getDefaultInstanceForType()
Returns
TypeDescription
TargetPoolInstanceHealth

getHealthStatus(int index)

public HealthStatus getHealthStatus(int index)

repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthStatus

getHealthStatusCount()

public int getHealthStatusCount()

repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Returns
TypeDescription
int

getHealthStatusList()

public List<HealthStatus> getHealthStatusList()

repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Returns
TypeDescription
List<HealthStatus>

getHealthStatusOrBuilder(int index)

public HealthStatusOrBuilder getHealthStatusOrBuilder(int index)

repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Parameter
NameDescription
indexint
Returns
TypeDescription
HealthStatusOrBuilder

getHealthStatusOrBuilderList()

public List<? extends HealthStatusOrBuilder> getHealthStatusOrBuilderList()

repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.HealthStatusOrBuilder>

getKind()

public String getKind()

[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasKind()

public boolean hasKind()

[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind 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 TargetPoolInstanceHealth.Builder newBuilderForType()
Returns
TypeDescription
TargetPoolInstanceHealth.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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