Class SchedulePatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SchedulePatch.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
io.temporal.api.schedule.v1.SchedulePatch.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SchedulePatchOrBuilder,Cloneable
- Enclosing class:
SchedulePatch
public static final class SchedulePatch.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
implements SchedulePatchOrBuilder
Protobuf type
temporal.api.schedule.v1.SchedulePatch-
Method Summary
Modifier and TypeMethodDescriptionaddAllBackfillRequest(Iterable<? extends BackfillRequest> values) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.addBackfillRequest(int index, BackfillRequest value) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.addBackfillRequest(int index, BackfillRequest.Builder builderForValue) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.addBackfillRequest(BackfillRequest.Builder builderForValue) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.addBackfillRequestBuilder(int index) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.If set, trigger one action immediately.string unpause = 4;clone()getBackfillRequest(int index) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.getBackfillRequestBuilder(int index) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.intIf set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.getBackfillRequestOrBuilder(int index) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.List<? extends BackfillRequestOrBuilder> If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPause()If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.com.google.protobuf.ByteStringIf set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.If set, trigger one action immediately.If set, trigger one action immediately.If set, trigger one action immediately.string unpause = 4;com.google.protobuf.ByteStringstring unpause = 4;booleanIf set, trigger one action immediately.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SchedulePatch other) If set, trigger one action immediately.final SchedulePatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeBackfillRequest(int index) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.setBackfillRequest(int index, BackfillRequest value) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.setBackfillRequest(int index, BackfillRequest.Builder builderForValue) If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once.If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.setPauseBytes(com.google.protobuf.ByteString value) If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) If set, trigger one action immediately.setTriggerImmediately(TriggerImmediatelyRequest.Builder builderForValue) If set, trigger one action immediately.final SchedulePatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUnpause(String value) string unpause = 4;setUnpauseBytes(com.google.protobuf.ByteString value) string unpause = 4;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.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<SchedulePatch.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<SchedulePatch.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<SchedulePatch.Builder>
-
setField
public SchedulePatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
setRepeatedField
public SchedulePatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
addRepeatedField
public SchedulePatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SchedulePatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
mergeFrom
public SchedulePatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SchedulePatch.Builder>- Throws:
IOException
-
hasTriggerImmediately
public boolean hasTriggerImmediately()If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1;- Specified by:
hasTriggerImmediatelyin interfaceSchedulePatchOrBuilder- Returns:
- Whether the triggerImmediately field is set.
-
getTriggerImmediately
If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1;- Specified by:
getTriggerImmediatelyin interfaceSchedulePatchOrBuilder- Returns:
- The triggerImmediately.
-
setTriggerImmediately
If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1; -
setTriggerImmediately
public SchedulePatch.Builder setTriggerImmediately(TriggerImmediatelyRequest.Builder builderForValue) If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1; -
mergeTriggerImmediately
If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1; -
clearTriggerImmediately
If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1; -
getTriggerImmediatelyBuilder
If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1; -
getTriggerImmediatelyOrBuilder
If set, trigger one action immediately.
.temporal.api.schedule.v1.TriggerImmediatelyRequest trigger_immediately = 1;- Specified by:
getTriggerImmediatelyOrBuilderin interfaceSchedulePatchOrBuilder
-
getBackfillRequestList
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2;- Specified by:
getBackfillRequestListin interfaceSchedulePatchOrBuilder
-
getBackfillRequestCount
public int getBackfillRequestCount()If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2;- Specified by:
getBackfillRequestCountin interfaceSchedulePatchOrBuilder
-
getBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2;- Specified by:
getBackfillRequestin interfaceSchedulePatchOrBuilder
-
setBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
setBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
addBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
addBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
addBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
addBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
addAllBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
clearBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
removeBackfillRequest
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
getBackfillRequestBuilder
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
getBackfillRequestOrBuilder
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2;- Specified by:
getBackfillRequestOrBuilderin interfaceSchedulePatchOrBuilder
-
getBackfillRequestOrBuilderList
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2;- Specified by:
getBackfillRequestOrBuilderListin interfaceSchedulePatchOrBuilder
-
addBackfillRequestBuilder
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
addBackfillRequestBuilder
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
getBackfillRequestBuilderList
If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill.
repeated .temporal.api.schedule.v1.BackfillRequest backfill_request = 2; -
getPause
If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.
string pause = 3;- Specified by:
getPausein interfaceSchedulePatchOrBuilder- Returns:
- The pause.
-
getPauseBytes
public com.google.protobuf.ByteString getPauseBytes()If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.
string pause = 3;- Specified by:
getPauseBytesin interfaceSchedulePatchOrBuilder- Returns:
- The bytes for pause.
-
setPause
If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.
string pause = 3;- Parameters:
value- The pause to set.- Returns:
- This builder for chaining.
-
clearPause
If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.
string pause = 3;- Returns:
- This builder for chaining.
-
setPauseBytes
If set, change the state to paused or unpaused (respectively) and set the notes field to the value of the string.
string pause = 3;- Parameters:
value- The bytes for pause to set.- Returns:
- This builder for chaining.
-
getUnpause
string unpause = 4;- Specified by:
getUnpausein interfaceSchedulePatchOrBuilder- Returns:
- The unpause.
-
getUnpauseBytes
public com.google.protobuf.ByteString getUnpauseBytes()string unpause = 4;- Specified by:
getUnpauseBytesin interfaceSchedulePatchOrBuilder- Returns:
- The bytes for unpause.
-
setUnpause
string unpause = 4;- Parameters:
value- The unpause to set.- Returns:
- This builder for chaining.
-
clearUnpause
-
setUnpauseBytes
string unpause = 4;- Parameters:
value- The bytes for unpause to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SchedulePatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-
mergeUnknownFields
public final SchedulePatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SchedulePatch.Builder>
-