Class Symptom.Builder (2.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Symptom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Symptom.Builder
Overrides

build()

public Symptom build()
Returns
TypeDescription
Symptom

buildPartial()

public Symptom buildPartial()
Returns
TypeDescription
Symptom

clear()

public Symptom.Builder clear()
Returns
TypeDescription
Symptom.Builder
Overrides

clearCreateTime()

public Symptom.Builder clearCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Symptom.Builder

clearDetails()

public Symptom.Builder clearDetails()

Detailed information of the current Symptom.

string details = 3;

Returns
TypeDescription
Symptom.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Symptom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Symptom.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Symptom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Symptom.Builder
Overrides

clearSymptomType()

public Symptom.Builder clearSymptomType()

Type of the Symptom.

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

Returns
TypeDescription
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
TypeDescription
Symptom.Builder

This builder for chaining.

clone()

public Symptom.Builder clone()
Returns
TypeDescription
Symptom.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Symptom.Builder mergeCreateTime(Timestamp value)

Timestamp when the Symptom is created.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Symptom.Builder

mergeFrom(Symptom other)

public Symptom.Builder mergeFrom(Symptom other)
Parameter
NameDescription
otherSymptom
Returns
TypeDescription
Symptom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Symptom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Symptom.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Symptom.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Symptom.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Symptom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Symptom.Builder

setDetails(String value)

public Symptom.Builder setDetails(String value)

Detailed information of the current Symptom.

string details = 3;

Parameter
NameDescription
valueString

The details to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
Symptom.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Symptom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Symptom.Builder
Overrides

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

public Symptom.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSymptom.SymptomType

The symptomType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Symptom.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Symptom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The workerId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for workerId to set.

Returns
TypeDescription
Symptom.Builder

This builder for chaining.