Class WorkflowExecutionStartedEventAttributes

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionStartedEventAttributesOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:WorkflowExecutionStartedEventAttributes.java.pb.meta") public final class WorkflowExecutionStartedEventAttributes extends com.google.protobuf.GeneratedMessageV3 implements WorkflowExecutionStartedEventAttributesOrBuilder
 Always the first event in workflow history
 
Protobuf type temporal.api.history.v1.WorkflowExecutionStartedEventAttributes
See Also:
  • Field Details

    • WORKFLOW_TYPE_FIELD_NUMBER

      public static final int WORKFLOW_TYPE_FIELD_NUMBER
      See Also:
    • PARENT_WORKFLOW_NAMESPACE_FIELD_NUMBER

      public static final int PARENT_WORKFLOW_NAMESPACE_FIELD_NUMBER
      See Also:
    • PARENT_WORKFLOW_NAMESPACE_ID_FIELD_NUMBER

      public static final int PARENT_WORKFLOW_NAMESPACE_ID_FIELD_NUMBER
      See Also:
    • PARENT_WORKFLOW_EXECUTION_FIELD_NUMBER

      public static final int PARENT_WORKFLOW_EXECUTION_FIELD_NUMBER
      See Also:
    • PARENT_INITIATED_EVENT_ID_FIELD_NUMBER

      public static final int PARENT_INITIATED_EVENT_ID_FIELD_NUMBER
      See Also:
    • TASK_QUEUE_FIELD_NUMBER

      public static final int TASK_QUEUE_FIELD_NUMBER
      See Also:
    • INPUT_FIELD_NUMBER

      public static final int INPUT_FIELD_NUMBER
      See Also:
    • WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER
      See Also:
    • WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER

      public static final int WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
      See Also:
    • WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER

      public static final int WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
      See Also:
    • CONTINUED_EXECUTION_RUN_ID_FIELD_NUMBER

      public static final int CONTINUED_EXECUTION_RUN_ID_FIELD_NUMBER
      See Also:
    • INITIATOR_FIELD_NUMBER

      public static final int INITIATOR_FIELD_NUMBER
      See Also:
    • CONTINUED_FAILURE_FIELD_NUMBER

      public static final int CONTINUED_FAILURE_FIELD_NUMBER
      See Also:
    • LAST_COMPLETION_RESULT_FIELD_NUMBER

      public static final int LAST_COMPLETION_RESULT_FIELD_NUMBER
      See Also:
    • ORIGINAL_EXECUTION_RUN_ID_FIELD_NUMBER

      public static final int ORIGINAL_EXECUTION_RUN_ID_FIELD_NUMBER
      See Also:
    • IDENTITY_FIELD_NUMBER

      public static final int IDENTITY_FIELD_NUMBER
      See Also:
    • FIRST_EXECUTION_RUN_ID_FIELD_NUMBER

      public static final int FIRST_EXECUTION_RUN_ID_FIELD_NUMBER
      See Also:
    • RETRY_POLICY_FIELD_NUMBER

      public static final int RETRY_POLICY_FIELD_NUMBER
      See Also:
    • ATTEMPT_FIELD_NUMBER

      public static final int ATTEMPT_FIELD_NUMBER
      See Also:
    • WORKFLOW_EXECUTION_EXPIRATION_TIME_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_EXPIRATION_TIME_FIELD_NUMBER
      See Also:
    • CRON_SCHEDULE_FIELD_NUMBER

      public static final int CRON_SCHEDULE_FIELD_NUMBER
      See Also:
    • FIRST_WORKFLOW_TASK_BACKOFF_FIELD_NUMBER

      public static final int FIRST_WORKFLOW_TASK_BACKOFF_FIELD_NUMBER
      See Also:
    • MEMO_FIELD_NUMBER

      public static final int MEMO_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • PREV_AUTO_RESET_POINTS_FIELD_NUMBER

      public static final int PREV_AUTO_RESET_POINTS_FIELD_NUMBER
      See Also:
    • HEADER_FIELD_NUMBER

      public static final int HEADER_FIELD_NUMBER
      See Also:
    • PARENT_INITIATED_EVENT_VERSION_FIELD_NUMBER

      public static final int PARENT_INITIATED_EVENT_VERSION_FIELD_NUMBER
      See Also:
    • WORKFLOW_ID_FIELD_NUMBER

      public static final int WORKFLOW_ID_FIELD_NUMBER
      See Also:
    • SOURCE_VERSION_STAMP_FIELD_NUMBER

      public static final int SOURCE_VERSION_STAMP_FIELD_NUMBER
      See Also:
    • COMPLETION_CALLBACKS_FIELD_NUMBER

      public static final int COMPLETION_CALLBACKS_FIELD_NUMBER
      See Also:
    • ROOT_WORKFLOW_EXECUTION_FIELD_NUMBER

      public static final int ROOT_WORKFLOW_EXECUTION_FIELD_NUMBER
      See Also:
    • INHERITED_BUILD_ID_FIELD_NUMBER

      public static final int INHERITED_BUILD_ID_FIELD_NUMBER
      See Also:
    • VERSIONING_OVERRIDE_FIELD_NUMBER

      public static final int VERSIONING_OVERRIDE_FIELD_NUMBER
      See Also:
    • PARENT_PINNED_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER

      public static final int PARENT_PINNED_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER
      See Also:
    • PRIORITY_FIELD_NUMBER

      public static final int PRIORITY_FIELD_NUMBER
      See Also:
    • INHERITED_PINNED_VERSION_FIELD_NUMBER

      public static final int INHERITED_PINNED_VERSION_FIELD_NUMBER
      See Also:
    • INHERITED_AUTO_UPGRADE_INFO_FIELD_NUMBER

      public static final int INHERITED_AUTO_UPGRADE_INFO_FIELD_NUMBER
      See Also:
    • EAGER_EXECUTION_ACCEPTED_FIELD_NUMBER

      public static final int EAGER_EXECUTION_ACCEPTED_FIELD_NUMBER
      See Also:
    • DECLINED_TARGET_VERSION_UPGRADE_FIELD_NUMBER

      public static final int DECLINED_TARGET_VERSION_UPGRADE_FIELD_NUMBER
      See Also:
    • TIME_SKIPPING_CONFIG_FIELD_NUMBER

      public static final int TIME_SKIPPING_CONFIG_FIELD_NUMBER
      See Also:
    • TIME_SKIPPING_STATE_PROPAGATION_FIELD_NUMBER

      public static final int TIME_SKIPPING_STATE_PROPAGATION_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()
    • internalGetFieldAccessorTable

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

      public boolean hasWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 1;
      Specified by:
      hasWorkflowType in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the workflowType field is set.
    • getWorkflowType

      public WorkflowType getWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 1;
      Specified by:
      getWorkflowType in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The workflowType.
    • getWorkflowTypeOrBuilder

      public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
      .temporal.api.common.v1.WorkflowType workflow_type = 1;
      Specified by:
      getWorkflowTypeOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getParentWorkflowNamespace

      public String getParentWorkflowNamespace()
       If this workflow is a child, the namespace our parent lives in.
       SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
       
      string parent_workflow_namespace = 2;
      Specified by:
      getParentWorkflowNamespace in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The parentWorkflowNamespace.
    • getParentWorkflowNamespaceBytes

      public com.google.protobuf.ByteString getParentWorkflowNamespaceBytes()
       If this workflow is a child, the namespace our parent lives in.
       SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
       
      string parent_workflow_namespace = 2;
      Specified by:
      getParentWorkflowNamespaceBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for parentWorkflowNamespace.
    • getParentWorkflowNamespaceId

      public String getParentWorkflowNamespaceId()
      string parent_workflow_namespace_id = 27;
      Specified by:
      getParentWorkflowNamespaceId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The parentWorkflowNamespaceId.
    • getParentWorkflowNamespaceIdBytes

      public com.google.protobuf.ByteString getParentWorkflowNamespaceIdBytes()
      string parent_workflow_namespace_id = 27;
      Specified by:
      getParentWorkflowNamespaceIdBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for parentWorkflowNamespaceId.
    • hasParentWorkflowExecution

      public boolean hasParentWorkflowExecution()
       Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
       If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
       
      .temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;
      Specified by:
      hasParentWorkflowExecution in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the parentWorkflowExecution field is set.
    • getParentWorkflowExecution

      public WorkflowExecution getParentWorkflowExecution()
       Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
       If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
       
      .temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;
      Specified by:
      getParentWorkflowExecution in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The parentWorkflowExecution.
    • getParentWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getParentWorkflowExecutionOrBuilder()
       Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
       If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
       
      .temporal.api.common.v1.WorkflowExecution parent_workflow_execution = 3;
      Specified by:
      getParentWorkflowExecutionOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getParentInitiatedEventId

      public long getParentInitiatedEventId()
       EventID of the child execution initiated event in parent workflow
       
      int64 parent_initiated_event_id = 4;
      Specified by:
      getParentInitiatedEventId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The parentInitiatedEventId.
    • hasTaskQueue

      public boolean hasTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
      Specified by:
      hasTaskQueue in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the taskQueue field is set.
    • getTaskQueue

      public TaskQueue getTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
      Specified by:
      getTaskQueue in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The taskQueue.
    • getTaskQueueOrBuilder

      public TaskQueueOrBuilder getTaskQueueOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
      Specified by:
      getTaskQueueOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasInput

      public boolean hasInput()
       SDK will deserialize this and provide it as arguments to the workflow function
       
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      hasInput in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Payloads getInput()
       SDK will deserialize this and provide it as arguments to the workflow function
       
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      getInput in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The input.
    • getInputOrBuilder

      public PayloadsOrBuilder getInputOrBuilder()
       SDK will deserialize this and provide it as arguments to the workflow function
       
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      getInputOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasWorkflowExecutionTimeout

      public boolean hasWorkflowExecutionTimeout()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 7;
      Specified by:
      hasWorkflowExecutionTimeout in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the workflowExecutionTimeout field is set.
    • getWorkflowExecutionTimeout

      public com.google.protobuf.Duration getWorkflowExecutionTimeout()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 7;
      Specified by:
      getWorkflowExecutionTimeout in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The workflowExecutionTimeout.
    • getWorkflowExecutionTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 7;
      Specified by:
      getWorkflowExecutionTimeoutOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasWorkflowRunTimeout

      public boolean hasWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 8;
      Specified by:
      hasWorkflowRunTimeout in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the workflowRunTimeout field is set.
    • getWorkflowRunTimeout

      public com.google.protobuf.Duration getWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 8;
      Specified by:
      getWorkflowRunTimeout in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The workflowRunTimeout.
    • getWorkflowRunTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 8;
      Specified by:
      getWorkflowRunTimeoutOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasWorkflowTaskTimeout

      public boolean hasWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 9;
      Specified by:
      hasWorkflowTaskTimeout in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the workflowTaskTimeout field is set.
    • getWorkflowTaskTimeout

      public com.google.protobuf.Duration getWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 9;
      Specified by:
      getWorkflowTaskTimeout in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The workflowTaskTimeout.
    • getWorkflowTaskTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 9;
      Specified by:
      getWorkflowTaskTimeoutOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getContinuedExecutionRunId

      public String getContinuedExecutionRunId()
       Run id of the previous workflow which continued-as-new or retried or cron executed into this
       workflow.
       
      string continued_execution_run_id = 10;
      Specified by:
      getContinuedExecutionRunId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The continuedExecutionRunId.
    • getContinuedExecutionRunIdBytes

      public com.google.protobuf.ByteString getContinuedExecutionRunIdBytes()
       Run id of the previous workflow which continued-as-new or retried or cron executed into this
       workflow.
       
      string continued_execution_run_id = 10;
      Specified by:
      getContinuedExecutionRunIdBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for continuedExecutionRunId.
    • getInitiatorValue

      public int getInitiatorValue()
      .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
      Specified by:
      getInitiatorValue in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The enum numeric value on the wire for initiator.
    • getInitiator

      public ContinueAsNewInitiator getInitiator()
      .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
      Specified by:
      getInitiator in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The initiator.
    • hasContinuedFailure

      public boolean hasContinuedFailure()
      .temporal.api.failure.v1.Failure continued_failure = 12;
      Specified by:
      hasContinuedFailure in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the continuedFailure field is set.
    • getContinuedFailure

      public Failure getContinuedFailure()
      .temporal.api.failure.v1.Failure continued_failure = 12;
      Specified by:
      getContinuedFailure in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The continuedFailure.
    • getContinuedFailureOrBuilder

      public FailureOrBuilder getContinuedFailureOrBuilder()
      .temporal.api.failure.v1.Failure continued_failure = 12;
      Specified by:
      getContinuedFailureOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasLastCompletionResult

      public boolean hasLastCompletionResult()
      .temporal.api.common.v1.Payloads last_completion_result = 13;
      Specified by:
      hasLastCompletionResult in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the lastCompletionResult field is set.
    • getLastCompletionResult

      public Payloads getLastCompletionResult()
      .temporal.api.common.v1.Payloads last_completion_result = 13;
      Specified by:
      getLastCompletionResult in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The lastCompletionResult.
    • getLastCompletionResultOrBuilder

      public PayloadsOrBuilder getLastCompletionResultOrBuilder()
      .temporal.api.common.v1.Payloads last_completion_result = 13;
      Specified by:
      getLastCompletionResultOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getOriginalExecutionRunId

      public String getOriginalExecutionRunId()
       This is the run id when the WorkflowExecutionStarted event was written.
       A workflow reset changes the execution run_id, but preserves this field.
       
      string original_execution_run_id = 14;
      Specified by:
      getOriginalExecutionRunId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The originalExecutionRunId.
    • getOriginalExecutionRunIdBytes

      public com.google.protobuf.ByteString getOriginalExecutionRunIdBytes()
       This is the run id when the WorkflowExecutionStarted event was written.
       A workflow reset changes the execution run_id, but preserves this field.
       
      string original_execution_run_id = 14;
      Specified by:
      getOriginalExecutionRunIdBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for originalExecutionRunId.
    • getIdentity

      public String getIdentity()
       Identity of the client who requested this execution
       
      string identity = 15;
      Specified by:
      getIdentity in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       Identity of the client who requested this execution
       
      string identity = 15;
      Specified by:
      getIdentityBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for identity.
    • getFirstExecutionRunId

      public String getFirstExecutionRunId()
       This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.
       Used to identify a chain.
       
      string first_execution_run_id = 16;
      Specified by:
      getFirstExecutionRunId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The firstExecutionRunId.
    • getFirstExecutionRunIdBytes

      public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()
       This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.
       Used to identify a chain.
       
      string first_execution_run_id = 16;
      Specified by:
      getFirstExecutionRunIdBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for firstExecutionRunId.
    • hasRetryPolicy

      public boolean hasRetryPolicy()
      .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      Specified by:
      hasRetryPolicy in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public RetryPolicy getRetryPolicy()
      .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      Specified by:
      getRetryPolicy in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The retryPolicy.
    • getRetryPolicyOrBuilder

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
      .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      Specified by:
      getRetryPolicyOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getAttempt

      public int getAttempt()
       Starting at 1, the number of times we have tried to execute this workflow
       
      int32 attempt = 18;
      Specified by:
      getAttempt in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The attempt.
    • hasWorkflowExecutionExpirationTime

      public boolean hasWorkflowExecutionExpirationTime()
       The absolute time at which the workflow will be timed out.
       This is passed without change to the next run/retry of a workflow.
       
      .google.protobuf.Timestamp workflow_execution_expiration_time = 19;
      Specified by:
      hasWorkflowExecutionExpirationTime in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the workflowExecutionExpirationTime field is set.
    • getWorkflowExecutionExpirationTime

      public com.google.protobuf.Timestamp getWorkflowExecutionExpirationTime()
       The absolute time at which the workflow will be timed out.
       This is passed without change to the next run/retry of a workflow.
       
      .google.protobuf.Timestamp workflow_execution_expiration_time = 19;
      Specified by:
      getWorkflowExecutionExpirationTime in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The workflowExecutionExpirationTime.
    • getWorkflowExecutionExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getWorkflowExecutionExpirationTimeOrBuilder()
       The absolute time at which the workflow will be timed out.
       This is passed without change to the next run/retry of a workflow.
       
      .google.protobuf.Timestamp workflow_execution_expiration_time = 19;
      Specified by:
      getWorkflowExecutionExpirationTimeOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getCronSchedule

      public String getCronSchedule()
       If this workflow runs on a cron schedule, it will appear here
       
      string cron_schedule = 20;
      Specified by:
      getCronSchedule in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The cronSchedule.
    • getCronScheduleBytes

      public com.google.protobuf.ByteString getCronScheduleBytes()
       If this workflow runs on a cron schedule, it will appear here
       
      string cron_schedule = 20;
      Specified by:
      getCronScheduleBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for cronSchedule.
    • hasFirstWorkflowTaskBackoff

      public boolean hasFirstWorkflowTaskBackoff()
       For a cron workflow, this contains the amount of time between when this iteration of
       the cron workflow was scheduled and when it should run next per its cron_schedule.
       
      .google.protobuf.Duration first_workflow_task_backoff = 21;
      Specified by:
      hasFirstWorkflowTaskBackoff in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the firstWorkflowTaskBackoff field is set.
    • getFirstWorkflowTaskBackoff

      public com.google.protobuf.Duration getFirstWorkflowTaskBackoff()
       For a cron workflow, this contains the amount of time between when this iteration of
       the cron workflow was scheduled and when it should run next per its cron_schedule.
       
      .google.protobuf.Duration first_workflow_task_backoff = 21;
      Specified by:
      getFirstWorkflowTaskBackoff in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The firstWorkflowTaskBackoff.
    • getFirstWorkflowTaskBackoffOrBuilder

      public com.google.protobuf.DurationOrBuilder getFirstWorkflowTaskBackoffOrBuilder()
       For a cron workflow, this contains the amount of time between when this iteration of
       the cron workflow was scheduled and when it should run next per its cron_schedule.
       
      .google.protobuf.Duration first_workflow_task_backoff = 21;
      Specified by:
      getFirstWorkflowTaskBackoffOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasMemo

      public boolean hasMemo()
      .temporal.api.common.v1.Memo memo = 22;
      Specified by:
      hasMemo in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the memo field is set.
    • getMemo

      public Memo getMemo()
      .temporal.api.common.v1.Memo memo = 22;
      Specified by:
      getMemo in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The memo.
    • getMemoOrBuilder

      public MemoOrBuilder getMemoOrBuilder()
      .temporal.api.common.v1.Memo memo = 22;
      Specified by:
      getMemoOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasSearchAttributes

      public boolean hasSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 23;
      Specified by:
      hasSearchAttributes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the searchAttributes field is set.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 23;
      Specified by:
      getSearchAttributes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The searchAttributes.
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 23;
      Specified by:
      getSearchAttributesOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasPrevAutoResetPoints

      public boolean hasPrevAutoResetPoints()
      .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
      Specified by:
      hasPrevAutoResetPoints in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the prevAutoResetPoints field is set.
    • getPrevAutoResetPoints

      public ResetPoints getPrevAutoResetPoints()
      .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
      Specified by:
      getPrevAutoResetPoints in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The prevAutoResetPoints.
    • getPrevAutoResetPointsOrBuilder

      public ResetPointsOrBuilder getPrevAutoResetPointsOrBuilder()
      .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
      Specified by:
      getPrevAutoResetPointsOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasHeader

      public boolean hasHeader()
      .temporal.api.common.v1.Header header = 25;
      Specified by:
      hasHeader in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public Header getHeader()
      .temporal.api.common.v1.Header header = 25;
      Specified by:
      getHeader in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The header.
    • getHeaderOrBuilder

      public HeaderOrBuilder getHeaderOrBuilder()
      .temporal.api.common.v1.Header header = 25;
      Specified by:
      getHeaderOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getParentInitiatedEventVersion

      public long getParentInitiatedEventVersion()
       Version of the child execution initiated event in parent workflow
       It should be used together with parent_initiated_event_id to identify
       a child initiated event for global namespace
       
      int64 parent_initiated_event_version = 26;
      Specified by:
      getParentInitiatedEventVersion in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The parentInitiatedEventVersion.
    • getWorkflowId

      public String getWorkflowId()
       This field is new in 1.21.
       
      string workflow_id = 28;
      Specified by:
      getWorkflowId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The workflowId.
    • getWorkflowIdBytes

      public com.google.protobuf.ByteString getWorkflowIdBytes()
       This field is new in 1.21.
       
      string workflow_id = 28;
      Specified by:
      getWorkflowIdBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for workflowId.
    • hasSourceVersionStamp

      @Deprecated public boolean hasSourceVersionStamp()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated. See temporal/api/history/v1/message.proto;l=87
       If this workflow intends to use anything other than the current overall default version for
       the queue, then we include it here.
       Deprecated. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];
      Specified by:
      hasSourceVersionStamp in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the sourceVersionStamp field is set.
    • getSourceVersionStamp

      @Deprecated public WorkerVersionStamp getSourceVersionStamp()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated. See temporal/api/history/v1/message.proto;l=87
       If this workflow intends to use anything other than the current overall default version for
       the queue, then we include it here.
       Deprecated. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];
      Specified by:
      getSourceVersionStamp in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The sourceVersionStamp.
    • getSourceVersionStampOrBuilder

      @Deprecated public WorkerVersionStampOrBuilder getSourceVersionStampOrBuilder()
      Deprecated.
       If this workflow intends to use anything other than the current overall default version for
       the queue, then we include it here.
       Deprecated. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp source_version_stamp = 29 [deprecated = true];
      Specified by:
      getSourceVersionStampOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getCompletionCallbacksList

      public List<Callback> getCompletionCallbacksList()
       Completion callbacks attached when this workflow was started.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      Specified by:
      getCompletionCallbacksList in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getCompletionCallbacksOrBuilderList

      public List<? extends CallbackOrBuilder> getCompletionCallbacksOrBuilderList()
       Completion callbacks attached when this workflow was started.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      Specified by:
      getCompletionCallbacksOrBuilderList in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getCompletionCallbacksCount

      public int getCompletionCallbacksCount()
       Completion callbacks attached when this workflow was started.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      Specified by:
      getCompletionCallbacksCount in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getCompletionCallbacks

      public Callback getCompletionCallbacks(int index)
       Completion callbacks attached when this workflow was started.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      Specified by:
      getCompletionCallbacks in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getCompletionCallbacksOrBuilder

      public CallbackOrBuilder getCompletionCallbacksOrBuilder(int index)
       Completion callbacks attached when this workflow was started.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      Specified by:
      getCompletionCallbacksOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasRootWorkflowExecution

      public boolean hasRootWorkflowExecution()
       Contains information about the root workflow execution.
       The root workflow execution is defined as follows:
         1. A workflow without parent workflow is its own root workflow.
         2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
       When the workflow is its own root workflow, then root_workflow_execution is nil.
       Note: workflows continued as new or reseted may or may not have parents, check examples below.
      
       Examples:
         Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
           - W1 and W2 have root_workflow_execution set to nil.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
           - W1 and W2 have root_workflow_execution set to nil.
       
      .temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
      Specified by:
      hasRootWorkflowExecution in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the rootWorkflowExecution field is set.
    • getRootWorkflowExecution

      public WorkflowExecution getRootWorkflowExecution()
       Contains information about the root workflow execution.
       The root workflow execution is defined as follows:
         1. A workflow without parent workflow is its own root workflow.
         2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
       When the workflow is its own root workflow, then root_workflow_execution is nil.
       Note: workflows continued as new or reseted may or may not have parents, check examples below.
      
       Examples:
         Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
           - W1 and W2 have root_workflow_execution set to nil.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
           - W1 and W2 have root_workflow_execution set to nil.
       
      .temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
      Specified by:
      getRootWorkflowExecution in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The rootWorkflowExecution.
    • getRootWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getRootWorkflowExecutionOrBuilder()
       Contains information about the root workflow execution.
       The root workflow execution is defined as follows:
         1. A workflow without parent workflow is its own root workflow.
         2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
       When the workflow is its own root workflow, then root_workflow_execution is nil.
       Note: workflows continued as new or reseted may or may not have parents, check examples below.
      
       Examples:
         Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
           - W1 and W2 have root_workflow_execution set to nil.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
           - W1 has root_workflow_execution set to nil.
           - W2 and W3 have root_workflow_execution set to W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
           - W1 and W2 have root_workflow_execution set to nil.
       
      .temporal.api.common.v1.WorkflowExecution root_workflow_execution = 31;
      Specified by:
      getRootWorkflowExecutionOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getInheritedBuildId

      @Deprecated public String getInheritedBuildId()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120
       When present, this execution is assigned to the build ID of its parent or previous execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 32 [deprecated = true];
      Specified by:
      getInheritedBuildId in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The inheritedBuildId.
    • getInheritedBuildIdBytes

      @Deprecated public com.google.protobuf.ByteString getInheritedBuildIdBytes()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=120
       When present, this execution is assigned to the build ID of its parent or previous execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 32 [deprecated = true];
      Specified by:
      getInheritedBuildIdBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for inheritedBuildId.
    • hasVersioningOverride

      public boolean hasVersioningOverride()
       Versioning override applied to this workflow when it was started.
       Children, crons, retries, and continue-as-new will inherit source run's override if pinned
       and if the new workflow's Task Queue belongs to the override version.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 33;
      Specified by:
      hasVersioningOverride in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the versioningOverride field is set.
    • getVersioningOverride

      public VersioningOverride getVersioningOverride()
       Versioning override applied to this workflow when it was started.
       Children, crons, retries, and continue-as-new will inherit source run's override if pinned
       and if the new workflow's Task Queue belongs to the override version.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 33;
      Specified by:
      getVersioningOverride in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The versioningOverride.
    • getVersioningOverrideOrBuilder

      public VersioningOverrideOrBuilder getVersioningOverrideOrBuilder()
       Versioning override applied to this workflow when it was started.
       Children, crons, retries, and continue-as-new will inherit source run's override if pinned
       and if the new workflow's Task Queue belongs to the override version.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 33;
      Specified by:
      getVersioningOverrideOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getParentPinnedWorkerDeploymentVersion

      @Deprecated public String getParentPinnedWorkerDeploymentVersion()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131
       When present, it means this is a child workflow of a parent that is Pinned to this Worker
       Deployment Version. In this case, child workflow will start as Pinned to this Version instead
       of starting on the Current Version of its Task Queue.
       This is set only if the child workflow is starting on a Task Queue belonging to the same
       Worker Deployment Version.
       Deprecated. Use `parent_versioning_info`.
       
      string parent_pinned_worker_deployment_version = 34 [deprecated = true];
      Specified by:
      getParentPinnedWorkerDeploymentVersion in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The parentPinnedWorkerDeploymentVersion.
    • getParentPinnedWorkerDeploymentVersionBytes

      @Deprecated public com.google.protobuf.ByteString getParentPinnedWorkerDeploymentVersionBytes()
      Deprecated.
      temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=131
       When present, it means this is a child workflow of a parent that is Pinned to this Worker
       Deployment Version. In this case, child workflow will start as Pinned to this Version instead
       of starting on the Current Version of its Task Queue.
       This is set only if the child workflow is starting on a Task Queue belonging to the same
       Worker Deployment Version.
       Deprecated. Use `parent_versioning_info`.
       
      string parent_pinned_worker_deployment_version = 34 [deprecated = true];
      Specified by:
      getParentPinnedWorkerDeploymentVersionBytes in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The bytes for parentPinnedWorkerDeploymentVersion.
    • hasPriority

      public boolean hasPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 35;
      Specified by:
      hasPriority in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public Priority getPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 35;
      Specified by:
      getPriority in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The priority.
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 35;
      Specified by:
      getPriorityOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasInheritedPinnedVersion

      public boolean hasInheritedPinnedVersion()
       If present, the new workflow should start on this version with pinned base behavior.
       Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version.
      
       A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the
       new run's Task Queue belongs to that version.
      
       A new run initiated by workflow Cron will never inherit.
      
       A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time
       of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned
       parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version).
      
       Pinned override is inherited if Task Queue of new run is compatible with the override version.
       Override is inherited separately and takes precedence over inherited base version.
      
       Note: This field is mutually exclusive with inherited_auto_upgrade_info.
       Additionaly, versioning_override, if present, overrides this field during routing decisions.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;
      Specified by:
      hasInheritedPinnedVersion in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the inheritedPinnedVersion field is set.
    • getInheritedPinnedVersion

      public WorkerDeploymentVersion getInheritedPinnedVersion()
       If present, the new workflow should start on this version with pinned base behavior.
       Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version.
      
       A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the
       new run's Task Queue belongs to that version.
      
       A new run initiated by workflow Cron will never inherit.
      
       A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time
       of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned
       parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version).
      
       Pinned override is inherited if Task Queue of new run is compatible with the override version.
       Override is inherited separately and takes precedence over inherited base version.
      
       Note: This field is mutually exclusive with inherited_auto_upgrade_info.
       Additionaly, versioning_override, if present, overrides this field during routing decisions.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;
      Specified by:
      getInheritedPinnedVersion in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The inheritedPinnedVersion.
    • getInheritedPinnedVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getInheritedPinnedVersionOrBuilder()
       If present, the new workflow should start on this version with pinned base behavior.
       Child of pinned parent will inherit the parent's version if the Child's Task Queue belongs to that version.
      
       A new run initiated by workflow ContinueAsNew of pinned run, will inherit the previous run's version if the
       new run's Task Queue belongs to that version.
      
       A new run initiated by workflow Cron will never inherit.
      
       A new run initiated by workflow Retry will only inherit if the retried run is effectively pinned at the time
       of retry, and the retried run inherited a pinned version when it started (ie. it is a child of a pinned
       parent, or a CaN of a pinned run, and is running on a Task Queue in the inherited version).
      
       Pinned override is inherited if Task Queue of new run is compatible with the override version.
       Override is inherited separately and takes precedence over inherited base version.
      
       Note: This field is mutually exclusive with inherited_auto_upgrade_info.
       Additionaly, versioning_override, if present, overrides this field during routing decisions.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;
      Specified by:
      getInheritedPinnedVersionOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasInheritedAutoUpgradeInfo

      public boolean hasInheritedAutoUpgradeInfo()
       If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the
       first workflow task, this field is set to the deployment version on which the parent/
       previous run was operating. This inheritance only happens when the task queues belong to
       the same deployment version. The first workflow task will then be dispatched to either
       this inherited deployment version, or the current deployment version of the task queue's
       Deployment. After the first workflow task, the effective behavior depends on worker-sent
       values in subsequent workflow tasks.
      
       Inheritance rules:
         - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version
         - Cron: never inherits
         - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of
           retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an
           AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same
           deployment as the parent/previous run)
      
       Additional notes:
       - This field is mutually exclusive with `inherited_pinned_version`.
       - `versioning_override`, if present, overrides this field during routing decisions.
       - SDK implementations do not interact with this field and is only used internally by
         the server to ensure task routing correctness.
       
      .temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39;
      Specified by:
      hasInheritedAutoUpgradeInfo in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the inheritedAutoUpgradeInfo field is set.
    • getInheritedAutoUpgradeInfo

      public InheritedAutoUpgradeInfo getInheritedAutoUpgradeInfo()
       If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the
       first workflow task, this field is set to the deployment version on which the parent/
       previous run was operating. This inheritance only happens when the task queues belong to
       the same deployment version. The first workflow task will then be dispatched to either
       this inherited deployment version, or the current deployment version of the task queue's
       Deployment. After the first workflow task, the effective behavior depends on worker-sent
       values in subsequent workflow tasks.
      
       Inheritance rules:
         - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version
         - Cron: never inherits
         - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of
           retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an
           AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same
           deployment as the parent/previous run)
      
       Additional notes:
       - This field is mutually exclusive with `inherited_pinned_version`.
       - `versioning_override`, if present, overrides this field during routing decisions.
       - SDK implementations do not interact with this field and is only used internally by
         the server to ensure task routing correctness.
       
      .temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39;
      Specified by:
      getInheritedAutoUpgradeInfo in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The inheritedAutoUpgradeInfo.
    • getInheritedAutoUpgradeInfoOrBuilder

      public InheritedAutoUpgradeInfoOrBuilder getInheritedAutoUpgradeInfoOrBuilder()
       If present, the new workflow begins with AutoUpgrade behavior. Before dispatching the
       first workflow task, this field is set to the deployment version on which the parent/
       previous run was operating. This inheritance only happens when the task queues belong to
       the same deployment version. The first workflow task will then be dispatched to either
       this inherited deployment version, or the current deployment version of the task queue's
       Deployment. After the first workflow task, the effective behavior depends on worker-sent
       values in subsequent workflow tasks.
      
       Inheritance rules:
         - ContinueAsNew and child workflows: inherit AutoUpgrade behavior and deployment version
         - Cron: never inherits
         - Retry: inherits only if the retried run is effectively AutoUpgrade at the time of
           retry, and inherited AutoUpgrade behavior when it started (i.e. it is a child of an
           AutoUpgrade parent or ContinueAsNew of an AutoUpgrade run, running on the same
           deployment as the parent/previous run)
      
       Additional notes:
       - This field is mutually exclusive with `inherited_pinned_version`.
       - `versioning_override`, if present, overrides this field during routing decisions.
       - SDK implementations do not interact with this field and is only used internally by
         the server to ensure task routing correctness.
       
      .temporal.api.deployment.v1.InheritedAutoUpgradeInfo inherited_auto_upgrade_info = 39;
      Specified by:
      getInheritedAutoUpgradeInfoOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • getEagerExecutionAccepted

      public boolean getEagerExecutionAccepted()
       A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and
       eager execution was accepted by the server.
       Only populated by server with version >= 1.29.0.
       
      bool eager_execution_accepted = 38;
      Specified by:
      getEagerExecutionAccepted in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The eagerExecutionAccepted.
    • hasDeclinedTargetVersionUpgrade

      public boolean hasDeclinedTargetVersionUpgrade()
       During a previous run of this workflow, the server may have notified the SDK
       that the Target Worker Deployment Version changed, but the SDK declined to
       upgrade (e.g., by continuing-as-new with PINNED behavior). This field records
       the target version that was declined.
      
       This is a wrapper message to distinguish "never declined" (nil wrapper) from
       "declined an unversioned target" (non-nil wrapper with nil deployment_version).
      
       Used internally by the server during continue-as-new and retry.
       Should not be read or interpreted by SDKs.
       
      .temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;
      Specified by:
      hasDeclinedTargetVersionUpgrade in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the declinedTargetVersionUpgrade field is set.
    • getDeclinedTargetVersionUpgrade

      public DeclinedTargetVersionUpgrade getDeclinedTargetVersionUpgrade()
       During a previous run of this workflow, the server may have notified the SDK
       that the Target Worker Deployment Version changed, but the SDK declined to
       upgrade (e.g., by continuing-as-new with PINNED behavior). This field records
       the target version that was declined.
      
       This is a wrapper message to distinguish "never declined" (nil wrapper) from
       "declined an unversioned target" (non-nil wrapper with nil deployment_version).
      
       Used internally by the server during continue-as-new and retry.
       Should not be read or interpreted by SDKs.
       
      .temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;
      Specified by:
      getDeclinedTargetVersionUpgrade in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The declinedTargetVersionUpgrade.
    • getDeclinedTargetVersionUpgradeOrBuilder

      public DeclinedTargetVersionUpgradeOrBuilder getDeclinedTargetVersionUpgradeOrBuilder()
       During a previous run of this workflow, the server may have notified the SDK
       that the Target Worker Deployment Version changed, but the SDK declined to
       upgrade (e.g., by continuing-as-new with PINNED behavior). This field records
       the target version that was declined.
      
       This is a wrapper message to distinguish "never declined" (nil wrapper) from
       "declined an unversioned target" (non-nil wrapper with nil deployment_version).
      
       Used internally by the server during continue-as-new and retry.
       Should not be read or interpreted by SDKs.
       
      .temporal.api.history.v1.DeclinedTargetVersionUpgrade declined_target_version_upgrade = 40;
      Specified by:
      getDeclinedTargetVersionUpgradeOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasTimeSkippingConfig

      public boolean hasTimeSkippingConfig()
       Initial time-skipping configuration for this workflow execution, recorded at start time.
       This may have been set explicitly via the start workflow request, or propagated from a
       parent/previous execution.
      
       The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
       will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
       
      .temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41;
      Specified by:
      hasTimeSkippingConfig in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the timeSkippingConfig field is set.
    • getTimeSkippingConfig

      public TimeSkippingConfig getTimeSkippingConfig()
       Initial time-skipping configuration for this workflow execution, recorded at start time.
       This may have been set explicitly via the start workflow request, or propagated from a
       parent/previous execution.
      
       The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
       will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
       
      .temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41;
      Specified by:
      getTimeSkippingConfig in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The timeSkippingConfig.
    • getTimeSkippingConfigOrBuilder

      public TimeSkippingConfigOrBuilder getTimeSkippingConfigOrBuilder()
       Initial time-skipping configuration for this workflow execution, recorded at start time.
       This may have been set explicitly via the start workflow request, or propagated from a
       parent/previous execution.
      
       The configuration may be updated after start via UpdateWorkflowExecutionOptions, which
       will be reflected in the WorkflowExecutionOptionsUpdatedEvent.
       
      .temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 41;
      Specified by:
      getTimeSkippingConfigOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • hasTimeSkippingStatePropagation

      public boolean hasTimeSkippingStatePropagation()
       The time-skipping state propagated from a previous run of this workflow. This can be nil
       if no time skipping has occurred or there is no previous run.
       
      .temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43;
      Specified by:
      hasTimeSkippingStatePropagation in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      Whether the timeSkippingStatePropagation field is set.
    • getTimeSkippingStatePropagation

      public TimeSkippingStatePropagation getTimeSkippingStatePropagation()
       The time-skipping state propagated from a previous run of this workflow. This can be nil
       if no time skipping has occurred or there is no previous run.
       
      .temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43;
      Specified by:
      getTimeSkippingStatePropagation in interface WorkflowExecutionStartedEventAttributesOrBuilder
      Returns:
      The timeSkippingStatePropagation.
    • getTimeSkippingStatePropagationOrBuilder

      public TimeSkippingStatePropagationOrBuilder getTimeSkippingStatePropagationOrBuilder()
       The time-skipping state propagated from a previous run of this workflow. This can be nil
       if no time skipping has occurred or there is no previous run.
       
      .temporal.api.common.v1.TimeSkippingStatePropagation time_skipping_state_propagation = 43;
      Specified by:
      getTimeSkippingStatePropagationOrBuilder in interface WorkflowExecutionStartedEventAttributesOrBuilder
    • 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 WorkflowExecutionStartedEventAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionStartedEventAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static WorkflowExecutionStartedEventAttributes parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected WorkflowExecutionStartedEventAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static WorkflowExecutionStartedEventAttributes getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<WorkflowExecutionStartedEventAttributes> parser()
    • getParserForType

      public com.google.protobuf.Parser<WorkflowExecutionStartedEventAttributes> 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 WorkflowExecutionStartedEventAttributes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder