Class StartWorkflowExecutionResponse

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

@Generated(value="protoc", comments="annotations:StartWorkflowExecutionResponse.java.pb.meta") public final class StartWorkflowExecutionResponse extends com.google.protobuf.GeneratedMessageV3 implements StartWorkflowExecutionResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.StartWorkflowExecutionResponse
See Also:
  • Field Details

    • RUN_ID_FIELD_NUMBER

      public static final int RUN_ID_FIELD_NUMBER
      See Also:
    • FIRST_EXECUTION_RUN_ID_FIELD_NUMBER

      public static final int FIRST_EXECUTION_RUN_ID_FIELD_NUMBER
      See Also:
    • STARTED_FIELD_NUMBER

      public static final int STARTED_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • EAGER_WORKFLOW_TASK_FIELD_NUMBER

      public static final int EAGER_WORKFLOW_TASK_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

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

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

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

      public String getRunId()
       The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).
       
      string run_id = 1;
      Specified by:
      getRunId in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
       The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).
       
      string run_id = 1;
      Specified by:
      getRunIdBytes in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The bytes for runId.
    • getFirstExecutionRunId

      public String getFirstExecutionRunId()
       If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
       
      string first_execution_run_id = 6;
      Specified by:
      getFirstExecutionRunId in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The firstExecutionRunId.
    • getFirstExecutionRunIdBytes

      public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()
       If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
       
      string first_execution_run_id = 6;
      Specified by:
      getFirstExecutionRunIdBytes in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The bytes for firstExecutionRunId.
    • getStarted

      public boolean getStarted()
       If true, a new workflow was started.
       
      bool started = 3;
      Specified by:
      getStarted in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The started.
    • getStatusValue

      public int getStatusValue()
       Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING
       unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs).
       
      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Specified by:
      getStatusValue in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public WorkflowExecutionStatus getStatus()
       Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING
       unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs).
       
      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Specified by:
      getStatus in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The status.
    • hasEagerWorkflowTask

      public boolean hasEagerWorkflowTask()
       When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
       return the first workflow task to be eagerly executed.
       The caller is expected to have a worker available to process the task.
       
      .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      Specified by:
      hasEagerWorkflowTask in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      Whether the eagerWorkflowTask field is set.
    • getEagerWorkflowTask

      public PollWorkflowTaskQueueResponse getEagerWorkflowTask()
       When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
       return the first workflow task to be eagerly executed.
       The caller is expected to have a worker available to process the task.
       
      .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      Specified by:
      getEagerWorkflowTask in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The eagerWorkflowTask.
    • getEagerWorkflowTaskOrBuilder

      public PollWorkflowTaskQueueResponseOrBuilder getEagerWorkflowTaskOrBuilder()
       When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
       return the first workflow task to be eagerly executed.
       The caller is expected to have a worker available to process the task.
       
      .temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
      Specified by:
      getEagerWorkflowTaskOrBuilder in interface StartWorkflowExecutionResponseOrBuilder
    • hasLink

      public boolean hasLink()
       Link to the workflow event.
       
      .temporal.api.common.v1.Link link = 4;
      Specified by:
      hasLink in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      Whether the link field is set.
    • getLink

      public Link getLink()
       Link to the workflow event.
       
      .temporal.api.common.v1.Link link = 4;
      Specified by:
      getLink in interface StartWorkflowExecutionResponseOrBuilder
      Returns:
      The link.
    • getLinkOrBuilder

      public LinkOrBuilder getLinkOrBuilder()
       Link to the workflow event.
       
      .temporal.api.common.v1.Link link = 4;
      Specified by:
      getLinkOrBuilder in interface StartWorkflowExecutionResponseOrBuilder
    • isInitialized

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

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

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

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

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

      public static StartWorkflowExecutionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static StartWorkflowExecutionResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static StartWorkflowExecutionResponse getDefaultInstance()
    • parser

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

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