Class UpdateScheduleRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.UpdateScheduleRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateScheduleRequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:UpdateScheduleRequest.java.pb.meta")
public final class UpdateScheduleRequest
extends com.google.protobuf.GeneratedMessageV3
implements UpdateScheduleRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.UpdateScheduleRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.UpdateScheduleRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.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 UpdateScheduleRequeststatic final com.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.The namespace of the schedule to update.com.google.protobuf.ByteStringThe namespace of the schedule to update.com.google.protobuf.Parser<UpdateScheduleRequest> 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.intinthashCode()booleanhasMemo()Schedule memo to replace.booleanThe new schedule.booleanSchedule search attributes to be updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(UpdateScheduleRequest prototype) protected UpdateScheduleRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UpdateScheduleRequestparseDelimitedFrom(InputStream input) static UpdateScheduleRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScheduleRequestparseFrom(byte[] data) static UpdateScheduleRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScheduleRequestparseFrom(com.google.protobuf.ByteString data) static UpdateScheduleRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScheduleRequestparseFrom(com.google.protobuf.CodedInputStream input) static UpdateScheduleRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScheduleRequestparseFrom(InputStream input) static UpdateScheduleRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateScheduleRequestparseFrom(ByteBuffer data) static UpdateScheduleRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateScheduleRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
SCHEDULE_ID_FIELD_NUMBER
public static final int SCHEDULE_ID_FIELD_NUMBER- See Also:
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER- See Also:
-
CONFLICT_TOKEN_FIELD_NUMBER
public static final int CONFLICT_TOKEN_FIELD_NUMBER- See Also:
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateScheduleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScheduleRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScheduleRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScheduleRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScheduleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateScheduleRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpdateScheduleRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpdateScheduleRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateScheduleRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateScheduleRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateScheduleRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-