Class ScheduleListInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScheduleListInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ScheduleListInfo.Builder>
io.temporal.api.schedule.v1.ScheduleListInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScheduleListInfoOrBuilder, Cloneable
Enclosing class:
ScheduleListInfo

public static final class ScheduleListInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduleListInfo.Builder> implements ScheduleListInfoOrBuilder
 ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo
 that's returned in ListSchedules.
 
Protobuf type temporal.api.schedule.v1.ScheduleListInfo
  • 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<ScheduleListInfo.Builder>
    • clear

      public ScheduleListInfo.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<ScheduleListInfo.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<ScheduleListInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public ScheduleListInfo.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<ScheduleListInfo.Builder>
    • setField

      public ScheduleListInfo.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<ScheduleListInfo.Builder>
    • clearField

      public ScheduleListInfo.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<ScheduleListInfo.Builder>
    • clearOneof

      public ScheduleListInfo.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<ScheduleListInfo.Builder>
    • setRepeatedField

      public ScheduleListInfo.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<ScheduleListInfo.Builder>
    • addRepeatedField

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

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

      public ScheduleListInfo.Builder mergeFrom(ScheduleListInfo other)
    • isInitialized

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

      public ScheduleListInfo.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<ScheduleListInfo.Builder>
      Throws:
      IOException
    • hasSpec

      public boolean hasSpec()
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
      Specified by:
      hasSpec in interface ScheduleListInfoOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public ScheduleSpec getSpec()
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
      Specified by:
      getSpec in interface ScheduleListInfoOrBuilder
      Returns:
      The spec.
    • setSpec

      public ScheduleListInfo.Builder setSpec(ScheduleSpec value)
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
    • setSpec

      public ScheduleListInfo.Builder setSpec(ScheduleSpec.Builder builderForValue)
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
    • mergeSpec

      public ScheduleListInfo.Builder mergeSpec(ScheduleSpec value)
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
    • clearSpec

      public ScheduleListInfo.Builder clearSpec()
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
    • getSpecBuilder

      public ScheduleSpec.Builder getSpecBuilder()
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
    • getSpecOrBuilder

      public ScheduleSpecOrBuilder getSpecOrBuilder()
       From spec:
       Some fields are dropped from this copy of spec: timezone_data
       
      .temporal.api.schedule.v1.ScheduleSpec spec = 1;
      Specified by:
      getSpecOrBuilder in interface ScheduleListInfoOrBuilder
    • hasWorkflowType

      public boolean hasWorkflowType()
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Specified by:
      hasWorkflowType in interface ScheduleListInfoOrBuilder
      Returns:
      Whether the workflowType field is set.
    • getWorkflowType

      public WorkflowType getWorkflowType()
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Specified by:
      getWorkflowType in interface ScheduleListInfoOrBuilder
      Returns:
      The workflowType.
    • setWorkflowType

      public ScheduleListInfo.Builder setWorkflowType(WorkflowType value)
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • setWorkflowType

      public ScheduleListInfo.Builder setWorkflowType(WorkflowType.Builder builderForValue)
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • mergeWorkflowType

      public ScheduleListInfo.Builder mergeWorkflowType(WorkflowType value)
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • clearWorkflowType

      public ScheduleListInfo.Builder clearWorkflowType()
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • getWorkflowTypeBuilder

      public WorkflowType.Builder getWorkflowTypeBuilder()
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • getWorkflowTypeOrBuilder

      public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
       From action:
       Action is a oneof field, but we need to encode this in JSON and oneof fields don't work
       well with JSON. If action is start_workflow, this is set:
       
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Specified by:
      getWorkflowTypeOrBuilder in interface ScheduleListInfoOrBuilder
    • getNotes

      public String getNotes()
       From state:
       
      string notes = 3;
      Specified by:
      getNotes in interface ScheduleListInfoOrBuilder
      Returns:
      The notes.
    • getNotesBytes

      public com.google.protobuf.ByteString getNotesBytes()
       From state:
       
      string notes = 3;
      Specified by:
      getNotesBytes in interface ScheduleListInfoOrBuilder
      Returns:
      The bytes for notes.
    • setNotes

      public ScheduleListInfo.Builder setNotes(String value)
       From state:
       
      string notes = 3;
      Parameters:
      value - The notes to set.
      Returns:
      This builder for chaining.
    • clearNotes

      public ScheduleListInfo.Builder clearNotes()
       From state:
       
      string notes = 3;
      Returns:
      This builder for chaining.
    • setNotesBytes

      public ScheduleListInfo.Builder setNotesBytes(com.google.protobuf.ByteString value)
       From state:
       
      string notes = 3;
      Parameters:
      value - The bytes for notes to set.
      Returns:
      This builder for chaining.
    • getPaused

      public boolean getPaused()
      bool paused = 4;
      Specified by:
      getPaused in interface ScheduleListInfoOrBuilder
      Returns:
      The paused.
    • setPaused

      public ScheduleListInfo.Builder setPaused(boolean value)
      bool paused = 4;
      Parameters:
      value - The paused to set.
      Returns:
      This builder for chaining.
    • clearPaused

      public ScheduleListInfo.Builder clearPaused()
      bool paused = 4;
      Returns:
      This builder for chaining.
    • getRecentActionsList

      public List<ScheduleActionResult> getRecentActionsList()
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
      Specified by:
      getRecentActionsList in interface ScheduleListInfoOrBuilder
    • getRecentActionsCount

      public int getRecentActionsCount()
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
      Specified by:
      getRecentActionsCount in interface ScheduleListInfoOrBuilder
    • getRecentActions

      public ScheduleActionResult getRecentActions(int index)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
      Specified by:
      getRecentActions in interface ScheduleListInfoOrBuilder
    • setRecentActions

      public ScheduleListInfo.Builder setRecentActions(int index, ScheduleActionResult value)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • setRecentActions

      public ScheduleListInfo.Builder setRecentActions(int index, ScheduleActionResult.Builder builderForValue)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • addRecentActions

      public ScheduleListInfo.Builder addRecentActions(ScheduleActionResult value)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • addRecentActions

      public ScheduleListInfo.Builder addRecentActions(int index, ScheduleActionResult value)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • addRecentActions

      public ScheduleListInfo.Builder addRecentActions(ScheduleActionResult.Builder builderForValue)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • addRecentActions

      public ScheduleListInfo.Builder addRecentActions(int index, ScheduleActionResult.Builder builderForValue)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • addAllRecentActions

      public ScheduleListInfo.Builder addAllRecentActions(Iterable<? extends ScheduleActionResult> values)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • clearRecentActions

      public ScheduleListInfo.Builder clearRecentActions()
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • removeRecentActions

      public ScheduleListInfo.Builder removeRecentActions(int index)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • getRecentActionsBuilder

      public ScheduleActionResult.Builder getRecentActionsBuilder(int index)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • getRecentActionsOrBuilder

      public ScheduleActionResultOrBuilder getRecentActionsOrBuilder(int index)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
      Specified by:
      getRecentActionsOrBuilder in interface ScheduleListInfoOrBuilder
    • getRecentActionsOrBuilderList

      public List<? extends ScheduleActionResultOrBuilder> getRecentActionsOrBuilderList()
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
      Specified by:
      getRecentActionsOrBuilderList in interface ScheduleListInfoOrBuilder
    • addRecentActionsBuilder

      public ScheduleActionResult.Builder addRecentActionsBuilder()
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • addRecentActionsBuilder

      public ScheduleActionResult.Builder addRecentActionsBuilder(int index)
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • getRecentActionsBuilderList

      public List<ScheduleActionResult.Builder> getRecentActionsBuilderList()
       From info (maybe fewer entries):
       
      repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
    • getFutureActionTimesList

      public List<com.google.protobuf.Timestamp> getFutureActionTimesList()
      repeated .google.protobuf.Timestamp future_action_times = 6;
      Specified by:
      getFutureActionTimesList in interface ScheduleListInfoOrBuilder
    • getFutureActionTimesCount

      public int getFutureActionTimesCount()
      repeated .google.protobuf.Timestamp future_action_times = 6;
      Specified by:
      getFutureActionTimesCount in interface ScheduleListInfoOrBuilder
    • getFutureActionTimes

      public com.google.protobuf.Timestamp getFutureActionTimes(int index)
      repeated .google.protobuf.Timestamp future_action_times = 6;
      Specified by:
      getFutureActionTimes in interface ScheduleListInfoOrBuilder
    • setFutureActionTimes

      public ScheduleListInfo.Builder setFutureActionTimes(int index, com.google.protobuf.Timestamp value)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • setFutureActionTimes

      public ScheduleListInfo.Builder setFutureActionTimes(int index, com.google.protobuf.Timestamp.Builder builderForValue)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • addFutureActionTimes

      public ScheduleListInfo.Builder addFutureActionTimes(com.google.protobuf.Timestamp value)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • addFutureActionTimes

      public ScheduleListInfo.Builder addFutureActionTimes(int index, com.google.protobuf.Timestamp value)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • addFutureActionTimes

      public ScheduleListInfo.Builder addFutureActionTimes(com.google.protobuf.Timestamp.Builder builderForValue)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • addFutureActionTimes

      public ScheduleListInfo.Builder addFutureActionTimes(int index, com.google.protobuf.Timestamp.Builder builderForValue)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • addAllFutureActionTimes

      public ScheduleListInfo.Builder addAllFutureActionTimes(Iterable<? extends com.google.protobuf.Timestamp> values)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • clearFutureActionTimes

      public ScheduleListInfo.Builder clearFutureActionTimes()
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • removeFutureActionTimes

      public ScheduleListInfo.Builder removeFutureActionTimes(int index)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • getFutureActionTimesBuilder

      public com.google.protobuf.Timestamp.Builder getFutureActionTimesBuilder(int index)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • getFutureActionTimesOrBuilder

      public com.google.protobuf.TimestampOrBuilder getFutureActionTimesOrBuilder(int index)
      repeated .google.protobuf.Timestamp future_action_times = 6;
      Specified by:
      getFutureActionTimesOrBuilder in interface ScheduleListInfoOrBuilder
    • getFutureActionTimesOrBuilderList

      public List<? extends com.google.protobuf.TimestampOrBuilder> getFutureActionTimesOrBuilderList()
      repeated .google.protobuf.Timestamp future_action_times = 6;
      Specified by:
      getFutureActionTimesOrBuilderList in interface ScheduleListInfoOrBuilder
    • addFutureActionTimesBuilder

      public com.google.protobuf.Timestamp.Builder addFutureActionTimesBuilder()
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • addFutureActionTimesBuilder

      public com.google.protobuf.Timestamp.Builder addFutureActionTimesBuilder(int index)
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • getFutureActionTimesBuilderList

      public List<com.google.protobuf.Timestamp.Builder> getFutureActionTimesBuilderList()
      repeated .google.protobuf.Timestamp future_action_times = 6;
    • getStateSizeBytes

      public long getStateSizeBytes()
       Size of the schedule's internal state (including payloads) in bytes.
       
      int64 state_size_bytes = 7;
      Specified by:
      getStateSizeBytes in interface ScheduleListInfoOrBuilder
      Returns:
      The stateSizeBytes.
    • setStateSizeBytes

      public ScheduleListInfo.Builder setStateSizeBytes(long value)
       Size of the schedule's internal state (including payloads) in bytes.
       
      int64 state_size_bytes = 7;
      Parameters:
      value - The stateSizeBytes to set.
      Returns:
      This builder for chaining.
    • clearStateSizeBytes

      public ScheduleListInfo.Builder clearStateSizeBytes()
       Size of the schedule's internal state (including payloads) in bytes.
       
      int64 state_size_bytes = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ScheduleListInfo.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<ScheduleListInfo.Builder>
    • mergeUnknownFields

      public final ScheduleListInfo.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<ScheduleListInfo.Builder>