Class Symptom.Builder (2.48.0)

public static final class Symptom.Builder extends GeneratedMessageV3.Builder<Symptom.Builder> implements SymptomOrBuilder

A Symptom instance.

Protobuf type google.cloud.tpu.v1.Symptom

Implements

SymptomOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Symptom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Symptom.Builder
Overrides

build()

public Symptom build()
Returns
Type Description
Symptom

buildPartial()

public Symptom buildPartial()
Returns
Type Description
Symptom

clear()

public Symptom.Builder clear()
Returns
Type Description
Symptom.Builder
Overrides

clearCreateTime()

public Symptom.Builder clearCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Symptom.Builder

clearDetails()

public Symptom.Builder clearDetails()

Detailed information of the current Symptom.

string details = 3;

Returns
Type Description
Symptom.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Symptom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Symptom.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Symptom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Symptom.Builder
Overrides

clearSymptomType()

public Symptom.Builder clearSymptomType()

Type of the Symptom.

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

Returns
Type Description
Symptom.Builder

This builder for chaining.

clearWorkerId()

public Symptom.Builder clearWorkerId()

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

string worker_id = 4;

Returns
Type Description
Symptom.Builder

This builder for chaining.

clone()

public Symptom.Builder clone()
Returns
Type Description
Symptom.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Symptom getDefaultInstanceForType()
Returns
Type Description
Symptom

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetails()

public String getDetails()

Detailed information of the current Symptom.

string details = 3;

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Detailed information of the current Symptom.

string details = 3;

Returns
Type Description
ByteString

The bytes for details.

getSymptomType()

public Symptom.SymptomType getSymptomType()

Type of the Symptom.

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

Returns
Type Description
Symptom.SymptomType

The symptomType.

getSymptomTypeValue()

public int getSymptomTypeValue()

Type of the Symptom.

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

Returns
Type Description
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
Type Description
String

The workerId.

getWorkerIdBytes()

public ByteString getWorkerIdBytes()

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

string worker_id = 4;

Returns
Type Description
ByteString

The bytes for workerId.

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Symptom.Builder mergeCreateTime(Timestamp value)

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Symptom.Builder

mergeFrom(Symptom other)

public Symptom.Builder mergeFrom(Symptom other)
Parameter
Name Description
other Symptom
Returns
Type Description
Symptom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Symptom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Symptom.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Symptom.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Symptom.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Symptom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Symptom.Builder
Overrides

setCreateTime(Timestamp value)

public Symptom.Builder setCreateTime(Timestamp value)

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Symptom.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Symptom.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Symptom.Builder

setDetails(String value)

public Symptom.Builder setDetails(String value)

Detailed information of the current Symptom.

string details = 3;

Parameter
Name Description
value String

The details to set.

Returns
Type Description
Symptom.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public Symptom.Builder setDetailsBytes(ByteString value)

Detailed information of the current Symptom.

string details = 3;

Parameter
Name Description
value ByteString

The bytes for details to set.

Returns
Type Description
Symptom.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Symptom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Symptom.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Symptom.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Symptom.Builder
Overrides

setSymptomType(Symptom.SymptomType value)

public Symptom.Builder setSymptomType(Symptom.SymptomType value)

Type of the Symptom.

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

Parameter
Name Description
value Symptom.SymptomType

The symptomType to set.

Returns
Type Description
Symptom.Builder

This builder for chaining.

setSymptomTypeValue(int value)

public Symptom.Builder setSymptomTypeValue(int value)

Type of the Symptom.

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

Parameter
Name Description
value int

The enum numeric value on the wire for symptomType to set.

Returns
Type Description
Symptom.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Symptom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Symptom.Builder
Overrides

setWorkerId(String value)

public Symptom.Builder setWorkerId(String value)

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

string worker_id = 4;

Parameter
Name Description
value String

The workerId to set.

Returns
Type Description
Symptom.Builder

This builder for chaining.

setWorkerIdBytes(ByteString value)

public Symptom.Builder setWorkerIdBytes(ByteString value)

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

string worker_id = 4;

Parameter
Name Description
value ByteString

The bytes for workerId to set.

Returns
Type Description
Symptom.Builder

This builder for chaining.