Class GetHealthOperationMetadataHealthInfo (1.109.0)

public final class GetHealthOperationMetadataHealthInfo extends GeneratedMessage implements GetHealthOperationMetadataHealthInfoOrBuilder

Health information.

Protobuf type google.cloud.compute.v1.GetHealthOperationMetadataHealthInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GetHealthOperationMetadataHealthInfo

Static Fields

AVAILABILITY_SLO_STATUS_FIELD_NUMBER

public static final int AVAILABILITY_SLO_STATUS_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_STATUS_FIELD_NUMBER

public static final int HEALTH_STATUS_FIELD_NUMBER
Field Value
Type Description
int

REPAIR_CATEGORY_FIELD_NUMBER

public static final int REPAIR_CATEGORY_FIELD_NUMBER
Field Value
Type Description
int

UNHEALTHY_REASON_FIELD_NUMBER

public static final int UNHEALTHY_REASON_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetHealthOperationMetadataHealthInfo getDefaultInstance()
Returns
Type Description
GetHealthOperationMetadataHealthInfo

getDescriptor()

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

newBuilder()

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

newBuilder(GetHealthOperationMetadataHealthInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAvailabilitySloStatus()

public String getAvailabilitySloStatus()

Output only. The availability SLO status. Check the AvailabilitySloStatus enum for the list of possible values.

optional string availability_slo_status = 255971455;

Returns
Type Description
String

The availabilitySloStatus.

getAvailabilitySloStatusBytes()

public ByteString getAvailabilitySloStatusBytes()

Output only. The availability SLO status. Check the AvailabilitySloStatus enum for the list of possible values.

optional string availability_slo_status = 255971455;

Returns
Type Description
ByteString

The bytes for availabilitySloStatus.

getDefaultInstanceForType()

public GetHealthOperationMetadataHealthInfo getDefaultInstanceForType()
Returns
Type Description
GetHealthOperationMetadataHealthInfo

getHealthStatus()

public String getHealthStatus()

Output only. The health status. Check the HealthStatus enum for the list of possible values.

optional string health_status = 380545845;

Returns
Type Description
String

The healthStatus.

getHealthStatusBytes()

public ByteString getHealthStatusBytes()

Output only. The health status. Check the HealthStatus enum for the list of possible values.

optional string health_status = 380545845;

Returns
Type Description
ByteString

The bytes for healthStatus.

getParserForType()

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

getRepairCategory()

public String getRepairCategory()

Output only. The repair category. Check the RepairCategory enum for the list of possible values.

optional string repair_category = 113376624;

Returns
Type Description
String

The repairCategory.

getRepairCategoryBytes()

public ByteString getRepairCategoryBytes()

Output only. The repair category. Check the RepairCategory enum for the list of possible values.

optional string repair_category = 113376624;

Returns
Type Description
ByteString

The bytes for repairCategory.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnhealthyReason()

public String getUnhealthyReason()

Output only. The reason for unhealthy status. Check the UnhealthyReason enum for the list of possible values.

optional string unhealthy_reason = 448838143;

Returns
Type Description
String

The unhealthyReason.

getUnhealthyReasonBytes()

public ByteString getUnhealthyReasonBytes()

Output only. The reason for unhealthy status. Check the UnhealthyReason enum for the list of possible values.

optional string unhealthy_reason = 448838143;

Returns
Type Description
ByteString

The bytes for unhealthyReason.

getUpdateTime()

public String getUpdateTime()

Output only. The time when health info was updated.

optional string update_time = 500295811;

Returns
Type Description
String

The updateTime.

getUpdateTimeBytes()

public ByteString getUpdateTimeBytes()

Output only. The time when health info was updated.

optional string update_time = 500295811;

Returns
Type Description
ByteString

The bytes for updateTime.

hasAvailabilitySloStatus()

public boolean hasAvailabilitySloStatus()

Output only. The availability SLO status. Check the AvailabilitySloStatus enum for the list of possible values.

optional string availability_slo_status = 255971455;

Returns
Type Description
boolean

Whether the availabilitySloStatus field is set.

hasHealthStatus()

public boolean hasHealthStatus()

Output only. The health status. Check the HealthStatus enum for the list of possible values.

optional string health_status = 380545845;

Returns
Type Description
boolean

Whether the healthStatus field is set.

hasRepairCategory()

public boolean hasRepairCategory()

Output only. The repair category. Check the RepairCategory enum for the list of possible values.

optional string repair_category = 113376624;

Returns
Type Description
boolean

Whether the repairCategory field is set.

hasUnhealthyReason()

public boolean hasUnhealthyReason()

Output only. The reason for unhealthy status. Check the UnhealthyReason enum for the list of possible values.

optional string unhealthy_reason = 448838143;

Returns
Type Description
boolean

Whether the unhealthyReason field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when health info was updated.

optional string update_time = 500295811;

Returns
Type Description
boolean

Whether the updateTime 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 GetHealthOperationMetadataHealthInfo.Builder newBuilderForType()
Returns
Type Description
GetHealthOperationMetadataHealthInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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