Class WorkflowExecutionExtendedInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionExtendedInfoOrBuilder, 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:
  • Field Details

    • EXECUTION_EXPIRATION_TIME_FIELD_NUMBER

      public static final int EXECUTION_EXPIRATION_TIME_FIELD_NUMBER
      See Also:
    • RUN_EXPIRATION_TIME_FIELD_NUMBER

      public static final int RUN_EXPIRATION_TIME_FIELD_NUMBER
      See Also:
    • CANCEL_REQUESTED_FIELD_NUMBER

      public static final int CANCEL_REQUESTED_FIELD_NUMBER
      See Also:
    • LAST_RESET_TIME_FIELD_NUMBER

      public static final int LAST_RESET_TIME_FIELD_NUMBER
      See Also:
    • ORIGINAL_START_TIME_FIELD_NUMBER

      public static final int ORIGINAL_START_TIME_FIELD_NUMBER
      See Also:
    • RESET_RUN_ID_FIELD_NUMBER

      public static final int RESET_RUN_ID_FIELD_NUMBER
      See Also:
    • REQUEST_ID_INFOS_FIELD_NUMBER

      public static final int REQUEST_ID_INFOS_FIELD_NUMBER
      See Also:
    • PAUSE_INFO_FIELD_NUMBER

      public static final int PAUSE_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected 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
    • getCancelRequested

      public boolean getCancelRequested()
       indicates if the workflow received a cancel request
       
      bool cancel_requested = 3;
      Specified by:
      getCancelRequested in interface WorkflowExecutionExtendedInfoOrBuilder
      Returns:
      The cancelRequested.
    • 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.
    • getLastResetTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastResetTimeOrBuilder()
       Last workflow reset time. Nil if the workflow was never reset.
       
      .google.protobuf.Timestamp last_reset_time = 4;
      Specified by:
      getLastResetTimeOrBuilder in interface WorkflowExecutionExtendedInfoOrBuilder
    • hasOriginalStartTime

      public boolean hasOriginalStartTime()
       Original workflow start time.
       
      .google.protobuf.Timestamp original_start_time = 5;
      Specified by:
      hasOriginalStartTime in interface WorkflowExecutionExtendedInfoOrBuilder
      Returns:
      Whether the originalStartTime field is set.
    • getOriginalStartTime

      public com.google.protobuf.Timestamp getOriginalStartTime()
       Original workflow start time.
       
      .google.protobuf.Timestamp original_start_time = 5;
      Specified by:
      getOriginalStartTime in interface WorkflowExecutionExtendedInfoOrBuilder
      Returns:
      The originalStartTime.
    • getOriginalStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getOriginalStartTimeOrBuilder()
       Original workflow start time.
       
      .google.protobuf.Timestamp original_start_time = 5;
      Specified by:
      getOriginalStartTimeOrBuilder in interface WorkflowExecutionExtendedInfoOrBuilder
    • getResetRunId

      public 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(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
    • getRequestIdInfos

      @Deprecated public Map<String,RequestIdInfo> getRequestIdInfos()
      Deprecated.
      Specified by:
      getRequestIdInfos in interface WorkflowExecutionExtendedInfoOrBuilder
    • getRequestIdInfosMap

      public Map<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(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(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
    • hasPauseInfo

      public boolean hasPauseInfo()
       Information about the workflow execution pause operation.
       
      .temporal.api.workflow.v1.WorkflowExecutionPauseInfo pause_info = 8;
      Specified by:
      hasPauseInfo in interface WorkflowExecutionExtendedInfoOrBuilder
      Returns:
      Whether the pauseInfo field is set.
    • getPauseInfo

      public WorkflowExecutionPauseInfo getPauseInfo()
       Information about the workflow execution pause operation.
       
      .temporal.api.workflow.v1.WorkflowExecutionPauseInfo pause_info = 8;
      Specified by:
      getPauseInfo in interface WorkflowExecutionExtendedInfoOrBuilder
      Returns:
      The pauseInfo.
    • getPauseInfoOrBuilder

      public WorkflowExecutionPauseInfoOrBuilder getPauseInfoOrBuilder()
       Information about the workflow execution pause operation.
       
      .temporal.api.workflow.v1.WorkflowExecutionPauseInfo pause_info = 8;
      Specified by:
      getPauseInfoOrBuilder 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionExtendedInfo parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static WorkflowExecutionExtendedInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static WorkflowExecutionExtendedInfo.Builder newBuilder()
    • newBuilder

    • 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
    • getDefaultInstance

      public static WorkflowExecutionExtendedInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<WorkflowExecutionExtendedInfo> parser()
    • 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