Interface UpdateScheduleRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateScheduleRequest,UpdateScheduleRequest.Builder
@Generated(value="protoc",
comments="annotations:UpdateScheduleRequestOrBuilder.java.pb.meta")
public interface UpdateScheduleRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.The 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.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 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.booleanhasMemo()Schedule memo to replace.booleanThe new schedule.booleanSchedule search attributes to be updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespace
String getNamespace()The namespace of the schedule to update.
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()The namespace of the schedule to update.
string namespace = 1;- Returns:
- The bytes for namespace.
-
getScheduleId
String getScheduleId()The id of the schedule to update.
string schedule_id = 2;- Returns:
- The scheduleId.
-
getScheduleIdBytes
com.google.protobuf.ByteString getScheduleIdBytes()The id of the schedule to update.
string schedule_id = 2;- Returns:
- The bytes for scheduleId.
-
hasSchedule
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;- Returns:
- Whether the schedule field is set.
-
getSchedule
Schedule 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;- Returns:
- The schedule.
-
getScheduleOrBuilder
ScheduleOrBuilder 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; -
getConflictToken
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;- Returns:
- The conflictToken.
-
getIdentity
String getIdentity()The identity of the client who initiated this request.
string identity = 5;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 5;- Returns:
- The bytes for identity.
-
getRequestId
String getRequestId()A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;- Returns:
- The bytes for requestId.
-
hasSearchAttributes
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;- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
SearchAttributes 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;- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
SearchAttributesOrBuilder 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; -
hasMemo
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;- Returns:
- Whether the memo field is set.
-
getMemo
Memo 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;- Returns:
- The memo.
-
getMemoOrBuilder
MemoOrBuilder 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;
-