Class CompositeHealthCheckHealth (1.105.0)

public final class CompositeHealthCheckHealth extends GeneratedMessage implements CompositeHealthCheckHealthOrBuilder

Response message for RegionCompositeHealthChecks.GetHealth

Protobuf type google.cloud.compute.v1.CompositeHealthCheckHealth

Static Fields

HEALTH_SOURCES_FIELD_NUMBER

public static final int HEALTH_SOURCES_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_STATE_FIELD_NUMBER

public static final int HEALTH_STATE_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompositeHealthCheckHealth getDefaultInstance()
Returns
Type Description
CompositeHealthCheckHealth

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CompositeHealthCheckHealth.Builder newBuilder()
Returns
Type Description
CompositeHealthCheckHealth.Builder

newBuilder(CompositeHealthCheckHealth prototype)

public static CompositeHealthCheckHealth.Builder newBuilder(CompositeHealthCheckHealth prototype)
Parameter
Name Description
prototype CompositeHealthCheckHealth
Returns
Type Description
CompositeHealthCheckHealth.Builder

parseDelimitedFrom(InputStream input)

public static CompositeHealthCheckHealth parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompositeHealthCheckHealth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompositeHealthCheckHealth parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompositeHealthCheckHealth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompositeHealthCheckHealth parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompositeHealthCheckHealth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompositeHealthCheckHealth parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompositeHealthCheckHealth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompositeHealthCheckHealth parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompositeHealthCheckHealth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompositeHealthCheckHealth parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompositeHealthCheckHealth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthCheckHealth
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompositeHealthCheckHealth> parser()
Returns
Type Description
Parser<CompositeHealthCheckHealth>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CompositeHealthCheckHealth getDefaultInstanceForType()
Returns
Type Description
CompositeHealthCheckHealth

getHealthSources(int index)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth getHealthSources(int index)

Health sources and their corresponding health states.

repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth

getHealthSourcesCount()

public int getHealthSourcesCount()

Health sources and their corresponding health states.

repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;

Returns
Type Description
int

getHealthSourcesList()

public List<CompositeHealthChecksGetHealthResponseHealthSourceHealth> getHealthSourcesList()

Health sources and their corresponding health states.

repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;

Returns
Type Description
List<CompositeHealthChecksGetHealthResponseHealthSourceHealth>

getHealthSourcesOrBuilder(int index)

public CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder getHealthSourcesOrBuilder(int index)

Health sources and their corresponding health states.

repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder

getHealthSourcesOrBuilderList()

public List<? extends CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder> getHealthSourcesOrBuilderList()

Health sources and their corresponding health states.

repeated .google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth health_sources = 397879509;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder>

getHealthState()

public String getHealthState()

Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
String

The healthState.

getHealthStateBytes()

public ByteString getHealthStateBytes()

Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
ByteString

The bytes for healthState.

getKind()

public String getKind()

Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHealthState()

public boolean hasHealthState()

Health state of the CompositeHealthCheck. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
boolean

Whether the healthState field is set.

hasKind()

public boolean hasKind()

Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CompositeHealthCheckHealth.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompositeHealthCheckHealth.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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