Class WorkflowExecutionStartedEventAttributes

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionStartedEventAttributesOrBuilder, java.io.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:
    Serialized Form
    • Field Detail

      • WORKFLOW_TYPE_FIELD_NUMBER

        public static final int WORKFLOW_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_WORKFLOW_NAMESPACE_FIELD_NUMBER

        public static final int PARENT_WORKFLOW_NAMESPACE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_WORKFLOW_NAMESPACE_ID_FIELD_NUMBER

        public static final int PARENT_WORKFLOW_NAMESPACE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_WORKFLOW_EXECUTION_FIELD_NUMBER

        public static final int PARENT_WORKFLOW_EXECUTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_INITIATED_EVENT_ID_FIELD_NUMBER

        public static final int PARENT_INITIATED_EVENT_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TASK_QUEUE_FIELD_NUMBER

        public static final int TASK_QUEUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER

        public static final int WORKFLOW_EXECUTION_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER

        public static final int WORKFLOW_RUN_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER

        public static final int WORKFLOW_TASK_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTINUED_EXECUTION_RUN_ID_FIELD_NUMBER

        public static final int CONTINUED_EXECUTION_RUN_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTINUED_FAILURE_FIELD_NUMBER

        public static final int CONTINUED_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_COMPLETION_RESULT_FIELD_NUMBER

        public static final int LAST_COMPLETION_RESULT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORIGINAL_EXECUTION_RUN_ID_FIELD_NUMBER

        public static final int ORIGINAL_EXECUTION_RUN_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_EXECUTION_RUN_ID_FIELD_NUMBER

        public static final int FIRST_EXECUTION_RUN_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RETRY_POLICY_FIELD_NUMBER

        public static final int RETRY_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WORKFLOW_EXECUTION_EXPIRATION_TIME_FIELD_NUMBER

        public static final int WORKFLOW_EXECUTION_EXPIRATION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CRON_SCHEDULE_FIELD_NUMBER

        public static final int CRON_SCHEDULE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_WORKFLOW_TASK_BACKOFF_FIELD_NUMBER

        public static final int FIRST_WORKFLOW_TASK_BACKOFF_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SEARCH_ATTRIBUTES_FIELD_NUMBER

        public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PREV_AUTO_RESET_POINTS_FIELD_NUMBER

        public static final int PREV_AUTO_RESET_POINTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_INITIATED_EVENT_VERSION_FIELD_NUMBER

        public static final int PARENT_INITIATED_EVENT_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WORKFLOW_ID_FIELD_NUMBER

        public static final int WORKFLOW_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SOURCE_VERSION_STAMP_FIELD_NUMBER

        public static final int SOURCE_VERSION_STAMP_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COMPLETION_CALLBACKS_FIELD_NUMBER

        public static final int COMPLETION_CALLBACKS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ROOT_WORKFLOW_EXECUTION_FIELD_NUMBER

        public static final int ROOT_WORKFLOW_EXECUTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INHERITED_BUILD_ID_FIELD_NUMBER

        public static final int INHERITED_BUILD_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VERSIONING_OVERRIDE_FIELD_NUMBER

        public static final int VERSIONING_OVERRIDE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARENT_PINNED_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER

        public static final int PARENT_PINNED_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INHERITED_PINNED_VERSION_FIELD_NUMBER

        public static final int INHERITED_PINNED_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EAGER_EXECUTION_ACCEPTED_FIELD_NUMBER

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

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

        public java.lang.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.
      • 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.
      • 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.
      • 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.
      • getOriginalExecutionRunId

        public java.lang.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.
      • getFirstExecutionRunId

        public java.lang.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.
      • 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
      • 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
      • 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.
      • hasSourceVersionStamp

        @Deprecated
        public boolean hasSourceVersionStamp()
        Deprecated.
        temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.source_version_stamp is deprecated. See temporal/api/history/v1/message.proto;l=86
         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=86
         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.
      • 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 java.lang.String getInheritedBuildId()
        Deprecated.
        temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.inherited_build_id is deprecated. See temporal/api/history/v1/message.proto;l=119
         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=119
         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.
      • getParentPinnedWorkerDeploymentVersion

        @Deprecated
        public java.lang.String getParentPinnedWorkerDeploymentVersion()
        Deprecated.
        temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parent_pinned_worker_deployment_version is deprecated. See temporal/api/history/v1/message.proto;l=130
         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=130
         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.
      • 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.
        
         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.
        
         New run initiated by workflow Cron will never inherit.
        
         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.
         
        .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.
        
         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.
        
         New run initiated by workflow Cron will never inherit.
        
         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.
         
        .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.
        
         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.
        
         New run initiated by workflow Cron will never inherit.
        
         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.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion inherited_pinned_version = 37;
        Specified by:
        getInheritedPinnedVersionOrBuilder 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.
      • 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 WorkflowExecutionStartedEventAttributes parseFrom​(java.nio.ByteBuffer data)
                                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkflowExecutionStartedEventAttributes parseFrom​(java.nio.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​(java.io.InputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

        public WorkflowExecutionStartedEventAttributes.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType 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
      • 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