Class WorkflowExecutionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
io.temporal.api.workflow.v1.WorkflowExecutionInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionInfoOrBuilder, Cloneable
Enclosing class:
WorkflowExecutionInfo

public static final class WorkflowExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder> implements WorkflowExecutionInfoOrBuilder
 Hold basic information about a workflow execution.
 This structure is a part of visibility, and thus contain a limited subset of information.
 
Protobuf type temporal.api.workflow.v1.WorkflowExecutionInfo
  • Method Details

    • 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<WorkflowExecutionInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.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<WorkflowExecutionInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • setField

      public WorkflowExecutionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • clearField

      public WorkflowExecutionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • clearOneof

      public WorkflowExecutionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • setRepeatedField

      public WorkflowExecutionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • addRepeatedField

      public WorkflowExecutionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • mergeFrom

      public WorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public WorkflowExecutionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<WorkflowExecutionInfo.Builder>
      Throws:
      IOException
    • hasExecution

      public boolean hasExecution()
      .temporal.api.common.v1.WorkflowExecution execution = 1;
      Specified by:
      hasExecution in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the execution field is set.
    • getExecution

      public WorkflowExecution getExecution()
      .temporal.api.common.v1.WorkflowExecution execution = 1;
      Specified by:
      getExecution in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The execution.
    • setExecution

      public WorkflowExecutionInfo.Builder setExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution execution = 1;
    • setExecution

      public WorkflowExecutionInfo.Builder setExecution(WorkflowExecution.Builder builderForValue)
      .temporal.api.common.v1.WorkflowExecution execution = 1;
    • mergeExecution

      public WorkflowExecutionInfo.Builder mergeExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution execution = 1;
    • clearExecution

      public WorkflowExecutionInfo.Builder clearExecution()
      .temporal.api.common.v1.WorkflowExecution execution = 1;
    • getExecutionBuilder

      public WorkflowExecution.Builder getExecutionBuilder()
      .temporal.api.common.v1.WorkflowExecution execution = 1;
    • getExecutionOrBuilder

      public WorkflowExecutionOrBuilder getExecutionOrBuilder()
      .temporal.api.common.v1.WorkflowExecution execution = 1;
      Specified by:
      getExecutionOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasType

      public boolean hasType()
      .temporal.api.common.v1.WorkflowType type = 2;
      Specified by:
      hasType in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public WorkflowType getType()
      .temporal.api.common.v1.WorkflowType type = 2;
      Specified by:
      getType in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The type.
    • setType

      .temporal.api.common.v1.WorkflowType type = 2;
    • setType

      public WorkflowExecutionInfo.Builder setType(WorkflowType.Builder builderForValue)
      .temporal.api.common.v1.WorkflowType type = 2;
    • mergeType

      public WorkflowExecutionInfo.Builder mergeType(WorkflowType value)
      .temporal.api.common.v1.WorkflowType type = 2;
    • clearType

      public WorkflowExecutionInfo.Builder clearType()
      .temporal.api.common.v1.WorkflowType type = 2;
    • getTypeBuilder

      public WorkflowType.Builder getTypeBuilder()
      .temporal.api.common.v1.WorkflowType type = 2;
    • getTypeOrBuilder

      public WorkflowTypeOrBuilder getTypeOrBuilder()
      .temporal.api.common.v1.WorkflowType type = 2;
      Specified by:
      getTypeOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasStartTime

      public boolean hasStartTime()
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      hasStartTime in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTime in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public WorkflowExecutionInfo.Builder setStartTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp start_time = 3;
    • setStartTime

      public WorkflowExecutionInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp start_time = 3;
    • mergeStartTime

      public WorkflowExecutionInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp start_time = 3;
    • clearStartTime

      public WorkflowExecutionInfo.Builder clearStartTime()
      .google.protobuf.Timestamp start_time = 3;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
      .google.protobuf.Timestamp start_time = 3;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTimeOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasCloseTime

      public boolean hasCloseTime()
      .google.protobuf.Timestamp close_time = 4;
      Specified by:
      hasCloseTime in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the closeTime field is set.
    • getCloseTime

      public com.google.protobuf.Timestamp getCloseTime()
      .google.protobuf.Timestamp close_time = 4;
      Specified by:
      getCloseTime in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The closeTime.
    • setCloseTime

      public WorkflowExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp close_time = 4;
    • setCloseTime

      public WorkflowExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp close_time = 4;
    • mergeCloseTime

      public WorkflowExecutionInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp close_time = 4;
    • clearCloseTime

      public WorkflowExecutionInfo.Builder clearCloseTime()
      .google.protobuf.Timestamp close_time = 4;
    • getCloseTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
      .google.protobuf.Timestamp close_time = 4;
    • getCloseTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
      .google.protobuf.Timestamp close_time = 4;
      Specified by:
      getCloseTimeOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • getStatusValue

      public int getStatusValue()
      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Specified by:
      getStatusValue in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public WorkflowExecutionInfo.Builder setStatusValue(int value)
      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public WorkflowExecutionStatus getStatus()
      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Specified by:
      getStatus in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The status.
    • setStatus

      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public WorkflowExecutionInfo.Builder clearStatus()
      .temporal.api.enums.v1.WorkflowExecutionStatus status = 5;
      Returns:
      This builder for chaining.
    • getHistoryLength

      public long getHistoryLength()
      int64 history_length = 6;
      Specified by:
      getHistoryLength in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The historyLength.
    • setHistoryLength

      public WorkflowExecutionInfo.Builder setHistoryLength(long value)
      int64 history_length = 6;
      Parameters:
      value - The historyLength to set.
      Returns:
      This builder for chaining.
    • clearHistoryLength

      public WorkflowExecutionInfo.Builder clearHistoryLength()
      int64 history_length = 6;
      Returns:
      This builder for chaining.
    • getParentNamespaceId

      public String getParentNamespaceId()
      string parent_namespace_id = 7;
      Specified by:
      getParentNamespaceId in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The parentNamespaceId.
    • getParentNamespaceIdBytes

      public com.google.protobuf.ByteString getParentNamespaceIdBytes()
      string parent_namespace_id = 7;
      Specified by:
      getParentNamespaceIdBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for parentNamespaceId.
    • setParentNamespaceId

      public WorkflowExecutionInfo.Builder setParentNamespaceId(String value)
      string parent_namespace_id = 7;
      Parameters:
      value - The parentNamespaceId to set.
      Returns:
      This builder for chaining.
    • clearParentNamespaceId

      public WorkflowExecutionInfo.Builder clearParentNamespaceId()
      string parent_namespace_id = 7;
      Returns:
      This builder for chaining.
    • setParentNamespaceIdBytes

      public WorkflowExecutionInfo.Builder setParentNamespaceIdBytes(com.google.protobuf.ByteString value)
      string parent_namespace_id = 7;
      Parameters:
      value - The bytes for parentNamespaceId to set.
      Returns:
      This builder for chaining.
    • hasParentExecution

      public boolean hasParentExecution()
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
      Specified by:
      hasParentExecution in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the parentExecution field is set.
    • getParentExecution

      public WorkflowExecution getParentExecution()
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
      Specified by:
      getParentExecution in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The parentExecution.
    • setParentExecution

      public WorkflowExecutionInfo.Builder setParentExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
    • setParentExecution

      public WorkflowExecutionInfo.Builder setParentExecution(WorkflowExecution.Builder builderForValue)
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
    • mergeParentExecution

      public WorkflowExecutionInfo.Builder mergeParentExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
    • clearParentExecution

      public WorkflowExecutionInfo.Builder clearParentExecution()
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
    • getParentExecutionBuilder

      public WorkflowExecution.Builder getParentExecutionBuilder()
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
    • getParentExecutionOrBuilder

      public WorkflowExecutionOrBuilder getParentExecutionOrBuilder()
      .temporal.api.common.v1.WorkflowExecution parent_execution = 8;
      Specified by:
      getParentExecutionOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasExecutionTime

      public boolean hasExecutionTime()
      .google.protobuf.Timestamp execution_time = 9;
      Specified by:
      hasExecutionTime in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the executionTime field is set.
    • getExecutionTime

      public com.google.protobuf.Timestamp getExecutionTime()
      .google.protobuf.Timestamp execution_time = 9;
      Specified by:
      getExecutionTime in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The executionTime.
    • setExecutionTime

      public WorkflowExecutionInfo.Builder setExecutionTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp execution_time = 9;
    • setExecutionTime

      public WorkflowExecutionInfo.Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp execution_time = 9;
    • mergeExecutionTime

      public WorkflowExecutionInfo.Builder mergeExecutionTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp execution_time = 9;
    • clearExecutionTime

      public WorkflowExecutionInfo.Builder clearExecutionTime()
      .google.protobuf.Timestamp execution_time = 9;
    • getExecutionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder()
      .google.protobuf.Timestamp execution_time = 9;
    • getExecutionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()
      .google.protobuf.Timestamp execution_time = 9;
      Specified by:
      getExecutionTimeOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasMemo

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

      public Memo getMemo()
      .temporal.api.common.v1.Memo memo = 10;
      Specified by:
      getMemo in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The memo.
    • setMemo

      public WorkflowExecutionInfo.Builder setMemo(Memo value)
      .temporal.api.common.v1.Memo memo = 10;
    • setMemo

      public WorkflowExecutionInfo.Builder setMemo(Memo.Builder builderForValue)
      .temporal.api.common.v1.Memo memo = 10;
    • mergeMemo

      public WorkflowExecutionInfo.Builder mergeMemo(Memo value)
      .temporal.api.common.v1.Memo memo = 10;
    • clearMemo

      public WorkflowExecutionInfo.Builder clearMemo()
      .temporal.api.common.v1.Memo memo = 10;
    • getMemoBuilder

      public Memo.Builder getMemoBuilder()
      .temporal.api.common.v1.Memo memo = 10;
    • getMemoOrBuilder

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

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

      public SearchAttributes getSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
      Specified by:
      getSearchAttributes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The searchAttributes.
    • setSearchAttributes

      public WorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes value)
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
    • setSearchAttributes

      public WorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
    • mergeSearchAttributes

      public WorkflowExecutionInfo.Builder mergeSearchAttributes(SearchAttributes value)
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
    • clearSearchAttributes

      public WorkflowExecutionInfo.Builder clearSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
    • getSearchAttributesBuilder

      public SearchAttributes.Builder getSearchAttributesBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 11;
      Specified by:
      getSearchAttributesOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasAutoResetPoints

      public boolean hasAutoResetPoints()
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
      Specified by:
      hasAutoResetPoints in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the autoResetPoints field is set.
    • getAutoResetPoints

      public ResetPoints getAutoResetPoints()
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
      Specified by:
      getAutoResetPoints in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The autoResetPoints.
    • setAutoResetPoints

      public WorkflowExecutionInfo.Builder setAutoResetPoints(ResetPoints value)
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
    • setAutoResetPoints

      public WorkflowExecutionInfo.Builder setAutoResetPoints(ResetPoints.Builder builderForValue)
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
    • mergeAutoResetPoints

      public WorkflowExecutionInfo.Builder mergeAutoResetPoints(ResetPoints value)
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
    • clearAutoResetPoints

      public WorkflowExecutionInfo.Builder clearAutoResetPoints()
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
    • getAutoResetPointsBuilder

      public ResetPoints.Builder getAutoResetPointsBuilder()
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
    • getAutoResetPointsOrBuilder

      public ResetPointsOrBuilder getAutoResetPointsOrBuilder()
      .temporal.api.workflow.v1.ResetPoints auto_reset_points = 12;
      Specified by:
      getAutoResetPointsOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • getTaskQueue

      public String getTaskQueue()
      string task_queue = 13;
      Specified by:
      getTaskQueue in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The taskQueue.
    • getTaskQueueBytes

      public com.google.protobuf.ByteString getTaskQueueBytes()
      string task_queue = 13;
      Specified by:
      getTaskQueueBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for taskQueue.
    • setTaskQueue

      public WorkflowExecutionInfo.Builder setTaskQueue(String value)
      string task_queue = 13;
      Parameters:
      value - The taskQueue to set.
      Returns:
      This builder for chaining.
    • clearTaskQueue

      public WorkflowExecutionInfo.Builder clearTaskQueue()
      string task_queue = 13;
      Returns:
      This builder for chaining.
    • setTaskQueueBytes

      public WorkflowExecutionInfo.Builder setTaskQueueBytes(com.google.protobuf.ByteString value)
      string task_queue = 13;
      Parameters:
      value - The bytes for taskQueue to set.
      Returns:
      This builder for chaining.
    • getStateTransitionCount

      public long getStateTransitionCount()
      int64 state_transition_count = 14;
      Specified by:
      getStateTransitionCount in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The stateTransitionCount.
    • setStateTransitionCount

      public WorkflowExecutionInfo.Builder setStateTransitionCount(long value)
      int64 state_transition_count = 14;
      Parameters:
      value - The stateTransitionCount to set.
      Returns:
      This builder for chaining.
    • clearStateTransitionCount

      public WorkflowExecutionInfo.Builder clearStateTransitionCount()
      int64 state_transition_count = 14;
      Returns:
      This builder for chaining.
    • getHistorySizeBytes

      public long getHistorySizeBytes()
      int64 history_size_bytes = 15;
      Specified by:
      getHistorySizeBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The historySizeBytes.
    • setHistorySizeBytes

      public WorkflowExecutionInfo.Builder setHistorySizeBytes(long value)
      int64 history_size_bytes = 15;
      Parameters:
      value - The historySizeBytes to set.
      Returns:
      This builder for chaining.
    • clearHistorySizeBytes

      public WorkflowExecutionInfo.Builder clearHistorySizeBytes()
      int64 history_size_bytes = 15;
      Returns:
      This builder for chaining.
    • hasMostRecentWorkerVersionStamp

      @Deprecated public boolean hasMostRecentWorkerVersionStamp()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=47
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
      Specified by:
      hasMostRecentWorkerVersionStamp in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the mostRecentWorkerVersionStamp field is set.
    • getMostRecentWorkerVersionStamp

      @Deprecated public WorkerVersionStamp getMostRecentWorkerVersionStamp()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.most_recent_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=47
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
      Specified by:
      getMostRecentWorkerVersionStamp in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The mostRecentWorkerVersionStamp.
    • setMostRecentWorkerVersionStamp

      @Deprecated public WorkflowExecutionInfo.Builder setMostRecentWorkerVersionStamp(WorkerVersionStamp value)
      Deprecated.
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
    • setMostRecentWorkerVersionStamp

      @Deprecated public WorkflowExecutionInfo.Builder setMostRecentWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue)
      Deprecated.
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
    • mergeMostRecentWorkerVersionStamp

      @Deprecated public WorkflowExecutionInfo.Builder mergeMostRecentWorkerVersionStamp(WorkerVersionStamp value)
      Deprecated.
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
    • clearMostRecentWorkerVersionStamp

      @Deprecated public WorkflowExecutionInfo.Builder clearMostRecentWorkerVersionStamp()
      Deprecated.
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
    • getMostRecentWorkerVersionStampBuilder

      @Deprecated public WorkerVersionStamp.Builder getMostRecentWorkerVersionStampBuilder()
      Deprecated.
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
    • getMostRecentWorkerVersionStampOrBuilder

      @Deprecated public WorkerVersionStampOrBuilder getMostRecentWorkerVersionStampOrBuilder()
      Deprecated.
       If set, the most recent worker version stamp that appeared in a workflow task completion
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp most_recent_worker_version_stamp = 16 [deprecated = true];
      Specified by:
      getMostRecentWorkerVersionStampOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasExecutionDuration

      public boolean hasExecutionDuration()
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
      Specified by:
      hasExecutionDuration in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the executionDuration field is set.
    • getExecutionDuration

      public com.google.protobuf.Duration getExecutionDuration()
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
      Specified by:
      getExecutionDuration in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The executionDuration.
    • setExecutionDuration

      public WorkflowExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration value)
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
    • setExecutionDuration

      public WorkflowExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
    • mergeExecutionDuration

      public WorkflowExecutionInfo.Builder mergeExecutionDuration(com.google.protobuf.Duration value)
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
    • clearExecutionDuration

      public WorkflowExecutionInfo.Builder clearExecutionDuration()
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
    • getExecutionDurationBuilder

      public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
    • getExecutionDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
       Workflow execution duration is defined as difference between close time and execution time.
       This field is only populated if the workflow is closed.
       
      .google.protobuf.Duration execution_duration = 17;
      Specified by:
      getExecutionDurationOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • hasRootExecution

      public boolean hasRootExecution()
       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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
      Specified by:
      hasRootExecution in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the rootExecution field is set.
    • getRootExecution

      public WorkflowExecution getRootExecution()
       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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
      Specified by:
      getRootExecution in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The rootExecution.
    • setRootExecution

      public WorkflowExecutionInfo.Builder setRootExecution(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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
    • setRootExecution

      public WorkflowExecutionInfo.Builder setRootExecution(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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
    • mergeRootExecution

      public WorkflowExecutionInfo.Builder mergeRootExecution(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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
    • clearRootExecution

      public WorkflowExecutionInfo.Builder clearRootExecution()
       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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
    • getRootExecutionBuilder

      public WorkflowExecution.Builder getRootExecutionBuilder()
       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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
    • getRootExecutionOrBuilder

      public WorkflowExecutionOrBuilder getRootExecutionOrBuilder()
       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.
       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.
         Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
           - The root workflow of all three workflows is W1.
         Scenario 3: Workflow W1 continued as new W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
         Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
           - The root workflow of all three workflows is W1.
         Scenario 5: Workflow W1 is reseted, creating W2.
           - The root workflow of W1 is W1 and the root workflow of W2 is W2.
       
      .temporal.api.common.v1.WorkflowExecution root_execution = 18;
      Specified by:
      getRootExecutionOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • getAssignedBuildId

      @Deprecated public String getAssignedBuildId()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76
       The currently assigned build ID for this execution. Presence of this value means worker versioning is used
       for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
       when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
       again, the assigned build ID may change according to the latest versioning rules.
       Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
       this execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string assigned_build_id = 19 [deprecated = true];
      Specified by:
      getAssignedBuildId in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The assignedBuildId.
    • getAssignedBuildIdBytes

      @Deprecated public com.google.protobuf.ByteString getAssignedBuildIdBytes()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76
       The currently assigned build ID for this execution. Presence of this value means worker versioning is used
       for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
       when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
       again, the assigned build ID may change according to the latest versioning rules.
       Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
       this execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string assigned_build_id = 19 [deprecated = true];
      Specified by:
      getAssignedBuildIdBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for assignedBuildId.
    • setAssignedBuildId

      @Deprecated public WorkflowExecutionInfo.Builder setAssignedBuildId(String value)
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76
       The currently assigned build ID for this execution. Presence of this value means worker versioning is used
       for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
       when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
       again, the assigned build ID may change according to the latest versioning rules.
       Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
       this execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string assigned_build_id = 19 [deprecated = true];
      Parameters:
      value - The assignedBuildId to set.
      Returns:
      This builder for chaining.
    • clearAssignedBuildId

      @Deprecated public WorkflowExecutionInfo.Builder clearAssignedBuildId()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76
       The currently assigned build ID for this execution. Presence of this value means worker versioning is used
       for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
       when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
       again, the assigned build ID may change according to the latest versioning rules.
       Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
       this execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string assigned_build_id = 19 [deprecated = true];
      Returns:
      This builder for chaining.
    • setAssignedBuildIdBytes

      @Deprecated public WorkflowExecutionInfo.Builder setAssignedBuildIdBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=76
       The currently assigned build ID for this execution. Presence of this value means worker versioning is used
       for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
       when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
       again, the assigned build ID may change according to the latest versioning rules.
       Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
       this execution.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string assigned_build_id = 19 [deprecated = true];
      Parameters:
      value - The bytes for assignedBuildId to set.
      Returns:
      This builder for chaining.
    • getInheritedBuildId

      @Deprecated public String getInheritedBuildId()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80
       Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
       of using the assignment rules.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 20 [deprecated = true];
      Specified by:
      getInheritedBuildId in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The inheritedBuildId.
    • getInheritedBuildIdBytes

      @Deprecated public com.google.protobuf.ByteString getInheritedBuildIdBytes()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80
       Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
       of using the assignment rules.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 20 [deprecated = true];
      Specified by:
      getInheritedBuildIdBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for inheritedBuildId.
    • setInheritedBuildId

      @Deprecated public WorkflowExecutionInfo.Builder setInheritedBuildId(String value)
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80
       Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
       of using the assignment rules.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 20 [deprecated = true];
      Parameters:
      value - The inheritedBuildId to set.
      Returns:
      This builder for chaining.
    • clearInheritedBuildId

      @Deprecated public WorkflowExecutionInfo.Builder clearInheritedBuildId()
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80
       Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
       of using the assignment rules.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 20 [deprecated = true];
      Returns:
      This builder for chaining.
    • setInheritedBuildIdBytes

      @Deprecated public WorkflowExecutionInfo.Builder setInheritedBuildIdBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.workflow.v1.WorkflowExecutionInfo.inherited_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=80
       Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
       of using the assignment rules.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      string inherited_build_id = 20 [deprecated = true];
      Parameters:
      value - The bytes for inheritedBuildId to set.
      Returns:
      This builder for chaining.
    • getFirstRunId

      public String getFirstRunId()
       The first run ID in the execution chain.
       Executions created via the following operations are considered to be in the same chain
       - ContinueAsNew
       - Workflow Retry
       - Workflow Reset
       - Cron Schedule
       
      string first_run_id = 21;
      Specified by:
      getFirstRunId in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The firstRunId.
    • getFirstRunIdBytes

      public com.google.protobuf.ByteString getFirstRunIdBytes()
       The first run ID in the execution chain.
       Executions created via the following operations are considered to be in the same chain
       - ContinueAsNew
       - Workflow Retry
       - Workflow Reset
       - Cron Schedule
       
      string first_run_id = 21;
      Specified by:
      getFirstRunIdBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for firstRunId.
    • setFirstRunId

      public WorkflowExecutionInfo.Builder setFirstRunId(String value)
       The first run ID in the execution chain.
       Executions created via the following operations are considered to be in the same chain
       - ContinueAsNew
       - Workflow Retry
       - Workflow Reset
       - Cron Schedule
       
      string first_run_id = 21;
      Parameters:
      value - The firstRunId to set.
      Returns:
      This builder for chaining.
    • clearFirstRunId

      public WorkflowExecutionInfo.Builder clearFirstRunId()
       The first run ID in the execution chain.
       Executions created via the following operations are considered to be in the same chain
       - ContinueAsNew
       - Workflow Retry
       - Workflow Reset
       - Cron Schedule
       
      string first_run_id = 21;
      Returns:
      This builder for chaining.
    • setFirstRunIdBytes

      public WorkflowExecutionInfo.Builder setFirstRunIdBytes(com.google.protobuf.ByteString value)
       The first run ID in the execution chain.
       Executions created via the following operations are considered to be in the same chain
       - ContinueAsNew
       - Workflow Retry
       - Workflow Reset
       - Cron Schedule
       
      string first_run_id = 21;
      Parameters:
      value - The bytes for firstRunId to set.
      Returns:
      This builder for chaining.
    • hasVersioningInfo

      public boolean hasVersioningInfo()
       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
      Specified by:
      hasVersioningInfo in interface WorkflowExecutionInfoOrBuilder
      Returns:
      Whether the versioningInfo field is set.
    • getVersioningInfo

      public WorkflowExecutionVersioningInfo getVersioningInfo()
       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
      Specified by:
      getVersioningInfo in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The versioningInfo.
    • setVersioningInfo

       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
    • setVersioningInfo

      public WorkflowExecutionInfo.Builder setVersioningInfo(WorkflowExecutionVersioningInfo.Builder builderForValue)
       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
    • mergeVersioningInfo

       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
    • clearVersioningInfo

      public WorkflowExecutionInfo.Builder clearVersioningInfo()
       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
    • getVersioningInfoBuilder

      public WorkflowExecutionVersioningInfo.Builder getVersioningInfoBuilder()
       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
    • getVersioningInfoOrBuilder

      public WorkflowExecutionVersioningInfoOrBuilder getVersioningInfoOrBuilder()
       Absent value means the workflow execution is not versioned. When present, the execution might
       be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
       Experimental. Versioning info is experimental and might change in the future.
       
      .temporal.api.workflow.v1.WorkflowExecutionVersioningInfo versioning_info = 22;
      Specified by:
      getVersioningInfoOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • getWorkerDeploymentName

      public String getWorkerDeploymentName()
       The name of Worker Deployment that completed the most recent workflow task.
       
      string worker_deployment_name = 23;
      Specified by:
      getWorkerDeploymentName in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The workerDeploymentName.
    • getWorkerDeploymentNameBytes

      public com.google.protobuf.ByteString getWorkerDeploymentNameBytes()
       The name of Worker Deployment that completed the most recent workflow task.
       
      string worker_deployment_name = 23;
      Specified by:
      getWorkerDeploymentNameBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for workerDeploymentName.
    • setWorkerDeploymentName

      public WorkflowExecutionInfo.Builder setWorkerDeploymentName(String value)
       The name of Worker Deployment that completed the most recent workflow task.
       
      string worker_deployment_name = 23;
      Parameters:
      value - The workerDeploymentName to set.
      Returns:
      This builder for chaining.
    • clearWorkerDeploymentName

      public WorkflowExecutionInfo.Builder clearWorkerDeploymentName()
       The name of Worker Deployment that completed the most recent workflow task.
       
      string worker_deployment_name = 23;
      Returns:
      This builder for chaining.
    • setWorkerDeploymentNameBytes

      public WorkflowExecutionInfo.Builder setWorkerDeploymentNameBytes(com.google.protobuf.ByteString value)
       The name of Worker Deployment that completed the most recent workflow task.
       
      string worker_deployment_name = 23;
      Parameters:
      value - The bytes for workerDeploymentName to set.
      Returns:
      This builder for chaining.
    • hasPriority

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

      public Priority getPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
      Specified by:
      getPriority in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The priority.
    • setPriority

      public WorkflowExecutionInfo.Builder setPriority(Priority value)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
    • setPriority

      public WorkflowExecutionInfo.Builder setPriority(Priority.Builder builderForValue)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
    • mergePriority

      public WorkflowExecutionInfo.Builder mergePriority(Priority value)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
    • clearPriority

      public WorkflowExecutionInfo.Builder clearPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
    • getPriorityBuilder

      public Priority.Builder getPriorityBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 24;
      Specified by:
      getPriorityOrBuilder in interface WorkflowExecutionInfoOrBuilder
    • getExternalPayloadSizeBytes

      public long getExternalPayloadSizeBytes()
       Total size in bytes of all external payloads referenced in workflow history.
       
      int64 external_payload_size_bytes = 25;
      Specified by:
      getExternalPayloadSizeBytes in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The externalPayloadSizeBytes.
    • setExternalPayloadSizeBytes

      public WorkflowExecutionInfo.Builder setExternalPayloadSizeBytes(long value)
       Total size in bytes of all external payloads referenced in workflow history.
       
      int64 external_payload_size_bytes = 25;
      Parameters:
      value - The externalPayloadSizeBytes to set.
      Returns:
      This builder for chaining.
    • clearExternalPayloadSizeBytes

      public WorkflowExecutionInfo.Builder clearExternalPayloadSizeBytes()
       Total size in bytes of all external payloads referenced in workflow history.
       
      int64 external_payload_size_bytes = 25;
      Returns:
      This builder for chaining.
    • getExternalPayloadCount

      public long getExternalPayloadCount()
       Count of external payloads referenced in workflow history.
       
      int64 external_payload_count = 26;
      Specified by:
      getExternalPayloadCount in interface WorkflowExecutionInfoOrBuilder
      Returns:
      The externalPayloadCount.
    • setExternalPayloadCount

      public WorkflowExecutionInfo.Builder setExternalPayloadCount(long value)
       Count of external payloads referenced in workflow history.
       
      int64 external_payload_count = 26;
      Parameters:
      value - The externalPayloadCount to set.
      Returns:
      This builder for chaining.
    • clearExternalPayloadCount

      public WorkflowExecutionInfo.Builder clearExternalPayloadCount()
       Count of external payloads referenced in workflow history.
       
      int64 external_payload_count = 26;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final WorkflowExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>
    • mergeUnknownFields

      public final WorkflowExecutionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionInfo.Builder>