Class Symptom (2.34.0)

public final class Symptom extends GeneratedMessageV3 implements SymptomOrBuilder

A Symptom instance.

Protobuf type google.cloud.tpu.v1.Symptom

Implements

SymptomOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

SYMPTOM_TYPE_FIELD_NUMBER

public static final int SYMPTOM_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_ID_FIELD_NUMBER

public static final int WORKER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Symptom getDefaultInstance()
Returns
TypeDescription
Symptom

getDescriptor()

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

newBuilder()

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

newBuilder(Symptom prototype)

public static Symptom.Builder newBuilder(Symptom prototype)
Parameter
NameDescription
prototypeSymptom
Returns
TypeDescription
Symptom.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Symptom getDefaultInstanceForType()
Returns
TypeDescription
Symptom

getDetails()

public String getDetails()

Detailed information of the current Symptom.

string details = 3;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Detailed information of the current Symptom.

string details = 3;

Returns
TypeDescription
ByteString

The bytes for details.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSymptomType()

public Symptom.SymptomType getSymptomType()

Type of the Symptom.

.google.cloud.tpu.v1.Symptom.SymptomType symptom_type = 2;

Returns
TypeDescription
Symptom.SymptomType

The symptomType.

getSymptomTypeValue()

public int getSymptomTypeValue()

Type of the Symptom.

.google.cloud.tpu.v1.Symptom.SymptomType symptom_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for symptomType.

getWorkerId()

public String getWorkerId()

A string used to uniquely distinguish a worker within a TPU node.

string worker_id = 4;

Returns
TypeDescription
String

The workerId.

getWorkerIdBytes()

public ByteString getWorkerIdBytes()

A string used to uniquely distinguish a worker within a TPU node.

string worker_id = 4;

Returns
TypeDescription
ByteString

The bytes for workerId.

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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