public static final class Symptom.Builder extends GeneratedMessage.Builder<Symptom.Builder> implements SymptomOrBuilderA Symptom instance.
Protobuf type google.cloud.tpu.v2.Symptom
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Symptom.BuilderImplements
SymptomOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
clearSymptomType()
public Symptom.Builder clearSymptomType()Type of the Symptom.
.google.cloud.tpu.v2.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. |
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 |
|
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.v2.Symptom.SymptomType symptom_type = 2;
| Returns | |
|---|---|
| Type | Description |
Symptom.SymptomType |
The symptomType. |
getSymptomTypeValue()
public int getSymptomTypeValue()Type of the Symptom.
.google.cloud.tpu.v2.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Symptom.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Symptom.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for details to set. |
| Returns | |
|---|---|
| Type | Description |
Symptom.Builder |
This builder for chaining. |
setSymptomType(Symptom.SymptomType value)
public Symptom.Builder setSymptomType(Symptom.SymptomType value)Type of the Symptom.
.google.cloud.tpu.v2.Symptom.SymptomType symptom_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Symptom.SymptomTypeThe 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.v2.Symptom.SymptomType symptom_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for symptomType to set. |
| Returns | |
|---|---|
| Type | Description |
Symptom.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for workerId to set. |
| Returns | |
|---|---|
| Type | Description |
Symptom.Builder |
This builder for chaining. |