Class WorkflowExecutionExtendedInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionExtendedInfoOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:WorkflowExecutionExtendedInfo.java.pb.meta")
    public final class WorkflowExecutionExtendedInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements WorkflowExecutionExtendedInfoOrBuilder
     Holds all the extra information about workflow execution that is not part of Visibility.
     
    Protobuf type temporal.api.workflow.v1.WorkflowExecutionExtendedInfo
    See Also:
    Serialized Form
    • Field Detail

      • EXECUTION_EXPIRATION_TIME_FIELD_NUMBER

        public static final int EXECUTION_EXPIRATION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RUN_EXPIRATION_TIME_FIELD_NUMBER

        public static final int RUN_EXPIRATION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CANCEL_REQUESTED_FIELD_NUMBER

        public static final int CANCEL_REQUESTED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_RESET_TIME_FIELD_NUMBER

        public static final int LAST_RESET_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORIGINAL_START_TIME_FIELD_NUMBER

        public static final int ORIGINAL_START_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESET_RUN_ID_FIELD_NUMBER

        public static final int RESET_RUN_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REQUEST_ID_INFOS_FIELD_NUMBER

        public static final int REQUEST_ID_INFOS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasExecutionExpirationTime

        public boolean hasExecutionExpirationTime()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
        Specified by:
        hasExecutionExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        Whether the executionExpirationTime field is set.
      • getExecutionExpirationTime

        public com.google.protobuf.Timestamp getExecutionExpirationTime()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
        Specified by:
        getExecutionExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The executionExpirationTime.
      • getExecutionExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExecutionExpirationTimeOrBuilder()
         Workflow execution expiration time is defined as workflow start time plus expiration timeout.
         Workflow start time may change after workflow reset.
         
        .google.protobuf.Timestamp execution_expiration_time = 1;
        Specified by:
        getExecutionExpirationTimeOrBuilder in interface WorkflowExecutionExtendedInfoOrBuilder
      • hasRunExpirationTime

        public boolean hasRunExpirationTime()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
        Specified by:
        hasRunExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        Whether the runExpirationTime field is set.
      • getRunExpirationTime

        public com.google.protobuf.Timestamp getRunExpirationTime()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
        Specified by:
        getRunExpirationTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The runExpirationTime.
      • getRunExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRunExpirationTimeOrBuilder()
         Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
         
        .google.protobuf.Timestamp run_expiration_time = 2;
        Specified by:
        getRunExpirationTimeOrBuilder in interface WorkflowExecutionExtendedInfoOrBuilder
      • hasLastResetTime

        public boolean hasLastResetTime()
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
        Specified by:
        hasLastResetTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        Whether the lastResetTime field is set.
      • getLastResetTime

        public com.google.protobuf.Timestamp getLastResetTime()
         Last workflow reset time. Nil if the workflow was never reset.
         
        .google.protobuf.Timestamp last_reset_time = 4;
        Specified by:
        getLastResetTime in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The lastResetTime.
      • getResetRunId

        public java.lang.String getResetRunId()
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Specified by:
        getResetRunId in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The resetRunId.
      • getResetRunIdBytes

        public com.google.protobuf.ByteString getResetRunIdBytes()
         Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
         
        string reset_run_id = 6;
        Specified by:
        getResetRunIdBytes in interface WorkflowExecutionExtendedInfoOrBuilder
        Returns:
        The bytes for resetRunId.
      • getRequestIdInfosCount

        public int getRequestIdInfosCount()
        Description copied from interface: WorkflowExecutionExtendedInfoOrBuilder
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosCount in interface WorkflowExecutionExtendedInfoOrBuilder
      • containsRequestIdInfos

        public boolean containsRequestIdInfos​(java.lang.String key)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        containsRequestIdInfos in interface WorkflowExecutionExtendedInfoOrBuilder
      • getRequestIdInfosMap

        public java.util.Map<java.lang.String,​RequestIdInfo> getRequestIdInfosMap()
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosMap in interface WorkflowExecutionExtendedInfoOrBuilder
      • getRequestIdInfosOrDefault

        public RequestIdInfo getRequestIdInfosOrDefault​(java.lang.String key,
                                                        RequestIdInfo defaultValue)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosOrDefault in interface WorkflowExecutionExtendedInfoOrBuilder
      • getRequestIdInfosOrThrow

        public RequestIdInfo getRequestIdInfosOrThrow​(java.lang.String key)
         Request ID information (eg: history event information associated with the request ID).
         Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
         calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
         used in the StartWorkflowExecution request).
         
        map<string, .temporal.api.workflow.v1.RequestIdInfo> request_id_infos = 7;
        Specified by:
        getRequestIdInfosOrThrow in interface WorkflowExecutionExtendedInfoOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(java.nio.ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(java.nio.ByteBuffer data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(com.google.protobuf.ByteString data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(com.google.protobuf.ByteString data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(byte[] data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(byte[] data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(java.io.InputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(java.io.InputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static WorkflowExecutionExtendedInfo parseDelimitedFrom​(java.io.InputStream input)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static WorkflowExecutionExtendedInfo parseDelimitedFrom​(java.io.InputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static WorkflowExecutionExtendedInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public WorkflowExecutionExtendedInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public WorkflowExecutionExtendedInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected WorkflowExecutionExtendedInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<WorkflowExecutionExtendedInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public WorkflowExecutionExtendedInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder