Class UpdateScheduleRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateScheduleRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
io.temporal.api.workflowservice.v1.UpdateScheduleRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateScheduleRequestOrBuilder,Cloneable
- Enclosing class:
UpdateScheduleRequest
public static final class UpdateScheduleRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
implements UpdateScheduleRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.UpdateScheduleRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who initiated this request.Schedule memo to replace.The namespace of the schedule to update.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A unique identifier for this update request for idempotence.The new schedule.The id of the schedule to update.Schedule search attributes to be updated.clone()com.google.protobuf.ByteStringThis can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update.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.getMemo()Schedule memo to replace.Schedule memo to replace.Schedule memo to replace.The namespace of the schedule to update.com.google.protobuf.ByteStringThe namespace of the schedule to update.A unique identifier for this update request for idempotence.com.google.protobuf.ByteStringA unique identifier for this update request for idempotence.The new schedule.The new schedule.The id of the schedule to update.com.google.protobuf.ByteStringThe id of the schedule to update.The new schedule.Schedule search attributes to be updated.Schedule search attributes to be updated.Schedule search attributes to be updated.booleanhasMemo()Schedule memo to replace.booleanThe new schedule.booleanSchedule search attributes to be updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpdateScheduleRequest other) Schedule memo to replace.mergeSchedule(Schedule value) The new schedule.Schedule search attributes to be updated.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setConflictToken(com.google.protobuf.ByteString value) This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update.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.Schedule memo to replace.setMemo(Memo.Builder builderForValue) Schedule memo to replace.setNamespace(String value) The namespace of the schedule to update.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace of the schedule to update.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) A unique identifier for this update request for idempotence.setRequestIdBytes(com.google.protobuf.ByteString value) A unique identifier for this update request for idempotence.setSchedule(Schedule value) The new schedule.setSchedule(Schedule.Builder builderForValue) The new schedule.setScheduleId(String value) The id of the schedule to update.setScheduleIdBytes(com.google.protobuf.ByteString value) The id of the schedule to update.Schedule search attributes to be updated.setSearchAttributes(SearchAttributes.Builder builderForValue) Schedule search attributes to be updated.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<UpdateScheduleRequest.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<UpdateScheduleRequest.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<UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
setField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
clearField
public UpdateScheduleRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
clearOneof
public UpdateScheduleRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
setRepeatedField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
addRepeatedField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateScheduleRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
mergeFrom
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace of the schedule to update.
string namespace = 1;- Specified by:
getNamespacein interfaceUpdateScheduleRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace of the schedule to update.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace of the schedule to update.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace of the schedule to update.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
The namespace of the schedule to update.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getScheduleId
The id of the schedule to update.
string schedule_id = 2;- Specified by:
getScheduleIdin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The scheduleId.
-
getScheduleIdBytes
public com.google.protobuf.ByteString getScheduleIdBytes()The id of the schedule to update.
string schedule_id = 2;- Specified by:
getScheduleIdBytesin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The bytes for scheduleId.
-
setScheduleId
The id of the schedule to update.
string schedule_id = 2;- Parameters:
value- The scheduleId to set.- Returns:
- This builder for chaining.
-
clearScheduleId
The id of the schedule to update.
string schedule_id = 2;- Returns:
- This builder for chaining.
-
setScheduleIdBytes
The id of the schedule to update.
string schedule_id = 2;- Parameters:
value- The bytes for scheduleId to set.- Returns:
- This builder for chaining.
-
hasSchedule
public boolean hasSchedule()The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
hasSchedulein interfaceUpdateScheduleRequestOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
getSchedulein interfaceUpdateScheduleRequestOrBuilder- Returns:
- The schedule.
-
setSchedule
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3; -
setSchedule
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3; -
mergeSchedule
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3; -
clearSchedule
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3; -
getScheduleBuilder
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3; -
getScheduleOrBuilder
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
getScheduleOrBuilderin interfaceUpdateScheduleRequestOrBuilder
-
getConflictToken
public com.google.protobuf.ByteString getConflictToken()This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update. If missing, the schedule will be updated unconditionally.
bytes conflict_token = 4;- Specified by:
getConflictTokenin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The conflictToken.
-
setConflictToken
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update. If missing, the schedule will be updated unconditionally.
bytes conflict_token = 4;- Parameters:
value- The conflictToken to set.- Returns:
- This builder for chaining.
-
clearConflictToken
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update. If missing, the schedule will be updated unconditionally.
bytes conflict_token = 4;- Returns:
- This builder for chaining.
-
getIdentity
The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityin interfaceUpdateScheduleRequestOrBuilder- 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 interfaceUpdateScheduleRequestOrBuilder- 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 update request for idempotence. Typically UUIDv4.
string request_id = 6;- Specified by:
getRequestIdin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;- Specified by:
getRequestIdBytesin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
A unique identifier for this update 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 update request for idempotence. Typically UUIDv4.
string request_id = 6;- Returns:
- This builder for chaining.
-
setRequestIdBytes
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
hasSearchAttributes
public boolean hasSearchAttributes()Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
hasSearchAttributesin interfaceUpdateScheduleRequestOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
getSearchAttributesin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7; -
setSearchAttributes
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7; -
mergeSearchAttributes
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7; -
clearSearchAttributes
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7; -
getSearchAttributesBuilder
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7; -
getSearchAttributesOrBuilder
Schedule search attributes to be updated. Do not set this field if you do not want to update the search attributes. A non-null empty object will set the search attributes to an empty map. Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
getSearchAttributesOrBuilderin interfaceUpdateScheduleRequestOrBuilder
-
hasMemo
public boolean hasMemo()Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8;- Specified by:
hasMemoin interfaceUpdateScheduleRequestOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8;- Specified by:
getMemoin interfaceUpdateScheduleRequestOrBuilder- Returns:
- The memo.
-
setMemo
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8; -
setMemo
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8; -
mergeMemo
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8; -
clearMemo
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8; -
getMemoBuilder
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8; -
getMemoOrBuilder
Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo.
.temporal.api.common.v1.Memo memo = 8;- Specified by:
getMemoOrBuilderin interfaceUpdateScheduleRequestOrBuilder
-
setUnknownFields
public final UpdateScheduleRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
mergeUnknownFields
public final UpdateScheduleRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-