Class CreateScheduleRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CreateScheduleRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
io.temporal.api.workflowservice.v1.CreateScheduleRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateScheduleRequestOrBuilder,Cloneable
- Enclosing class:
CreateScheduleRequest
public static final class CreateScheduleRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
implements CreateScheduleRequestOrBuilder
(-- api-linter: core::0203::optional=disabled
aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)
Protobuf type temporal.api.workflowservice.v1.CreateScheduleRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who initiated this request.Optional initial patch (e.g.Memo and search attributes to attach to the schedule itself.The namespace the schedule should be created in.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A unique identifier for this create request for idempotence.The schedule spec, policies, action, and initial state.The id of the new schedule..temporal.api.common.v1.SearchAttributes search_attributes = 8;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe identity of the client who initiated this request.com.google.protobuf.ByteStringThe identity of the client who initiated this request.Optional initial patch (e.g.Optional initial patch (e.g.Optional initial patch (e.g.getMemo()Memo and search attributes to attach to the schedule itself.Memo and search attributes to attach to the schedule itself.Memo and search attributes to attach to the schedule itself.The namespace the schedule should be created in.com.google.protobuf.ByteStringThe namespace the schedule should be created in.A unique identifier for this create request for idempotence.com.google.protobuf.ByteStringA unique identifier for this create request for idempotence.The schedule spec, policies, action, and initial state.The schedule spec, policies, action, and initial state.The id of the new schedule.com.google.protobuf.ByteStringThe id of the new schedule.The schedule spec, policies, action, and initial state..temporal.api.common.v1.SearchAttributes search_attributes = 8;.temporal.api.common.v1.SearchAttributes search_attributes = 8;.temporal.api.common.v1.SearchAttributes search_attributes = 8;booleanOptional initial patch (e.g.booleanhasMemo()Memo and search attributes to attach to the schedule itself.booleanThe schedule spec, policies, action, and initial state.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 8;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateScheduleRequest other) mergeInitialPatch(SchedulePatch value) Optional initial patch (e.g.Memo and search attributes to attach to the schedule itself.mergeSchedule(Schedule value) The schedule spec, policies, action, and initial state..temporal.api.common.v1.SearchAttributes search_attributes = 8;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setIdentity(String value) The identity of the client who initiated this request.setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this request.setInitialPatch(SchedulePatch value) Optional initial patch (e.g.setInitialPatch(SchedulePatch.Builder builderForValue) Optional initial patch (e.g.Memo and search attributes to attach to the schedule itself.setMemo(Memo.Builder builderForValue) Memo and search attributes to attach to the schedule itself.setNamespace(String value) The namespace the schedule should be created in.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace the schedule should be created in.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) A unique identifier for this create request for idempotence.setRequestIdBytes(com.google.protobuf.ByteString value) A unique identifier for this create request for idempotence.setSchedule(Schedule value) The schedule spec, policies, action, and initial state.setSchedule(Schedule.Builder builderForValue) The schedule spec, policies, action, and initial state.setScheduleId(String value) The id of the new schedule.setScheduleIdBytes(com.google.protobuf.ByteString value) The id of the new schedule..temporal.api.common.v1.SearchAttributes search_attributes = 8;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 8;setUnknownFields(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, 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<CreateScheduleRequest.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<CreateScheduleRequest.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<CreateScheduleRequest.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<CreateScheduleRequest.Builder>
-
setField
public CreateScheduleRequest.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<CreateScheduleRequest.Builder>
-
clearField
public CreateScheduleRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
-
clearOneof
public CreateScheduleRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
-
setRepeatedField
public CreateScheduleRequest.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<CreateScheduleRequest.Builder>
-
addRepeatedField
public CreateScheduleRequest.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<CreateScheduleRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateScheduleRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
-
mergeFrom
public CreateScheduleRequest.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<CreateScheduleRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace the schedule should be created in.
string namespace = 1;- Specified by:
getNamespacein interfaceCreateScheduleRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace the schedule should be created in.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace the schedule should be created in.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace the schedule should be created in.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
The namespace the schedule should be created in.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getScheduleId
The id of the new schedule.
string schedule_id = 2;- Specified by:
getScheduleIdin interfaceCreateScheduleRequestOrBuilder- Returns:
- The scheduleId.
-
getScheduleIdBytes
public com.google.protobuf.ByteString getScheduleIdBytes()The id of the new schedule.
string schedule_id = 2;- Specified by:
getScheduleIdBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for scheduleId.
-
setScheduleId
The id of the new schedule.
string schedule_id = 2;- Parameters:
value- The scheduleId to set.- Returns:
- This builder for chaining.
-
clearScheduleId
The id of the new schedule.
string schedule_id = 2;- Returns:
- This builder for chaining.
-
setScheduleIdBytes
The id of the new schedule.
string schedule_id = 2;- Parameters:
value- The bytes for scheduleId to set.- Returns:
- This builder for chaining.
-
hasSchedule
public boolean hasSchedule()The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
hasSchedulein interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
getSchedulein interfaceCreateScheduleRequestOrBuilder- Returns:
- The schedule.
-
setSchedule
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3; -
setSchedule
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3; -
mergeSchedule
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3; -
clearSchedule
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3; -
getScheduleBuilder
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3; -
getScheduleOrBuilder
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
getScheduleOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
hasInitialPatch
public boolean hasInitialPatch()Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4;- Specified by:
hasInitialPatchin interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the initialPatch field is set.
-
getInitialPatch
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4;- Specified by:
getInitialPatchin interfaceCreateScheduleRequestOrBuilder- Returns:
- The initialPatch.
-
setInitialPatch
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4; -
setInitialPatch
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4; -
mergeInitialPatch
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4; -
clearInitialPatch
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4; -
getInitialPatchBuilder
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4; -
getInitialPatchOrBuilder
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4;- Specified by:
getInitialPatchOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
getIdentity
The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityin interfaceCreateScheduleRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who initiated this request.
string identity = 5;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who initiated this request.
string identity = 5;- Returns:
- This builder for chaining.
-
setIdentityBytes
The identity of the client who initiated this request.
string identity = 5;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getRequestId
A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Specified by:
getRequestIdin interfaceCreateScheduleRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Specified by:
getRequestIdBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Returns:
- This builder for chaining.
-
setRequestIdBytes
A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
hasMemo
public boolean hasMemo()Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7;- Specified by:
hasMemoin interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7;- Specified by:
getMemoin interfaceCreateScheduleRequestOrBuilder- Returns:
- The memo.
-
setMemo
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7; -
setMemo
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7; -
mergeMemo
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7; -
clearMemo
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7; -
getMemoBuilder
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7; -
getMemoOrBuilder
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7;- Specified by:
getMemoOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 8;- Specified by:
hasSearchAttributesin interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 8;- Specified by:
getSearchAttributesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 8; -
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 8; -
mergeSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 8; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 8; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 8; -
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 8;- Specified by:
getSearchAttributesOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
setUnknownFields
public final CreateScheduleRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
-
mergeUnknownFields
public final CreateScheduleRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateScheduleRequest.Builder>
-