Class ScheduleListInfo.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScheduleListInfoOrBuilder, java.lang.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 Detail

      • 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,
                                                 java.lang.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,
                                                         java.lang.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,
                                                         java.lang.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>
      • 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 java.io.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:
        java.io.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;
      • 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;
      • 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
      • 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​(java.lang.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.
      • setPaused

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

        public int getRecentActionsCount()
         From info (maybe fewer entries):
         
        repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
        Specified by:
        getRecentActionsCount 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;
      • addRecentActions

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

        public ScheduleListInfo.Builder addAllRecentActions​(java.lang.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;
      • 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 java.util.List<ScheduleActionResult.Builder> getRecentActionsBuilderList()
         From info (maybe fewer entries):
         
        repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 5;
      • getFutureActionTimesList

        public java.util.List<com.google.protobuf.Timestamp> getFutureActionTimesList()
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
        Specified by:
        getFutureActionTimesList in interface ScheduleListInfoOrBuilder
      • getFutureActionTimes

        public com.google.protobuf.Timestamp getFutureActionTimes​(int index)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
        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 [(.gogoproto.stdtime) = true];
      • setFutureActionTimes

        public ScheduleListInfo.Builder setFutureActionTimes​(int index,
                                                             com.google.protobuf.Timestamp.Builder builderForValue)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • addFutureActionTimes

        public ScheduleListInfo.Builder addFutureActionTimes​(com.google.protobuf.Timestamp value)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • addFutureActionTimes

        public ScheduleListInfo.Builder addFutureActionTimes​(int index,
                                                             com.google.protobuf.Timestamp value)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • addFutureActionTimes

        public ScheduleListInfo.Builder addFutureActionTimes​(com.google.protobuf.Timestamp.Builder builderForValue)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • addFutureActionTimes

        public ScheduleListInfo.Builder addFutureActionTimes​(int index,
                                                             com.google.protobuf.Timestamp.Builder builderForValue)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • addAllFutureActionTimes

        public ScheduleListInfo.Builder addAllFutureActionTimes​(java.lang.Iterable<? extends com.google.protobuf.Timestamp> values)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • clearFutureActionTimes

        public ScheduleListInfo.Builder clearFutureActionTimes()
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • removeFutureActionTimes

        public ScheduleListInfo.Builder removeFutureActionTimes​(int index)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • getFutureActionTimesBuilder

        public com.google.protobuf.Timestamp.Builder getFutureActionTimesBuilder​(int index)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • getFutureActionTimesOrBuilder

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

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

        public com.google.protobuf.Timestamp.Builder addFutureActionTimesBuilder()
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • addFutureActionTimesBuilder

        public com.google.protobuf.Timestamp.Builder addFutureActionTimesBuilder​(int index)
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • getFutureActionTimesBuilderList

        public java.util.List<com.google.protobuf.Timestamp.Builder> getFutureActionTimesBuilderList()
        repeated .google.protobuf.Timestamp future_action_times = 6 [(.gogoproto.stdtime) = true];
      • 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>