Class Symptom.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Symptom.Builder>
com.google.cloud.tpu.v2.Symptom.Builder
All Implemented Interfaces:
SymptomOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Symptom

public static final class Symptom.Builder extends com.google.protobuf.GeneratedMessage.Builder<Symptom.Builder> implements SymptomOrBuilder
 A Symptom instance.
 
Protobuf type google.cloud.tpu.v2.Symptom
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Timestamp when the Symptom is created.
    Detailed information of the current Symptom.
    Type of the Symptom.
    A string used to uniquely distinguish a worker within a TPU node.
    com.google.protobuf.Timestamp
    Timestamp when the Symptom is created.
    com.google.protobuf.Timestamp.Builder
    Timestamp when the Symptom is created.
    com.google.protobuf.TimestampOrBuilder
    Timestamp when the Symptom is created.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Detailed information of the current Symptom.
    com.google.protobuf.ByteString
    Detailed information of the current Symptom.
    Type of the Symptom.
    int
    Type of the Symptom.
    A string used to uniquely distinguish a worker within a TPU node.
    com.google.protobuf.ByteString
    A string used to uniquely distinguish a worker within a TPU node.
    boolean
    Timestamp when the Symptom is created.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeCreateTime(com.google.protobuf.Timestamp value)
    Timestamp when the Symptom is created.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setCreateTime(com.google.protobuf.Timestamp value)
    Timestamp when the Symptom is created.
    setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
    Timestamp when the Symptom is created.
    Detailed information of the current Symptom.
    setDetailsBytes(com.google.protobuf.ByteString value)
    Detailed information of the current Symptom.
    Type of the Symptom.
    Type of the Symptom.
    A string used to uniquely distinguish a worker within a TPU node.
    setWorkerIdBytes(com.google.protobuf.ByteString value)
    A string used to uniquely distinguish a worker within a TPU node.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Symptom.Builder>
    • clear

      public Symptom.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Symptom.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Symptom.Builder>
    • getDefaultInstanceForType

      public Symptom getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Symptom build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Symptom buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Symptom.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Symptom.Builder>
    • mergeFrom

      public Symptom.Builder mergeFrom(Symptom other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Symptom.Builder>
    • mergeFrom

      public Symptom.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Symptom.Builder>
      Throws:
      IOException
    • hasCreateTime

      public boolean hasCreateTime()
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      hasCreateTime in interface SymptomOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      getCreateTime in interface SymptomOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Symptom.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
    • setCreateTime

      public Symptom.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
    • mergeCreateTime

      public Symptom.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
    • clearCreateTime

      public Symptom.Builder clearCreateTime()
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Timestamp when the Symptom is created.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      getCreateTimeOrBuilder in interface SymptomOrBuilder
    • getSymptomTypeValue

      public int getSymptomTypeValue()
       Type of the Symptom.
       
      .google.cloud.tpu.v2.Symptom.SymptomType symptom_type = 2;
      Specified by:
      getSymptomTypeValue in interface SymptomOrBuilder
      Returns:
      The enum numeric value on the wire for symptomType.
    • setSymptomTypeValue

      public Symptom.Builder setSymptomTypeValue(int value)
       Type of the Symptom.
       
      .google.cloud.tpu.v2.Symptom.SymptomType symptom_type = 2;
      Parameters:
      value - The enum numeric value on the wire for symptomType to set.
      Returns:
      This builder for chaining.
    • getSymptomType

      public Symptom.SymptomType getSymptomType()
       Type of the Symptom.
       
      .google.cloud.tpu.v2.Symptom.SymptomType symptom_type = 2;
      Specified by:
      getSymptomType in interface SymptomOrBuilder
      Returns:
      The symptomType.
    • setSymptomType

      public Symptom.Builder setSymptomType(Symptom.SymptomType value)
       Type of the Symptom.
       
      .google.cloud.tpu.v2.Symptom.SymptomType symptom_type = 2;
      Parameters:
      value - The symptomType to set.
      Returns:
      This builder for chaining.
    • clearSymptomType

      public Symptom.Builder clearSymptomType()
       Type of the Symptom.
       
      .google.cloud.tpu.v2.Symptom.SymptomType symptom_type = 2;
      Returns:
      This builder for chaining.
    • getDetails

      public String getDetails()
       Detailed information of the current Symptom.
       
      string details = 3;
      Specified by:
      getDetails in interface SymptomOrBuilder
      Returns:
      The details.
    • getDetailsBytes

      public com.google.protobuf.ByteString getDetailsBytes()
       Detailed information of the current Symptom.
       
      string details = 3;
      Specified by:
      getDetailsBytes in interface SymptomOrBuilder
      Returns:
      The bytes for details.
    • setDetails

      public Symptom.Builder setDetails(String value)
       Detailed information of the current Symptom.
       
      string details = 3;
      Parameters:
      value - The details to set.
      Returns:
      This builder for chaining.
    • clearDetails

      public Symptom.Builder clearDetails()
       Detailed information of the current Symptom.
       
      string details = 3;
      Returns:
      This builder for chaining.
    • setDetailsBytes

      public Symptom.Builder setDetailsBytes(com.google.protobuf.ByteString value)
       Detailed information of the current Symptom.
       
      string details = 3;
      Parameters:
      value - The bytes for details to set.
      Returns:
      This builder for chaining.
    • getWorkerId

      public String getWorkerId()
       A string used to uniquely distinguish a worker within a TPU node.
       
      string worker_id = 4;
      Specified by:
      getWorkerId in interface SymptomOrBuilder
      Returns:
      The workerId.
    • getWorkerIdBytes

      public com.google.protobuf.ByteString getWorkerIdBytes()
       A string used to uniquely distinguish a worker within a TPU node.
       
      string worker_id = 4;
      Specified by:
      getWorkerIdBytes in interface SymptomOrBuilder
      Returns:
      The bytes for workerId.
    • setWorkerId

      public Symptom.Builder setWorkerId(String value)
       A string used to uniquely distinguish a worker within a TPU node.
       
      string worker_id = 4;
      Parameters:
      value - The workerId to set.
      Returns:
      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:
      This builder for chaining.
    • setWorkerIdBytes

      public Symptom.Builder setWorkerIdBytes(com.google.protobuf.ByteString value)
       A string used to uniquely distinguish a worker within a TPU node.
       
      string worker_id = 4;
      Parameters:
      value - The bytes for workerId to set.
      Returns:
      This builder for chaining.