Class ResetWorkflowExecutionRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ResetWorkflowExecutionRequestOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:ResetWorkflowExecutionRequest.java.pb.meta") public final class ResetWorkflowExecutionRequest extends com.google.protobuf.GeneratedMessageV3 implements ResetWorkflowExecutionRequestOrBuilderProtobuf typetemporal.api.workflowservice.v1.ResetWorkflowExecutionRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResetWorkflowExecutionRequest.BuilderProtobuf typetemporal.api.workflowservice.v1.ResetWorkflowExecutionRequest-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intNAMESPACE_FIELD_NUMBERstatic intREASON_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intRESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBERstatic intRESET_REAPPLY_TYPE_FIELD_NUMBERstatic intWORKFLOW_EXECUTION_FIELD_NUMBERstatic intWORKFLOW_TASK_FINISH_EVENT_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static ResetWorkflowExecutionRequestgetDefaultInstance()ResetWorkflowExecutionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;com.google.protobuf.Parser<ResetWorkflowExecutionRequest>getParserForType()java.lang.StringgetReason()string reason = 3;com.google.protobuf.ByteStringgetReasonBytes()string reason = 3;java.lang.StringgetRequestId()Used to de-dupe reset requestscom.google.protobuf.ByteStringgetRequestIdBytes()Used to de-dupe reset requestsResetReapplyExcludeTypegetResetReapplyExcludeTypes(int index)Event types not to be reappliedintgetResetReapplyExcludeTypesCount()Event types not to be reappliedjava.util.List<ResetReapplyExcludeType>getResetReapplyExcludeTypesList()Event types not to be reappliedintgetResetReapplyExcludeTypesValue(int index)Event types not to be reappliedjava.util.List<java.lang.Integer>getResetReapplyExcludeTypesValueList()Event types not to be reappliedResetReapplyTypegetResetReapplyType()Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNALintgetResetReapplyTypeValue()Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNALintgetSerializedSize()WorkflowExecutiongetWorkflowExecution()The workflow to reset.WorkflowExecutionOrBuildergetWorkflowExecutionOrBuilder()The workflow to reset.longgetWorkflowTaskFinishEventId()The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.inthashCode()booleanhasWorkflowExecution()The workflow to reset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ResetWorkflowExecutionRequest.BuildernewBuilder()static ResetWorkflowExecutionRequest.BuildernewBuilder(ResetWorkflowExecutionRequest prototype)ResetWorkflowExecutionRequest.BuildernewBuilderForType()protected ResetWorkflowExecutionRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ResetWorkflowExecutionRequestparseDelimitedFrom(java.io.InputStream input)static ResetWorkflowExecutionRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResetWorkflowExecutionRequestparseFrom(byte[] data)static ResetWorkflowExecutionRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResetWorkflowExecutionRequestparseFrom(com.google.protobuf.ByteString data)static ResetWorkflowExecutionRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResetWorkflowExecutionRequestparseFrom(com.google.protobuf.CodedInputStream input)static ResetWorkflowExecutionRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResetWorkflowExecutionRequestparseFrom(java.io.InputStream input)static ResetWorkflowExecutionRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResetWorkflowExecutionRequestparseFrom(java.nio.ByteBuffer data)static ResetWorkflowExecutionRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ResetWorkflowExecutionRequest>parser()ResetWorkflowExecutionRequest.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_TASK_FINISH_EVENT_ID_FIELD_NUMBER
public static final int WORKFLOW_TASK_FINISH_EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESET_REAPPLY_TYPE_FIELD_NUMBER
public static final int RESET_REAPPLY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBER
public static final int RESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String getNamespace()
string namespace = 1;- Specified by:
getNamespacein interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
The workflow to reset. If this contains a run ID then the workflow will be reset back to the provided event ID in that run. Otherwise it will be reset to the provided event ID in the current run. In all cases the current run will be terminated and a new run started.
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
hasWorkflowExecutionin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
The workflow to reset. If this contains a run ID then the workflow will be reset back to the provided event ID in that run. Otherwise it will be reset to the provided event ID in the current run. In all cases the current run will be terminated and a new run started.
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
The workflow to reset. If this contains a run ID then the workflow will be reset back to the provided event ID in that run. Otherwise it will be reset to the provided event ID in the current run. In all cases the current run will be terminated and a new run started.
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionOrBuilderin interfaceResetWorkflowExecutionRequestOrBuilder
-
getReason
public java.lang.String getReason()
string reason = 3;- Specified by:
getReasonin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 3;- Specified by:
getReasonBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for reason.
-
getWorkflowTaskFinishEventId
public long getWorkflowTaskFinishEventId()
The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to.
int64 workflow_task_finish_event_id = 4;- Specified by:
getWorkflowTaskFinishEventIdin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The workflowTaskFinishEventId.
-
getRequestId
public java.lang.String getRequestId()
Used to de-dupe reset requests
string request_id = 5;- Specified by:
getRequestIdin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
Used to de-dupe reset requests
string request_id = 5;- Specified by:
getRequestIdBytesin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
getResetReapplyTypeValue
public int getResetReapplyTypeValue()
Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;- Specified by:
getResetReapplyTypeValuein interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for resetReapplyType.
-
getResetReapplyType
public ResetReapplyType getResetReapplyType()
Event types to be reapplied (deprecated) Default: RESET_REAPPLY_TYPE_SIGNAL
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;- Specified by:
getResetReapplyTypein interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The resetReapplyType.
-
getResetReapplyExcludeTypesList
public java.util.List<ResetReapplyExcludeType> getResetReapplyExcludeTypesList()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesListin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- A list containing the resetReapplyExcludeTypes.
-
getResetReapplyExcludeTypesCount
public int getResetReapplyExcludeTypesCount()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesCountin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- The count of resetReapplyExcludeTypes.
-
getResetReapplyExcludeTypes
public ResetReapplyExcludeType getResetReapplyExcludeTypes(int index)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesin interfaceResetWorkflowExecutionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resetReapplyExcludeTypes at the given index.
-
getResetReapplyExcludeTypesValueList
public java.util.List<java.lang.Integer> getResetReapplyExcludeTypesValueList()
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesValueListin interfaceResetWorkflowExecutionRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for resetReapplyExcludeTypes.
-
getResetReapplyExcludeTypesValue
public int getResetReapplyExcludeTypesValue(int index)
Event types not to be reapplied
repeated .temporal.api.enums.v1.ResetReapplyExcludeType reset_reapply_exclude_types = 7;- Specified by:
getResetReapplyExcludeTypesValuein interfaceResetWorkflowExecutionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of resetReapplyExcludeTypes at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 ResetWorkflowExecutionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ResetWorkflowExecutionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ResetWorkflowExecutionRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResetWorkflowExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ResetWorkflowExecutionRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ResetWorkflowExecutionRequest.Builder newBuilder()
-
newBuilder
public static ResetWorkflowExecutionRequest.Builder newBuilder(ResetWorkflowExecutionRequest prototype)
-
toBuilder
public ResetWorkflowExecutionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResetWorkflowExecutionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ResetWorkflowExecutionRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ResetWorkflowExecutionRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<ResetWorkflowExecutionRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ResetWorkflowExecutionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-