Class WorkflowExecutionStartedEventAttributes.Builder

    • Method Detail

      • 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.Builder<WorkflowExecutionStartedEventAttributes.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
      • getDefaultInstanceForType

        public WorkflowExecutionStartedEventAttributes getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WorkflowExecutionStartedEventAttributes build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WorkflowExecutionStartedEventAttributes buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionStartedEventAttributes.Builder>
      • mergeFrom

        public WorkflowExecutionStartedEventAttributes.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionStartedEventAttributes.Builder>
        Throws:
        java.io.IOException
      • getWorkflowTypeBuilder

        public WorkflowType.Builder getWorkflowTypeBuilder()
        .temporal.api.common.v1.WorkflowType workflow_type = 1;
      • 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.
      • setParentWorkflowNamespace

        public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespace​(java.lang.String value)
         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;
        Parameters:
        value - The parentWorkflowNamespace to set.
        Returns:
        This builder for chaining.
      • clearParentWorkflowNamespace

        public WorkflowExecutionStartedEventAttributes.Builder clearParentWorkflowNamespace()
         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;
        Returns:
        This builder for chaining.
      • setParentWorkflowNamespaceBytes

        public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespaceBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for parentWorkflowNamespace to set.
        Returns:
        This builder for chaining.
      • setParentWorkflowNamespaceId

        public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespaceId​(java.lang.String value)
        string parent_workflow_namespace_id = 27;
        Parameters:
        value - The parentWorkflowNamespaceId to set.
        Returns:
        This builder for chaining.
      • setParentWorkflowNamespaceIdBytes

        public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowNamespaceIdBytes​(com.google.protobuf.ByteString value)
        string parent_workflow_namespace_id = 27;
        Parameters:
        value - The bytes for parentWorkflowNamespaceId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setParentWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowExecution​(WorkflowExecution value)
         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;
      • setParentWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder setParentWorkflowExecution​(WorkflowExecution.Builder builderForValue)
         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;
      • mergeParentWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder mergeParentWorkflowExecution​(WorkflowExecution value)
         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;
      • clearParentWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder clearParentWorkflowExecution()
         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;
      • getParentWorkflowExecutionBuilder

        public WorkflowExecution.Builder getParentWorkflowExecutionBuilder()
         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;
      • setParentInitiatedEventId

        public WorkflowExecutionStartedEventAttributes.Builder setParentInitiatedEventId​(long value)
         EventID of the child execution initiated event in parent workflow
         
        int64 parent_initiated_event_id = 4;
        Parameters:
        value - The parentInitiatedEventId to set.
        Returns:
        This builder for chaining.
      • clearParentInitiatedEventId

        public WorkflowExecutionStartedEventAttributes.Builder clearParentInitiatedEventId()
         EventID of the child execution initiated event in parent workflow
         
        int64 parent_initiated_event_id = 4;
        Returns:
        This builder for chaining.
      • getTaskQueueBuilder

        public TaskQueue.Builder getTaskQueueBuilder()
        .temporal.api.taskqueue.v1.TaskQueue task_queue = 5;
      • 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.
      • getInputBuilder

        public Payloads.Builder getInputBuilder()
         SDK will deserialize this and provide it as arguments to the workflow function
         
        .temporal.api.common.v1.Payloads input = 6;
      • setWorkflowExecutionTimeout

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout​(com.google.protobuf.Duration value)
         Total workflow execution timeout including retries and continue as new.
         
        .google.protobuf.Duration workflow_execution_timeout = 7;
      • setWorkflowExecutionTimeout

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Total workflow execution timeout including retries and continue as new.
         
        .google.protobuf.Duration workflow_execution_timeout = 7;
      • mergeWorkflowExecutionTimeout

        public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowExecutionTimeout​(com.google.protobuf.Duration value)
         Total workflow execution timeout including retries and continue as new.
         
        .google.protobuf.Duration workflow_execution_timeout = 7;
      • clearWorkflowExecutionTimeout

        public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowExecutionTimeout()
         Total workflow execution timeout including retries and continue as new.
         
        .google.protobuf.Duration workflow_execution_timeout = 7;
      • getWorkflowExecutionTimeoutBuilder

        public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()
         Total workflow execution timeout including retries and continue as new.
         
        .google.protobuf.Duration workflow_execution_timeout = 7;
      • setWorkflowRunTimeout

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowRunTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Timeout of a single workflow run.
         
        .google.protobuf.Duration workflow_run_timeout = 8;
      • getWorkflowRunTimeoutBuilder

        public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()
         Timeout of a single workflow run.
         
        .google.protobuf.Duration workflow_run_timeout = 8;
      • setWorkflowTaskTimeout

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowTaskTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Timeout of a single workflow task.
         
        .google.protobuf.Duration workflow_task_timeout = 9;
      • mergeWorkflowTaskTimeout

        public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowTaskTimeout​(com.google.protobuf.Duration value)
         Timeout of a single workflow task.
         
        .google.protobuf.Duration workflow_task_timeout = 9;
      • getWorkflowTaskTimeoutBuilder

        public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()
         Timeout of a single workflow task.
         
        .google.protobuf.Duration workflow_task_timeout = 9;
      • 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.
      • setContinuedExecutionRunId

        public WorkflowExecutionStartedEventAttributes.Builder setContinuedExecutionRunId​(java.lang.String value)
         Run id of the previous workflow which continued-as-new or retried or cron executed into this
         workflow.
         
        string continued_execution_run_id = 10;
        Parameters:
        value - The continuedExecutionRunId to set.
        Returns:
        This builder for chaining.
      • clearContinuedExecutionRunId

        public WorkflowExecutionStartedEventAttributes.Builder clearContinuedExecutionRunId()
         Run id of the previous workflow which continued-as-new or retried or cron executed into this
         workflow.
         
        string continued_execution_run_id = 10;
        Returns:
        This builder for chaining.
      • setContinuedExecutionRunIdBytes

        public WorkflowExecutionStartedEventAttributes.Builder setContinuedExecutionRunIdBytes​(com.google.protobuf.ByteString value)
         Run id of the previous workflow which continued-as-new or retried or cron executed into this
         workflow.
         
        string continued_execution_run_id = 10;
        Parameters:
        value - The bytes for continuedExecutionRunId to set.
        Returns:
        This builder for chaining.
      • setInitiatorValue

        public WorkflowExecutionStartedEventAttributes.Builder setInitiatorValue​(int value)
        .temporal.api.enums.v1.ContinueAsNewInitiator initiator = 11;
        Parameters:
        value - The enum numeric value on the wire for initiator to set.
        Returns:
        This builder for chaining.
      • getContinuedFailureBuilder

        public Failure.Builder getContinuedFailureBuilder()
        .temporal.api.failure.v1.Failure continued_failure = 12;
      • getLastCompletionResultBuilder

        public Payloads.Builder getLastCompletionResultBuilder()
        .temporal.api.common.v1.Payloads last_completion_result = 13;
      • 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.
      • setOriginalExecutionRunId

        public WorkflowExecutionStartedEventAttributes.Builder setOriginalExecutionRunId​(java.lang.String value)
         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;
        Parameters:
        value - The originalExecutionRunId to set.
        Returns:
        This builder for chaining.
      • clearOriginalExecutionRunId

        public WorkflowExecutionStartedEventAttributes.Builder clearOriginalExecutionRunId()
         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;
        Returns:
        This builder for chaining.
      • setOriginalExecutionRunIdBytes

        public WorkflowExecutionStartedEventAttributes.Builder setOriginalExecutionRunIdBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for originalExecutionRunId to set.
        Returns:
        This builder for chaining.
      • setIdentity

        public WorkflowExecutionStartedEventAttributes.Builder setIdentity​(java.lang.String value)
         Identity of the client who requested this execution
         
        string identity = 15;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public WorkflowExecutionStartedEventAttributes.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         Identity of the client who requested this execution
         
        string identity = 15;
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.
      • 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.
      • setFirstExecutionRunId

        public WorkflowExecutionStartedEventAttributes.Builder setFirstExecutionRunId​(java.lang.String value)
         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;
        Parameters:
        value - The firstExecutionRunId to set.
        Returns:
        This builder for chaining.
      • clearFirstExecutionRunId

        public WorkflowExecutionStartedEventAttributes.Builder clearFirstExecutionRunId()
         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;
        Returns:
        This builder for chaining.
      • setFirstExecutionRunIdBytes

        public WorkflowExecutionStartedEventAttributes.Builder setFirstExecutionRunIdBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for firstExecutionRunId to set.
        Returns:
        This builder for chaining.
      • getRetryPolicyBuilder

        public RetryPolicy.Builder getRetryPolicyBuilder()
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      • setAttempt

        public WorkflowExecutionStartedEventAttributes.Builder setAttempt​(int value)
         Starting at 1, the number of times we have tried to execute this workflow
         
        int32 attempt = 18;
        Parameters:
        value - The attempt to set.
        Returns:
        This builder for chaining.
      • 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.
      • setWorkflowExecutionExpirationTime

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionExpirationTime​(com.google.protobuf.Timestamp value)
         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;
      • setWorkflowExecutionExpirationTime

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowExecutionExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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;
      • mergeWorkflowExecutionExpirationTime

        public WorkflowExecutionStartedEventAttributes.Builder mergeWorkflowExecutionExpirationTime​(com.google.protobuf.Timestamp value)
         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;
      • clearWorkflowExecutionExpirationTime

        public WorkflowExecutionStartedEventAttributes.Builder clearWorkflowExecutionExpirationTime()
         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;
      • getWorkflowExecutionExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getWorkflowExecutionExpirationTimeBuilder()
         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;
      • 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
      • setCronSchedule

        public WorkflowExecutionStartedEventAttributes.Builder setCronSchedule​(java.lang.String value)
         If this workflow runs on a cron schedule, it will appear here
         
        string cron_schedule = 20;
        Parameters:
        value - The cronSchedule to set.
        Returns:
        This builder for chaining.
      • setCronScheduleBytes

        public WorkflowExecutionStartedEventAttributes.Builder setCronScheduleBytes​(com.google.protobuf.ByteString value)
         If this workflow runs on a cron schedule, it will appear here
         
        string cron_schedule = 20;
        Parameters:
        value - The bytes for cronSchedule to set.
        Returns:
        This builder for chaining.
      • 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.
      • setFirstWorkflowTaskBackoff

        public WorkflowExecutionStartedEventAttributes.Builder setFirstWorkflowTaskBackoff​(com.google.protobuf.Duration value)
         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;
      • setFirstWorkflowTaskBackoff

        public WorkflowExecutionStartedEventAttributes.Builder setFirstWorkflowTaskBackoff​(com.google.protobuf.Duration.Builder builderForValue)
         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;
      • mergeFirstWorkflowTaskBackoff

        public WorkflowExecutionStartedEventAttributes.Builder mergeFirstWorkflowTaskBackoff​(com.google.protobuf.Duration value)
         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;
      • clearFirstWorkflowTaskBackoff

        public WorkflowExecutionStartedEventAttributes.Builder clearFirstWorkflowTaskBackoff()
         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;
      • getFirstWorkflowTaskBackoffBuilder

        public com.google.protobuf.Duration.Builder getFirstWorkflowTaskBackoffBuilder()
         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;
      • 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
      • getMemoBuilder

        public Memo.Builder getMemoBuilder()
        .temporal.api.common.v1.Memo memo = 22;
      • getSearchAttributesBuilder

        public SearchAttributes.Builder getSearchAttributesBuilder()
        .temporal.api.common.v1.SearchAttributes search_attributes = 23;
      • getPrevAutoResetPointsBuilder

        public ResetPoints.Builder getPrevAutoResetPointsBuilder()
        .temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24;
      • getHeaderBuilder

        public Header.Builder getHeaderBuilder()
        .temporal.api.common.v1.Header header = 25;
      • 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.
      • setParentInitiatedEventVersion

        public WorkflowExecutionStartedEventAttributes.Builder setParentInitiatedEventVersion​(long value)
         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;
        Parameters:
        value - The parentInitiatedEventVersion to set.
        Returns:
        This builder for chaining.
      • clearParentInitiatedEventVersion

        public WorkflowExecutionStartedEventAttributes.Builder clearParentInitiatedEventVersion()
         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;
        Returns:
        This builder for chaining.
      • setWorkflowId

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowId​(java.lang.String value)
         This field is new in 1.21.
         
        string workflow_id = 28;
        Parameters:
        value - The workflowId to set.
        Returns:
        This builder for chaining.
      • setWorkflowIdBytes

        public WorkflowExecutionStartedEventAttributes.Builder setWorkflowIdBytes​(com.google.protobuf.ByteString value)
         This field is new in 1.21.
         
        string workflow_id = 28;
        Parameters:
        value - The bytes for workflowId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setSourceVersionStamp

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder setSourceVersionStamp​(WorkerVersionStamp value)
        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];
      • setSourceVersionStamp

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder setSourceVersionStamp​(WorkerVersionStamp.Builder builderForValue)
        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];
      • mergeSourceVersionStamp

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder mergeSourceVersionStamp​(WorkerVersionStamp value)
        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];
      • clearSourceVersionStamp

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder clearSourceVersionStamp()
        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];
      • getSourceVersionStampBuilder

        @Deprecated
        public WorkerVersionStamp.Builder getSourceVersionStampBuilder()
        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];
      • addAllCompletionCallbacks

        public WorkflowExecutionStartedEventAttributes.Builder addAllCompletionCallbacks​(java.lang.Iterable<? extends Callback> values)
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • clearCompletionCallbacks

        public WorkflowExecutionStartedEventAttributes.Builder clearCompletionCallbacks()
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • removeCompletionCallbacks

        public WorkflowExecutionStartedEventAttributes.Builder removeCompletionCallbacks​(int index)
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • getCompletionCallbacksBuilder

        public Callback.Builder getCompletionCallbacksBuilder​(int index)
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • addCompletionCallbacksBuilder

        public Callback.Builder addCompletionCallbacksBuilder()
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • addCompletionCallbacksBuilder

        public Callback.Builder addCompletionCallbacksBuilder​(int index)
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • getCompletionCallbacksBuilderList

        public java.util.List<Callback.Builder> getCompletionCallbacksBuilderList()
         Completion callbacks attached when this workflow was started.
         
        repeated .temporal.api.common.v1.Callback completion_callbacks = 30;
      • 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.
      • setRootWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder setRootWorkflowExecution​(WorkflowExecution value)
         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;
      • setRootWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder setRootWorkflowExecution​(WorkflowExecution.Builder builderForValue)
         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;
      • mergeRootWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder mergeRootWorkflowExecution​(WorkflowExecution value)
         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;
      • clearRootWorkflowExecution

        public WorkflowExecutionStartedEventAttributes.Builder clearRootWorkflowExecution()
         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;
      • getRootWorkflowExecutionBuilder

        public WorkflowExecution.Builder getRootWorkflowExecutionBuilder()
         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;
      • 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.
      • setInheritedBuildId

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder setInheritedBuildId​(java.lang.String value)
        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];
        Parameters:
        value - The inheritedBuildId to set.
        Returns:
        This builder for chaining.
      • clearInheritedBuildId

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder clearInheritedBuildId()
        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];
        Returns:
        This builder for chaining.
      • setInheritedBuildIdBytes

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder setInheritedBuildIdBytes​(com.google.protobuf.ByteString value)
        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];
        Parameters:
        value - The bytes for inheritedBuildId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setVersioningOverride

        public WorkflowExecutionStartedEventAttributes.Builder setVersioningOverride​(VersioningOverride value)
         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;
      • setVersioningOverride

        public WorkflowExecutionStartedEventAttributes.Builder setVersioningOverride​(VersioningOverride.Builder builderForValue)
         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;
      • mergeVersioningOverride

        public WorkflowExecutionStartedEventAttributes.Builder mergeVersioningOverride​(VersioningOverride value)
         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;
      • clearVersioningOverride

        public WorkflowExecutionStartedEventAttributes.Builder clearVersioningOverride()
         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;
      • getVersioningOverrideBuilder

        public VersioningOverride.Builder getVersioningOverrideBuilder()
         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;
      • 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.
      • setParentPinnedWorkerDeploymentVersion

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder setParentPinnedWorkerDeploymentVersion​(java.lang.String value)
        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];
        Parameters:
        value - The parentPinnedWorkerDeploymentVersion to set.
        Returns:
        This builder for chaining.
      • clearParentPinnedWorkerDeploymentVersion

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder clearParentPinnedWorkerDeploymentVersion()
        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];
        Returns:
        This builder for chaining.
      • setParentPinnedWorkerDeploymentVersionBytes

        @Deprecated
        public WorkflowExecutionStartedEventAttributes.Builder setParentPinnedWorkerDeploymentVersionBytes​(com.google.protobuf.ByteString value)
        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];
        Parameters:
        value - The bytes for parentPinnedWorkerDeploymentVersion to set.
        Returns:
        This builder for chaining.
      • getPriorityBuilder

        public Priority.Builder getPriorityBuilder()
         Priority metadata
         
        .temporal.api.common.v1.Priority priority = 35;
      • 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.
      • setInheritedPinnedVersion

        public WorkflowExecutionStartedEventAttributes.Builder setInheritedPinnedVersion​(WorkerDeploymentVersion value)
         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;
      • setInheritedPinnedVersion

        public WorkflowExecutionStartedEventAttributes.Builder setInheritedPinnedVersion​(WorkerDeploymentVersion.Builder builderForValue)
         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;
      • mergeInheritedPinnedVersion

        public WorkflowExecutionStartedEventAttributes.Builder mergeInheritedPinnedVersion​(WorkerDeploymentVersion value)
         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;
      • clearInheritedPinnedVersion

        public WorkflowExecutionStartedEventAttributes.Builder clearInheritedPinnedVersion()
         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;
      • getInheritedPinnedVersionBuilder

        public WorkerDeploymentVersion.Builder getInheritedPinnedVersionBuilder()
         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;
      • 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.
      • setEagerExecutionAccepted

        public WorkflowExecutionStartedEventAttributes.Builder setEagerExecutionAccepted​(boolean value)
         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;
        Parameters:
        value - The eagerExecutionAccepted to set.
        Returns:
        This builder for chaining.
      • clearEagerExecutionAccepted

        public WorkflowExecutionStartedEventAttributes.Builder clearEagerExecutionAccepted()
         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;
        Returns:
        This builder for chaining.