Class Coordinator.Job.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
io.dingodb.coordinator.Coordinator.Job.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Coordinator.JobOrBuilder, Cloneable
Enclosing class:
Coordinator.Job

public static final class Coordinator.Job.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder> implements Coordinator.JobOrBuilder
 Job->Task->StoreOperation->RegionCmd
 
Protobuf type dingodb.pb.coordinator.Job
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • clear

      public Coordinator.Job.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.GeneratedMessageV3.Builder<Coordinator.Job.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.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • getDefaultInstanceForType

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

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

      public Coordinator.Job buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Coordinator.Job.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • setField

      public Coordinator.Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • clearField

      public Coordinator.Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • clearOneof

      public Coordinator.Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • setRepeatedField

      public Coordinator.Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • addRepeatedField

      public Coordinator.Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • mergeFrom

      public Coordinator.Job.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<Coordinator.Job.Builder>
    • mergeFrom

      public Coordinator.Job.Builder mergeFrom(Coordinator.Job other)
    • isInitialized

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

      public Coordinator.Job.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<Coordinator.Job.Builder>
      Throws:
      IOException
    • getId

      public long getId()
       this is the id of coordinator job list
       
      int64 id = 1;
      Specified by:
      getId in interface Coordinator.JobOrBuilder
      Returns:
      The id.
    • setId

      public Coordinator.Job.Builder setId(long value)
       this is the id of coordinator job list
       
      int64 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Coordinator.Job.Builder clearId()
       this is the id of coordinator job list
       
      int64 id = 1;
      Returns:
      This builder for chaining.
    • getName

      public String getName()
      string name = 2;
      Specified by:
      getName in interface Coordinator.JobOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 2;
      Specified by:
      getNameBytes in interface Coordinator.JobOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Coordinator.Job.Builder setName(String value)
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Coordinator.Job.Builder clearName()
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Coordinator.Job.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getNextStep

      public long getNextStep()
       the next index of tasks to execute
       
      int64 next_step = 3;
      Specified by:
      getNextStep in interface Coordinator.JobOrBuilder
      Returns:
      The nextStep.
    • setNextStep

      public Coordinator.Job.Builder setNextStep(long value)
       the next index of tasks to execute
       
      int64 next_step = 3;
      Parameters:
      value - The nextStep to set.
      Returns:
      This builder for chaining.
    • clearNextStep

      public Coordinator.Job.Builder clearNextStep()
       the next index of tasks to execute
       
      int64 next_step = 3;
      Returns:
      This builder for chaining.
    • getTasksList

      public List<Coordinator.Task> getTasksList()
      repeated .dingodb.pb.coordinator.Task tasks = 4;
      Specified by:
      getTasksList in interface Coordinator.JobOrBuilder
    • getTasksCount

      public int getTasksCount()
      repeated .dingodb.pb.coordinator.Task tasks = 4;
      Specified by:
      getTasksCount in interface Coordinator.JobOrBuilder
    • getTasks

      public Coordinator.Task getTasks(int index)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
      Specified by:
      getTasks in interface Coordinator.JobOrBuilder
    • setTasks

      public Coordinator.Job.Builder setTasks(int index, Coordinator.Task value)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • setTasks

      public Coordinator.Job.Builder setTasks(int index, Coordinator.Task.Builder builderForValue)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • addTasks

      public Coordinator.Job.Builder addTasks(Coordinator.Task value)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • addTasks

      public Coordinator.Job.Builder addTasks(int index, Coordinator.Task value)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • addTasks

      public Coordinator.Job.Builder addTasks(Coordinator.Task.Builder builderForValue)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • addTasks

      public Coordinator.Job.Builder addTasks(int index, Coordinator.Task.Builder builderForValue)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • addAllTasks

      public Coordinator.Job.Builder addAllTasks(Iterable<? extends Coordinator.Task> values)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • clearTasks

      public Coordinator.Job.Builder clearTasks()
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • removeTasks

      public Coordinator.Job.Builder removeTasks(int index)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • getTasksBuilder

      public Coordinator.Task.Builder getTasksBuilder(int index)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • getTasksOrBuilder

      public Coordinator.TaskOrBuilder getTasksOrBuilder(int index)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
      Specified by:
      getTasksOrBuilder in interface Coordinator.JobOrBuilder
    • getTasksOrBuilderList

      public List<? extends Coordinator.TaskOrBuilder> getTasksOrBuilderList()
      repeated .dingodb.pb.coordinator.Task tasks = 4;
      Specified by:
      getTasksOrBuilderList in interface Coordinator.JobOrBuilder
    • addTasksBuilder

      public Coordinator.Task.Builder addTasksBuilder()
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • addTasksBuilder

      public Coordinator.Task.Builder addTasksBuilder(int index)
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • getTasksBuilderList

      public List<Coordinator.Task.Builder> getTasksBuilderList()
      repeated .dingodb.pb.coordinator.Task tasks = 4;
    • getCreateTime

      public String getCreateTime()
      string create_time = 10;
      Specified by:
      getCreateTime in interface Coordinator.JobOrBuilder
      Returns:
      The createTime.
    • getCreateTimeBytes

      public com.google.protobuf.ByteString getCreateTimeBytes()
      string create_time = 10;
      Specified by:
      getCreateTimeBytes in interface Coordinator.JobOrBuilder
      Returns:
      The bytes for createTime.
    • setCreateTime

      public Coordinator.Job.Builder setCreateTime(String value)
      string create_time = 10;
      Parameters:
      value - The createTime to set.
      Returns:
      This builder for chaining.
    • clearCreateTime

      public Coordinator.Job.Builder clearCreateTime()
      string create_time = 10;
      Returns:
      This builder for chaining.
    • setCreateTimeBytes

      public Coordinator.Job.Builder setCreateTimeBytes(com.google.protobuf.ByteString value)
      string create_time = 10;
      Parameters:
      value - The bytes for createTime to set.
      Returns:
      This builder for chaining.
    • getFinishTime

      public String getFinishTime()
      string finish_time = 11;
      Specified by:
      getFinishTime in interface Coordinator.JobOrBuilder
      Returns:
      The finishTime.
    • getFinishTimeBytes

      public com.google.protobuf.ByteString getFinishTimeBytes()
      string finish_time = 11;
      Specified by:
      getFinishTimeBytes in interface Coordinator.JobOrBuilder
      Returns:
      The bytes for finishTime.
    • setFinishTime

      public Coordinator.Job.Builder setFinishTime(String value)
      string finish_time = 11;
      Parameters:
      value - The finishTime to set.
      Returns:
      This builder for chaining.
    • clearFinishTime

      public Coordinator.Job.Builder clearFinishTime()
      string finish_time = 11;
      Returns:
      This builder for chaining.
    • setFinishTimeBytes

      public Coordinator.Job.Builder setFinishTimeBytes(com.google.protobuf.ByteString value)
      string finish_time = 11;
      Parameters:
      value - The bytes for finishTime to set.
      Returns:
      This builder for chaining.
    • getUpdateTime

      public String getUpdateTime()
      string update_time = 12;
      Specified by:
      getUpdateTime in interface Coordinator.JobOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeBytes

      public com.google.protobuf.ByteString getUpdateTimeBytes()
      string update_time = 12;
      Specified by:
      getUpdateTimeBytes in interface Coordinator.JobOrBuilder
      Returns:
      The bytes for updateTime.
    • setUpdateTime

      public Coordinator.Job.Builder setUpdateTime(String value)
      string update_time = 12;
      Parameters:
      value - The updateTime to set.
      Returns:
      This builder for chaining.
    • clearUpdateTime

      public Coordinator.Job.Builder clearUpdateTime()
      string update_time = 12;
      Returns:
      This builder for chaining.
    • setUpdateTimeBytes

      public Coordinator.Job.Builder setUpdateTimeBytes(com.google.protobuf.ByteString value)
      string update_time = 12;
      Parameters:
      value - The bytes for updateTime to set.
      Returns:
      This builder for chaining.
    • getStatus

      public String getStatus()
      string status = 13;
      Specified by:
      getStatus in interface Coordinator.JobOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
      string status = 13;
      Specified by:
      getStatusBytes in interface Coordinator.JobOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public Coordinator.Job.Builder setStatus(String value)
      string status = 13;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Coordinator.Job.Builder clearStatus()
      string status = 13;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public Coordinator.Job.Builder setStatusBytes(com.google.protobuf.ByteString value)
      string status = 13;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Coordinator.Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>
    • mergeUnknownFields

      public final Coordinator.Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.Job.Builder>