Package io.temporal.api.schedule.v1
Class ScheduleSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
- io.temporal.api.schedule.v1.ScheduleSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScheduleSpecOrBuilder,java.lang.Cloneable
- Enclosing class:
- ScheduleSpec
public static final class ScheduleSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder> implements ScheduleSpecOrBuilder
ScheduleSpec is a complete description of a set of absolute timestamps (possibly infinite) that an action should occur at. The meaning of a ScheduleSpec depends only on its contents and never changes, except that the definition of a time zone can change over time (most commonly, when daylight saving time policy changes for an area). To create a totally self-contained ScheduleSpec, use UTC or include timezone_data. For input, you can provide zero or more of: structured_calendar, calendar, cron_string, interval, and exclude_structured_calendar, and all of them will be used (the schedule will take action at the union of all of their times, minus the ones that match exclude_structured_calendar). On input, calendar and cron_string fields will be compiled into structured_calendar (and maybe interval and timezone_name), so if you Describe a schedule, you'll see only structured_calendar, interval, etc.
Protobuf typetemporal.api.schedule.v1.ScheduleSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ScheduleSpec.BuilderaddAllCalendar(java.lang.Iterable<? extends CalendarSpec> values)Calendar-based specifications of times.ScheduleSpec.BuilderaddAllCronString(java.lang.Iterable<java.lang.String> values)cron_string holds a traditional cron specification as a string.ScheduleSpec.BuilderaddAllExcludeCalendar(java.lang.Iterable<? extends CalendarSpec> values)Deprecated.ScheduleSpec.BuilderaddAllExcludeStructuredCalendar(java.lang.Iterable<? extends StructuredCalendarSpec> values)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderaddAllInterval(java.lang.Iterable<? extends IntervalSpec> values)Interval-based specifications of times.ScheduleSpec.BuilderaddAllStructuredCalendar(java.lang.Iterable<? extends StructuredCalendarSpec> values)Calendar-based specifications of times.ScheduleSpec.BuilderaddCalendar(int index, CalendarSpec value)Calendar-based specifications of times.ScheduleSpec.BuilderaddCalendar(int index, CalendarSpec.Builder builderForValue)Calendar-based specifications of times.ScheduleSpec.BuilderaddCalendar(CalendarSpec value)Calendar-based specifications of times.ScheduleSpec.BuilderaddCalendar(CalendarSpec.Builder builderForValue)Calendar-based specifications of times.CalendarSpec.BuilderaddCalendarBuilder()Calendar-based specifications of times.CalendarSpec.BuilderaddCalendarBuilder(int index)Calendar-based specifications of times.ScheduleSpec.BuilderaddCronString(java.lang.String value)cron_string holds a traditional cron specification as a string.ScheduleSpec.BuilderaddCronStringBytes(com.google.protobuf.ByteString value)cron_string holds a traditional cron specification as a string.ScheduleSpec.BuilderaddExcludeCalendar(int index, CalendarSpec value)Deprecated.ScheduleSpec.BuilderaddExcludeCalendar(int index, CalendarSpec.Builder builderForValue)Deprecated.ScheduleSpec.BuilderaddExcludeCalendar(CalendarSpec value)Deprecated.ScheduleSpec.BuilderaddExcludeCalendar(CalendarSpec.Builder builderForValue)Deprecated.CalendarSpec.BuilderaddExcludeCalendarBuilder()Deprecated.CalendarSpec.BuilderaddExcludeCalendarBuilder(int index)Deprecated.ScheduleSpec.BuilderaddExcludeStructuredCalendar(int index, StructuredCalendarSpec value)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderaddExcludeStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderaddExcludeStructuredCalendar(StructuredCalendarSpec value)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderaddExcludeStructuredCalendar(StructuredCalendarSpec.Builder builderForValue)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;StructuredCalendarSpec.BuilderaddExcludeStructuredCalendarBuilder()repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;StructuredCalendarSpec.BuilderaddExcludeStructuredCalendarBuilder(int index)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderaddInterval(int index, IntervalSpec value)Interval-based specifications of times.ScheduleSpec.BuilderaddInterval(int index, IntervalSpec.Builder builderForValue)Interval-based specifications of times.ScheduleSpec.BuilderaddInterval(IntervalSpec value)Interval-based specifications of times.ScheduleSpec.BuilderaddInterval(IntervalSpec.Builder builderForValue)Interval-based specifications of times.IntervalSpec.BuilderaddIntervalBuilder()Interval-based specifications of times.IntervalSpec.BuilderaddIntervalBuilder(int index)Interval-based specifications of times.ScheduleSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ScheduleSpec.BuilderaddStructuredCalendar(int index, StructuredCalendarSpec value)Calendar-based specifications of times.ScheduleSpec.BuilderaddStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)Calendar-based specifications of times.ScheduleSpec.BuilderaddStructuredCalendar(StructuredCalendarSpec value)Calendar-based specifications of times.ScheduleSpec.BuilderaddStructuredCalendar(StructuredCalendarSpec.Builder builderForValue)Calendar-based specifications of times.StructuredCalendarSpec.BuilderaddStructuredCalendarBuilder()Calendar-based specifications of times.StructuredCalendarSpec.BuilderaddStructuredCalendarBuilder(int index)Calendar-based specifications of times.ScheduleSpecbuild()ScheduleSpecbuildPartial()ScheduleSpec.Builderclear()ScheduleSpec.BuilderclearCalendar()Calendar-based specifications of times.ScheduleSpec.BuilderclearCronString()cron_string holds a traditional cron specification as a string.ScheduleSpec.BuilderclearEndTime()If end_time is set, any timestamps after end_time will be skipped.ScheduleSpec.BuilderclearExcludeCalendar()Deprecated.ScheduleSpec.BuilderclearExcludeStructuredCalendar()repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ScheduleSpec.BuilderclearInterval()Interval-based specifications of times.ScheduleSpec.BuilderclearJitter()All timestamps will be incremented by a random value from 0 to this amount of jitter.ScheduleSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ScheduleSpec.BuilderclearStartTime()If start_time is set, any timestamps before start_time will be skipped.ScheduleSpec.BuilderclearStructuredCalendar()Calendar-based specifications of times.ScheduleSpec.BuilderclearTimezoneData()bytes timezone_data = 11;ScheduleSpec.BuilderclearTimezoneName()Time zone to interpret all calendar-based specs in.ScheduleSpec.Builderclone()CalendarSpecgetCalendar(int index)Calendar-based specifications of times.CalendarSpec.BuildergetCalendarBuilder(int index)Calendar-based specifications of times.java.util.List<CalendarSpec.Builder>getCalendarBuilderList()Calendar-based specifications of times.intgetCalendarCount()Calendar-based specifications of times.java.util.List<CalendarSpec>getCalendarList()Calendar-based specifications of times.CalendarSpecOrBuildergetCalendarOrBuilder(int index)Calendar-based specifications of times.java.util.List<? extends CalendarSpecOrBuilder>getCalendarOrBuilderList()Calendar-based specifications of times.java.lang.StringgetCronString(int index)cron_string holds a traditional cron specification as a string.com.google.protobuf.ByteStringgetCronStringBytes(int index)cron_string holds a traditional cron specification as a string.intgetCronStringCount()cron_string holds a traditional cron specification as a string.com.google.protobuf.ProtocolStringListgetCronStringList()cron_string holds a traditional cron specification as a string.ScheduleSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()If end_time is set, any timestamps after end_time will be skipped.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()If end_time is set, any timestamps after end_time will be skipped.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()If end_time is set, any timestamps after end_time will be skipped.CalendarSpecgetExcludeCalendar(int index)Deprecated.CalendarSpec.BuildergetExcludeCalendarBuilder(int index)Deprecated.java.util.List<CalendarSpec.Builder>getExcludeCalendarBuilderList()Deprecated.intgetExcludeCalendarCount()Deprecated.java.util.List<CalendarSpec>getExcludeCalendarList()Deprecated.CalendarSpecOrBuildergetExcludeCalendarOrBuilder(int index)Deprecated.java.util.List<? extends CalendarSpecOrBuilder>getExcludeCalendarOrBuilderList()Deprecated.StructuredCalendarSpecgetExcludeStructuredCalendar(int index)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;StructuredCalendarSpec.BuildergetExcludeStructuredCalendarBuilder(int index)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;java.util.List<StructuredCalendarSpec.Builder>getExcludeStructuredCalendarBuilderList()repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;intgetExcludeStructuredCalendarCount()repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;java.util.List<StructuredCalendarSpec>getExcludeStructuredCalendarList()repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;StructuredCalendarSpecOrBuildergetExcludeStructuredCalendarOrBuilder(int index)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;java.util.List<? extends StructuredCalendarSpecOrBuilder>getExcludeStructuredCalendarOrBuilderList()repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;IntervalSpecgetInterval(int index)Interval-based specifications of times.IntervalSpec.BuildergetIntervalBuilder(int index)Interval-based specifications of times.java.util.List<IntervalSpec.Builder>getIntervalBuilderList()Interval-based specifications of times.intgetIntervalCount()Interval-based specifications of times.java.util.List<IntervalSpec>getIntervalList()Interval-based specifications of times.IntervalSpecOrBuildergetIntervalOrBuilder(int index)Interval-based specifications of times.java.util.List<? extends IntervalSpecOrBuilder>getIntervalOrBuilderList()Interval-based specifications of times.com.google.protobuf.DurationgetJitter()All timestamps will be incremented by a random value from 0 to this amount of jitter.com.google.protobuf.Duration.BuildergetJitterBuilder()All timestamps will be incremented by a random value from 0 to this amount of jitter.com.google.protobuf.DurationOrBuildergetJitterOrBuilder()All timestamps will be incremented by a random value from 0 to this amount of jitter.com.google.protobuf.TimestampgetStartTime()If start_time is set, any timestamps before start_time will be skipped.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()If start_time is set, any timestamps before start_time will be skipped.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()If start_time is set, any timestamps before start_time will be skipped.StructuredCalendarSpecgetStructuredCalendar(int index)Calendar-based specifications of times.StructuredCalendarSpec.BuildergetStructuredCalendarBuilder(int index)Calendar-based specifications of times.java.util.List<StructuredCalendarSpec.Builder>getStructuredCalendarBuilderList()Calendar-based specifications of times.intgetStructuredCalendarCount()Calendar-based specifications of times.java.util.List<StructuredCalendarSpec>getStructuredCalendarList()Calendar-based specifications of times.StructuredCalendarSpecOrBuildergetStructuredCalendarOrBuilder(int index)Calendar-based specifications of times.java.util.List<? extends StructuredCalendarSpecOrBuilder>getStructuredCalendarOrBuilderList()Calendar-based specifications of times.com.google.protobuf.ByteStringgetTimezoneData()bytes timezone_data = 11;java.lang.StringgetTimezoneName()Time zone to interpret all calendar-based specs in.com.google.protobuf.ByteStringgetTimezoneNameBytes()Time zone to interpret all calendar-based specs in.booleanhasEndTime()If end_time is set, any timestamps after end_time will be skipped.booleanhasJitter()All timestamps will be incremented by a random value from 0 to this amount of jitter.booleanhasStartTime()If start_time is set, any timestamps before start_time will be skipped.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ScheduleSpec.BuildermergeEndTime(com.google.protobuf.Timestamp value)If end_time is set, any timestamps after end_time will be skipped.ScheduleSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ScheduleSpec.BuildermergeFrom(com.google.protobuf.Message other)ScheduleSpec.BuildermergeFrom(ScheduleSpec other)ScheduleSpec.BuildermergeJitter(com.google.protobuf.Duration value)All timestamps will be incremented by a random value from 0 to this amount of jitter.ScheduleSpec.BuildermergeStartTime(com.google.protobuf.Timestamp value)If start_time is set, any timestamps before start_time will be skipped.ScheduleSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ScheduleSpec.BuilderremoveCalendar(int index)Calendar-based specifications of times.ScheduleSpec.BuilderremoveExcludeCalendar(int index)Deprecated.ScheduleSpec.BuilderremoveExcludeStructuredCalendar(int index)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuilderremoveInterval(int index)Interval-based specifications of times.ScheduleSpec.BuilderremoveStructuredCalendar(int index)Calendar-based specifications of times.ScheduleSpec.BuildersetCalendar(int index, CalendarSpec value)Calendar-based specifications of times.ScheduleSpec.BuildersetCalendar(int index, CalendarSpec.Builder builderForValue)Calendar-based specifications of times.ScheduleSpec.BuildersetCronString(int index, java.lang.String value)cron_string holds a traditional cron specification as a string.ScheduleSpec.BuildersetEndTime(com.google.protobuf.Timestamp value)If end_time is set, any timestamps after end_time will be skipped.ScheduleSpec.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)If end_time is set, any timestamps after end_time will be skipped.ScheduleSpec.BuildersetExcludeCalendar(int index, CalendarSpec value)Deprecated.ScheduleSpec.BuildersetExcludeCalendar(int index, CalendarSpec.Builder builderForValue)Deprecated.ScheduleSpec.BuildersetExcludeStructuredCalendar(int index, StructuredCalendarSpec value)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuildersetExcludeStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;ScheduleSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ScheduleSpec.BuildersetInterval(int index, IntervalSpec value)Interval-based specifications of times.ScheduleSpec.BuildersetInterval(int index, IntervalSpec.Builder builderForValue)Interval-based specifications of times.ScheduleSpec.BuildersetJitter(com.google.protobuf.Duration value)All timestamps will be incremented by a random value from 0 to this amount of jitter.ScheduleSpec.BuildersetJitter(com.google.protobuf.Duration.Builder builderForValue)All timestamps will be incremented by a random value from 0 to this amount of jitter.ScheduleSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ScheduleSpec.BuildersetStartTime(com.google.protobuf.Timestamp value)If start_time is set, any timestamps before start_time will be skipped.ScheduleSpec.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)If start_time is set, any timestamps before start_time will be skipped.ScheduleSpec.BuildersetStructuredCalendar(int index, StructuredCalendarSpec value)Calendar-based specifications of times.ScheduleSpec.BuildersetStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)Calendar-based specifications of times.ScheduleSpec.BuildersetTimezoneData(com.google.protobuf.ByteString value)bytes timezone_data = 11;ScheduleSpec.BuildersetTimezoneName(java.lang.String value)Time zone to interpret all calendar-based specs in.ScheduleSpec.BuildersetTimezoneNameBytes(com.google.protobuf.ByteString value)Time zone to interpret all calendar-based specs in.ScheduleSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
clear
public ScheduleSpec.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
getDefaultInstanceForType
public ScheduleSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScheduleSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScheduleSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScheduleSpec.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
setField
public ScheduleSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
clearField
public ScheduleSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
clearOneof
public ScheduleSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
setRepeatedField
public ScheduleSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
addRepeatedField
public ScheduleSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
mergeFrom
public ScheduleSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScheduleSpec.Builder>
-
mergeFrom
public ScheduleSpec.Builder mergeFrom(ScheduleSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
mergeFrom
public ScheduleSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScheduleSpec.Builder>- Throws:
java.io.IOException
-
getStructuredCalendarList
public java.util.List<StructuredCalendarSpec> getStructuredCalendarList()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;- Specified by:
getStructuredCalendarListin interfaceScheduleSpecOrBuilder
-
getStructuredCalendarCount
public int getStructuredCalendarCount()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;- Specified by:
getStructuredCalendarCountin interfaceScheduleSpecOrBuilder
-
getStructuredCalendar
public StructuredCalendarSpec getStructuredCalendar(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;- Specified by:
getStructuredCalendarin interfaceScheduleSpecOrBuilder
-
setStructuredCalendar
public ScheduleSpec.Builder setStructuredCalendar(int index, StructuredCalendarSpec value)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
setStructuredCalendar
public ScheduleSpec.Builder setStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
addStructuredCalendar
public ScheduleSpec.Builder addStructuredCalendar(StructuredCalendarSpec value)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
addStructuredCalendar
public ScheduleSpec.Builder addStructuredCalendar(int index, StructuredCalendarSpec value)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
addStructuredCalendar
public ScheduleSpec.Builder addStructuredCalendar(StructuredCalendarSpec.Builder builderForValue)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
addStructuredCalendar
public ScheduleSpec.Builder addStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
addAllStructuredCalendar
public ScheduleSpec.Builder addAllStructuredCalendar(java.lang.Iterable<? extends StructuredCalendarSpec> values)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
clearStructuredCalendar
public ScheduleSpec.Builder clearStructuredCalendar()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
removeStructuredCalendar
public ScheduleSpec.Builder removeStructuredCalendar(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
getStructuredCalendarBuilder
public StructuredCalendarSpec.Builder getStructuredCalendarBuilder(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
getStructuredCalendarOrBuilder
public StructuredCalendarSpecOrBuilder getStructuredCalendarOrBuilder(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;- Specified by:
getStructuredCalendarOrBuilderin interfaceScheduleSpecOrBuilder
-
getStructuredCalendarOrBuilderList
public java.util.List<? extends StructuredCalendarSpecOrBuilder> getStructuredCalendarOrBuilderList()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;- Specified by:
getStructuredCalendarOrBuilderListin interfaceScheduleSpecOrBuilder
-
addStructuredCalendarBuilder
public StructuredCalendarSpec.Builder addStructuredCalendarBuilder()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
addStructuredCalendarBuilder
public StructuredCalendarSpec.Builder addStructuredCalendarBuilder(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
getStructuredCalendarBuilderList
public java.util.List<StructuredCalendarSpec.Builder> getStructuredCalendarBuilderList()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.StructuredCalendarSpec structured_calendar = 7;
-
getCronStringList
public com.google.protobuf.ProtocolStringList getCronStringList()
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Specified by:
getCronStringListin interfaceScheduleSpecOrBuilder- Returns:
- A list containing the cronString.
-
getCronStringCount
public int getCronStringCount()
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Specified by:
getCronStringCountin interfaceScheduleSpecOrBuilder- Returns:
- The count of cronString.
-
getCronString
public java.lang.String getCronString(int index)
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Specified by:
getCronStringin interfaceScheduleSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The cronString at the given index.
-
getCronStringBytes
public com.google.protobuf.ByteString getCronStringBytes(int index)
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Specified by:
getCronStringBytesin interfaceScheduleSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cronString at the given index.
-
setCronString
public ScheduleSpec.Builder setCronString(int index, java.lang.String value)
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Parameters:
index- The index to set the value at.value- The cronString to set.- Returns:
- This builder for chaining.
-
addCronString
public ScheduleSpec.Builder addCronString(java.lang.String value)
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Parameters:
value- The cronString to add.- Returns:
- This builder for chaining.
-
addAllCronString
public ScheduleSpec.Builder addAllCronString(java.lang.Iterable<java.lang.String> values)
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Parameters:
values- The cronString to add.- Returns:
- This builder for chaining.
-
clearCronString
public ScheduleSpec.Builder clearCronString()
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Returns:
- This builder for chaining.
-
addCronStringBytes
public ScheduleSpec.Builder addCronStringBytes(com.google.protobuf.ByteString value)
cron_string holds a traditional cron specification as a string. It accepts 5, 6, or 7 fields, separated by spaces, and interprets them the same way as CalendarSpec. 5 fields: minute, hour, day_of_month, month, day_of_week 6 fields: minute, hour, day_of_month, month, day_of_week, year 7 fields: second, minute, hour, day_of_month, month, day_of_week, year If year is not given, it defaults to *. If second is not given, it defaults to 0. Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also accepted instead of the 5-7 time fields. Optionally, the string can be preceded by CRON_TZ=<timezone name> or TZ=<timezone name>, which will get copied to timezone_name. (There must not also be a timezone_name present.) Optionally "#" followed by a comment can appear at the end of the string. Note that the special case that some cron implementations have for treating day_of_month and day_of_week as "or" instead of "and" when both are set is not implemented. @every <interval>[/<phase>] is accepted and gets compiled into an IntervalSpec instead. <interval> and <phase> should be a decimal integer with a unit suffix s, m, h, or d.
repeated string cron_string = 8;- Parameters:
value- The bytes of the cronString to add.- Returns:
- This builder for chaining.
-
getCalendarList
public java.util.List<CalendarSpec> getCalendarList()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;- Specified by:
getCalendarListin interfaceScheduleSpecOrBuilder
-
getCalendarCount
public int getCalendarCount()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;- Specified by:
getCalendarCountin interfaceScheduleSpecOrBuilder
-
getCalendar
public CalendarSpec getCalendar(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;- Specified by:
getCalendarin interfaceScheduleSpecOrBuilder
-
setCalendar
public ScheduleSpec.Builder setCalendar(int index, CalendarSpec value)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
setCalendar
public ScheduleSpec.Builder setCalendar(int index, CalendarSpec.Builder builderForValue)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
addCalendar
public ScheduleSpec.Builder addCalendar(CalendarSpec value)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
addCalendar
public ScheduleSpec.Builder addCalendar(int index, CalendarSpec value)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
addCalendar
public ScheduleSpec.Builder addCalendar(CalendarSpec.Builder builderForValue)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
addCalendar
public ScheduleSpec.Builder addCalendar(int index, CalendarSpec.Builder builderForValue)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
addAllCalendar
public ScheduleSpec.Builder addAllCalendar(java.lang.Iterable<? extends CalendarSpec> values)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
clearCalendar
public ScheduleSpec.Builder clearCalendar()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
removeCalendar
public ScheduleSpec.Builder removeCalendar(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
getCalendarBuilder
public CalendarSpec.Builder getCalendarBuilder(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
getCalendarOrBuilder
public CalendarSpecOrBuilder getCalendarOrBuilder(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;- Specified by:
getCalendarOrBuilderin interfaceScheduleSpecOrBuilder
-
getCalendarOrBuilderList
public java.util.List<? extends CalendarSpecOrBuilder> getCalendarOrBuilderList()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;- Specified by:
getCalendarOrBuilderListin interfaceScheduleSpecOrBuilder
-
addCalendarBuilder
public CalendarSpec.Builder addCalendarBuilder()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
addCalendarBuilder
public CalendarSpec.Builder addCalendarBuilder(int index)
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
getCalendarBuilderList
public java.util.List<CalendarSpec.Builder> getCalendarBuilderList()
Calendar-based specifications of times.
repeated .temporal.api.schedule.v1.CalendarSpec calendar = 1;
-
getIntervalList
public java.util.List<IntervalSpec> getIntervalList()
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;- Specified by:
getIntervalListin interfaceScheduleSpecOrBuilder
-
getIntervalCount
public int getIntervalCount()
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;- Specified by:
getIntervalCountin interfaceScheduleSpecOrBuilder
-
getInterval
public IntervalSpec getInterval(int index)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;- Specified by:
getIntervalin interfaceScheduleSpecOrBuilder
-
setInterval
public ScheduleSpec.Builder setInterval(int index, IntervalSpec value)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
setInterval
public ScheduleSpec.Builder setInterval(int index, IntervalSpec.Builder builderForValue)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
addInterval
public ScheduleSpec.Builder addInterval(IntervalSpec value)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
addInterval
public ScheduleSpec.Builder addInterval(int index, IntervalSpec value)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
addInterval
public ScheduleSpec.Builder addInterval(IntervalSpec.Builder builderForValue)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
addInterval
public ScheduleSpec.Builder addInterval(int index, IntervalSpec.Builder builderForValue)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
addAllInterval
public ScheduleSpec.Builder addAllInterval(java.lang.Iterable<? extends IntervalSpec> values)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
clearInterval
public ScheduleSpec.Builder clearInterval()
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
removeInterval
public ScheduleSpec.Builder removeInterval(int index)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
getIntervalBuilder
public IntervalSpec.Builder getIntervalBuilder(int index)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
getIntervalOrBuilder
public IntervalSpecOrBuilder getIntervalOrBuilder(int index)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;- Specified by:
getIntervalOrBuilderin interfaceScheduleSpecOrBuilder
-
getIntervalOrBuilderList
public java.util.List<? extends IntervalSpecOrBuilder> getIntervalOrBuilderList()
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;- Specified by:
getIntervalOrBuilderListin interfaceScheduleSpecOrBuilder
-
addIntervalBuilder
public IntervalSpec.Builder addIntervalBuilder()
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
addIntervalBuilder
public IntervalSpec.Builder addIntervalBuilder(int index)
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
getIntervalBuilderList
public java.util.List<IntervalSpec.Builder> getIntervalBuilderList()
Interval-based specifications of times.
repeated .temporal.api.schedule.v1.IntervalSpec interval = 2;
-
getExcludeCalendarList
@Deprecated public java.util.List<CalendarSpec> getExcludeCalendarList()
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];- Specified by:
getExcludeCalendarListin interfaceScheduleSpecOrBuilder
-
getExcludeCalendarCount
@Deprecated public int getExcludeCalendarCount()
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];- Specified by:
getExcludeCalendarCountin interfaceScheduleSpecOrBuilder
-
getExcludeCalendar
@Deprecated public CalendarSpec getExcludeCalendar(int index)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];- Specified by:
getExcludeCalendarin interfaceScheduleSpecOrBuilder
-
setExcludeCalendar
@Deprecated public ScheduleSpec.Builder setExcludeCalendar(int index, CalendarSpec value)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
setExcludeCalendar
@Deprecated public ScheduleSpec.Builder setExcludeCalendar(int index, CalendarSpec.Builder builderForValue)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
addExcludeCalendar
@Deprecated public ScheduleSpec.Builder addExcludeCalendar(CalendarSpec value)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
addExcludeCalendar
@Deprecated public ScheduleSpec.Builder addExcludeCalendar(int index, CalendarSpec value)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
addExcludeCalendar
@Deprecated public ScheduleSpec.Builder addExcludeCalendar(CalendarSpec.Builder builderForValue)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
addExcludeCalendar
@Deprecated public ScheduleSpec.Builder addExcludeCalendar(int index, CalendarSpec.Builder builderForValue)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
addAllExcludeCalendar
@Deprecated public ScheduleSpec.Builder addAllExcludeCalendar(java.lang.Iterable<? extends CalendarSpec> values)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
clearExcludeCalendar
@Deprecated public ScheduleSpec.Builder clearExcludeCalendar()
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
removeExcludeCalendar
@Deprecated public ScheduleSpec.Builder removeExcludeCalendar(int index)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
getExcludeCalendarBuilder
@Deprecated public CalendarSpec.Builder getExcludeCalendarBuilder(int index)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
getExcludeCalendarOrBuilder
@Deprecated public CalendarSpecOrBuilder getExcludeCalendarOrBuilder(int index)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];- Specified by:
getExcludeCalendarOrBuilderin interfaceScheduleSpecOrBuilder
-
getExcludeCalendarOrBuilderList
@Deprecated public java.util.List<? extends CalendarSpecOrBuilder> getExcludeCalendarOrBuilderList()
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];- Specified by:
getExcludeCalendarOrBuilderListin interfaceScheduleSpecOrBuilder
-
addExcludeCalendarBuilder
@Deprecated public CalendarSpec.Builder addExcludeCalendarBuilder()
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
addExcludeCalendarBuilder
@Deprecated public CalendarSpec.Builder addExcludeCalendarBuilder(int index)
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
getExcludeCalendarBuilderList
@Deprecated public java.util.List<CalendarSpec.Builder> getExcludeCalendarBuilderList()
Deprecated.Any timestamps matching any of exclude_* will be skipped.
repeated .temporal.api.schedule.v1.CalendarSpec exclude_calendar = 3 [deprecated = true];
-
getExcludeStructuredCalendarList
public java.util.List<StructuredCalendarSpec> getExcludeStructuredCalendarList()
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;- Specified by:
getExcludeStructuredCalendarListin interfaceScheduleSpecOrBuilder
-
getExcludeStructuredCalendarCount
public int getExcludeStructuredCalendarCount()
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;- Specified by:
getExcludeStructuredCalendarCountin interfaceScheduleSpecOrBuilder
-
getExcludeStructuredCalendar
public StructuredCalendarSpec getExcludeStructuredCalendar(int index)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;- Specified by:
getExcludeStructuredCalendarin interfaceScheduleSpecOrBuilder
-
setExcludeStructuredCalendar
public ScheduleSpec.Builder setExcludeStructuredCalendar(int index, StructuredCalendarSpec value)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
setExcludeStructuredCalendar
public ScheduleSpec.Builder setExcludeStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
addExcludeStructuredCalendar
public ScheduleSpec.Builder addExcludeStructuredCalendar(StructuredCalendarSpec value)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
addExcludeStructuredCalendar
public ScheduleSpec.Builder addExcludeStructuredCalendar(int index, StructuredCalendarSpec value)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
addExcludeStructuredCalendar
public ScheduleSpec.Builder addExcludeStructuredCalendar(StructuredCalendarSpec.Builder builderForValue)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
addExcludeStructuredCalendar
public ScheduleSpec.Builder addExcludeStructuredCalendar(int index, StructuredCalendarSpec.Builder builderForValue)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
addAllExcludeStructuredCalendar
public ScheduleSpec.Builder addAllExcludeStructuredCalendar(java.lang.Iterable<? extends StructuredCalendarSpec> values)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
clearExcludeStructuredCalendar
public ScheduleSpec.Builder clearExcludeStructuredCalendar()
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
removeExcludeStructuredCalendar
public ScheduleSpec.Builder removeExcludeStructuredCalendar(int index)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
getExcludeStructuredCalendarBuilder
public StructuredCalendarSpec.Builder getExcludeStructuredCalendarBuilder(int index)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
getExcludeStructuredCalendarOrBuilder
public StructuredCalendarSpecOrBuilder getExcludeStructuredCalendarOrBuilder(int index)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;- Specified by:
getExcludeStructuredCalendarOrBuilderin interfaceScheduleSpecOrBuilder
-
getExcludeStructuredCalendarOrBuilderList
public java.util.List<? extends StructuredCalendarSpecOrBuilder> getExcludeStructuredCalendarOrBuilderList()
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;- Specified by:
getExcludeStructuredCalendarOrBuilderListin interfaceScheduleSpecOrBuilder
-
addExcludeStructuredCalendarBuilder
public StructuredCalendarSpec.Builder addExcludeStructuredCalendarBuilder()
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
addExcludeStructuredCalendarBuilder
public StructuredCalendarSpec.Builder addExcludeStructuredCalendarBuilder(int index)
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
getExcludeStructuredCalendarBuilderList
public java.util.List<StructuredCalendarSpec.Builder> getExcludeStructuredCalendarBuilderList()
repeated .temporal.api.schedule.v1.StructuredCalendarSpec exclude_structured_calendar = 9;
-
hasStartTime
public boolean hasStartTime()
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];- Specified by:
hasStartTimein interfaceScheduleSpecOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];- Specified by:
getStartTimein interfaceScheduleSpecOrBuilder- Returns:
- The startTime.
-
setStartTime
public ScheduleSpec.Builder setStartTime(com.google.protobuf.Timestamp value)
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
-
setStartTime
public ScheduleSpec.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
-
mergeStartTime
public ScheduleSpec.Builder mergeStartTime(com.google.protobuf.Timestamp value)
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
-
clearStartTime
public ScheduleSpec.Builder clearStartTime()
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.)
.google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];- Specified by:
getStartTimeOrBuilderin interfaceScheduleSpecOrBuilder
-
hasEndTime
public boolean hasEndTime()
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];- Specified by:
hasEndTimein interfaceScheduleSpecOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];- Specified by:
getEndTimein interfaceScheduleSpecOrBuilder- Returns:
- The endTime.
-
setEndTime
public ScheduleSpec.Builder setEndTime(com.google.protobuf.Timestamp value)
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];
-
setEndTime
public ScheduleSpec.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];
-
mergeEndTime
public ScheduleSpec.Builder mergeEndTime(com.google.protobuf.Timestamp value)
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];
-
clearEndTime
public ScheduleSpec.Builder clearEndTime()
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
If end_time is set, any timestamps after end_time will be skipped.
.google.protobuf.Timestamp end_time = 5 [(.gogoproto.stdtime) = true];- Specified by:
getEndTimeOrBuilderin interfaceScheduleSpecOrBuilder
-
hasJitter
public boolean hasJitter()
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];- Specified by:
hasJitterin interfaceScheduleSpecOrBuilder- Returns:
- Whether the jitter field is set.
-
getJitter
public com.google.protobuf.Duration getJitter()
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];- Specified by:
getJitterin interfaceScheduleSpecOrBuilder- Returns:
- The jitter.
-
setJitter
public ScheduleSpec.Builder setJitter(com.google.protobuf.Duration value)
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];
-
setJitter
public ScheduleSpec.Builder setJitter(com.google.protobuf.Duration.Builder builderForValue)
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];
-
mergeJitter
public ScheduleSpec.Builder mergeJitter(com.google.protobuf.Duration value)
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];
-
clearJitter
public ScheduleSpec.Builder clearJitter()
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];
-
getJitterBuilder
public com.google.protobuf.Duration.Builder getJitterBuilder()
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];
-
getJitterOrBuilder
public com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0
.google.protobuf.Duration jitter = 6 [(.gogoproto.stdduration) = true];- Specified by:
getJitterOrBuilderin interfaceScheduleSpecOrBuilder
-
getTimezoneName
public java.lang.String getTimezoneName()
Time zone to interpret all calendar-based specs in. If unset, defaults to UTC. We recommend using UTC for your application if at all possible, to avoid various surprising properties of time zones. Time zones may be provided by name, corresponding to names in the IANA time zone database (see https://www.iana.org/time-zones). The definition will be loaded by the Temporal server from the environment it runs in. If your application requires more control over the time zone definition used, it may pass in a complete definition in the form of a TZif file from the time zone database. If present, this will be used instead of loading anything from the environment. You are then responsible for updating timezone_data when the definition changes. Calendar spec matching is based on literal matching of the clock time with no special handling of DST: if you write a calendar spec that fires at 2:30am and specify a time zone that follows DST, that action will not be triggered on the day that has no 2:30am. Similarly, an action that fires at 1:30am will be triggered twice on the day that has two 1:30s. Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).
string timezone_name = 10;- Specified by:
getTimezoneNamein interfaceScheduleSpecOrBuilder- Returns:
- The timezoneName.
-
getTimezoneNameBytes
public com.google.protobuf.ByteString getTimezoneNameBytes()
Time zone to interpret all calendar-based specs in. If unset, defaults to UTC. We recommend using UTC for your application if at all possible, to avoid various surprising properties of time zones. Time zones may be provided by name, corresponding to names in the IANA time zone database (see https://www.iana.org/time-zones). The definition will be loaded by the Temporal server from the environment it runs in. If your application requires more control over the time zone definition used, it may pass in a complete definition in the form of a TZif file from the time zone database. If present, this will be used instead of loading anything from the environment. You are then responsible for updating timezone_data when the definition changes. Calendar spec matching is based on literal matching of the clock time with no special handling of DST: if you write a calendar spec that fires at 2:30am and specify a time zone that follows DST, that action will not be triggered on the day that has no 2:30am. Similarly, an action that fires at 1:30am will be triggered twice on the day that has two 1:30s. Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).
string timezone_name = 10;- Specified by:
getTimezoneNameBytesin interfaceScheduleSpecOrBuilder- Returns:
- The bytes for timezoneName.
-
setTimezoneName
public ScheduleSpec.Builder setTimezoneName(java.lang.String value)
Time zone to interpret all calendar-based specs in. If unset, defaults to UTC. We recommend using UTC for your application if at all possible, to avoid various surprising properties of time zones. Time zones may be provided by name, corresponding to names in the IANA time zone database (see https://www.iana.org/time-zones). The definition will be loaded by the Temporal server from the environment it runs in. If your application requires more control over the time zone definition used, it may pass in a complete definition in the form of a TZif file from the time zone database. If present, this will be used instead of loading anything from the environment. You are then responsible for updating timezone_data when the definition changes. Calendar spec matching is based on literal matching of the clock time with no special handling of DST: if you write a calendar spec that fires at 2:30am and specify a time zone that follows DST, that action will not be triggered on the day that has no 2:30am. Similarly, an action that fires at 1:30am will be triggered twice on the day that has two 1:30s. Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).
string timezone_name = 10;- Parameters:
value- The timezoneName to set.- Returns:
- This builder for chaining.
-
clearTimezoneName
public ScheduleSpec.Builder clearTimezoneName()
Time zone to interpret all calendar-based specs in. If unset, defaults to UTC. We recommend using UTC for your application if at all possible, to avoid various surprising properties of time zones. Time zones may be provided by name, corresponding to names in the IANA time zone database (see https://www.iana.org/time-zones). The definition will be loaded by the Temporal server from the environment it runs in. If your application requires more control over the time zone definition used, it may pass in a complete definition in the form of a TZif file from the time zone database. If present, this will be used instead of loading anything from the environment. You are then responsible for updating timezone_data when the definition changes. Calendar spec matching is based on literal matching of the clock time with no special handling of DST: if you write a calendar spec that fires at 2:30am and specify a time zone that follows DST, that action will not be triggered on the day that has no 2:30am. Similarly, an action that fires at 1:30am will be triggered twice on the day that has two 1:30s. Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).
string timezone_name = 10;- Returns:
- This builder for chaining.
-
setTimezoneNameBytes
public ScheduleSpec.Builder setTimezoneNameBytes(com.google.protobuf.ByteString value)
Time zone to interpret all calendar-based specs in. If unset, defaults to UTC. We recommend using UTC for your application if at all possible, to avoid various surprising properties of time zones. Time zones may be provided by name, corresponding to names in the IANA time zone database (see https://www.iana.org/time-zones). The definition will be loaded by the Temporal server from the environment it runs in. If your application requires more control over the time zone definition used, it may pass in a complete definition in the form of a TZif file from the time zone database. If present, this will be used instead of loading anything from the environment. You are then responsible for updating timezone_data when the definition changes. Calendar spec matching is based on literal matching of the clock time with no special handling of DST: if you write a calendar spec that fires at 2:30am and specify a time zone that follows DST, that action will not be triggered on the day that has no 2:30am. Similarly, an action that fires at 1:30am will be triggered twice on the day that has two 1:30s. Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).
string timezone_name = 10;- Parameters:
value- The bytes for timezoneName to set.- Returns:
- This builder for chaining.
-
getTimezoneData
public com.google.protobuf.ByteString getTimezoneData()
bytes timezone_data = 11;- Specified by:
getTimezoneDatain interfaceScheduleSpecOrBuilder- Returns:
- The timezoneData.
-
setTimezoneData
public ScheduleSpec.Builder setTimezoneData(com.google.protobuf.ByteString value)
bytes timezone_data = 11;- Parameters:
value- The timezoneData to set.- Returns:
- This builder for chaining.
-
clearTimezoneData
public ScheduleSpec.Builder clearTimezoneData()
bytes timezone_data = 11;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScheduleSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
mergeUnknownFields
public final ScheduleSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleSpec.Builder>
-
-