Class NexusOperationExecutionInfo.Builder

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

public static final class NexusOperationExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder> implements NexusOperationExecutionInfoOrBuilder
 Full current state of a standalone Nexus operation, as of the time of the request.
 
Protobuf type temporal.api.nexus.v1.NexusOperationExecutionInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NexusOperationExecutionInfo 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<NexusOperationExecutionInfo.Builder>
    • setField

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • clearField

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • clearOneof

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • setRepeatedField

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • addRepeatedField

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • mergeFrom

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • mergeFrom

      public NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
      Throws:
      IOException
    • getOperationId

      public String getOperationId()
       Unique identifier of this Nexus operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Specified by:
      getOperationId in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      public com.google.protobuf.ByteString getOperationIdBytes()
       Unique identifier of this Nexus operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Specified by:
      getOperationIdBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for operationId.
    • setOperationId

      public NexusOperationExecutionInfo.Builder setOperationId(String value)
       Unique identifier of this Nexus operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Parameters:
      value - The operationId to set.
      Returns:
      This builder for chaining.
    • clearOperationId

      public NexusOperationExecutionInfo.Builder clearOperationId()
       Unique identifier of this Nexus operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Returns:
      This builder for chaining.
    • setOperationIdBytes

      public NexusOperationExecutionInfo.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
       Unique identifier of this Nexus operation within its namespace along with run ID (below).
       
      string operation_id = 1;
      Parameters:
      value - The bytes for operationId to set.
      Returns:
      This builder for chaining.
    • getRunId

      public String getRunId()
      string run_id = 2;
      Specified by:
      getRunId in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
      string run_id = 2;
      Specified by:
      getRunIdBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      string run_id = 2;
      Parameters:
      value - The runId to set.
      Returns:
      This builder for chaining.
    • clearRunId

      string run_id = 2;
      Returns:
      This builder for chaining.
    • setRunIdBytes

      public NexusOperationExecutionInfo.Builder setRunIdBytes(com.google.protobuf.ByteString value)
      string run_id = 2;
      Parameters:
      value - The bytes for runId to set.
      Returns:
      This builder for chaining.
    • getEndpoint

      public String getEndpoint()
       Endpoint name, resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 3;
      Specified by:
      getEndpoint in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Endpoint name, resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 3;
      Specified by:
      getEndpointBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for endpoint.
    • setEndpoint

      public NexusOperationExecutionInfo.Builder setEndpoint(String value)
       Endpoint name, resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 3;
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

      public NexusOperationExecutionInfo.Builder clearEndpoint()
       Endpoint name, resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 3;
      Returns:
      This builder for chaining.
    • setEndpointBytes

      public NexusOperationExecutionInfo.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       Endpoint name, resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 3;
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.
    • getService

      public String getService()
       Service name.
       
      string service = 4;
      Specified by:
      getService in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Service name.
       
      string service = 4;
      Specified by:
      getServiceBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for service.
    • setService

      public NexusOperationExecutionInfo.Builder setService(String value)
       Service name.
       
      string service = 4;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public NexusOperationExecutionInfo.Builder clearService()
       Service name.
       
      string service = 4;
      Returns:
      This builder for chaining.
    • setServiceBytes

      public NexusOperationExecutionInfo.Builder setServiceBytes(com.google.protobuf.ByteString value)
       Service name.
       
      string service = 4;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • getOperation

      public String getOperation()
       Operation name.
       
      string operation = 5;
      Specified by:
      getOperation in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Operation name.
       
      string operation = 5;
      Specified by:
      getOperationBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for operation.
    • setOperation

      public NexusOperationExecutionInfo.Builder setOperation(String value)
       Operation name.
       
      string operation = 5;
      Parameters:
      value - The operation to set.
      Returns:
      This builder for chaining.
    • clearOperation

      public NexusOperationExecutionInfo.Builder clearOperation()
       Operation name.
       
      string operation = 5;
      Returns:
      This builder for chaining.
    • setOperationBytes

      public NexusOperationExecutionInfo.Builder setOperationBytes(com.google.protobuf.ByteString value)
       Operation name.
       
      string operation = 5;
      Parameters:
      value - The bytes for operation to set.
      Returns:
      This builder for chaining.
    • getStatusValue

      public int getStatusValue()
       A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.
       Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;
      Specified by:
      getStatusValue in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public NexusOperationExecutionInfo.Builder setStatusValue(int value)
       A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.
       Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public NexusOperationExecutionStatus getStatus()
       A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.
       Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;
      Specified by:
      getStatus in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The status.
    • setStatus

       A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.
       Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.
       Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
       
      .temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Specified by:
      getStateValue in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public NexusOperationExecutionInfo.Builder setStateValue(int value)
       More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public PendingNexusOperationState getState()
       More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Specified by:
      getState in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The state.
    • setState

       More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Returns:
      This builder for chaining.
    • hasScheduleToCloseTimeout

      public boolean hasScheduleToCloseTimeout()
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
      Specified by:
      hasScheduleToCloseTimeout in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the scheduleToCloseTimeout field is set.
    • getScheduleToCloseTimeout

      public com.google.protobuf.Duration getScheduleToCloseTimeout()
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
      Specified by:
      getScheduleToCloseTimeout in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The scheduleToCloseTimeout.
    • setScheduleToCloseTimeout

      public NexusOperationExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
    • setScheduleToCloseTimeout

      public NexusOperationExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
    • mergeScheduleToCloseTimeout

      public NexusOperationExecutionInfo.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
    • clearScheduleToCloseTimeout

      public NexusOperationExecutionInfo.Builder clearScheduleToCloseTimeout()
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
    • getScheduleToCloseTimeoutBuilder

      public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
    • getScheduleToCloseTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
       Schedule-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 8;
      Specified by:
      getScheduleToCloseTimeoutOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasScheduleToStartTimeout

      public boolean hasScheduleToStartTimeout()
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
      Specified by:
      hasScheduleToStartTimeout in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the scheduleToStartTimeout field is set.
    • getScheduleToStartTimeout

      public com.google.protobuf.Duration getScheduleToStartTimeout()
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
      Specified by:
      getScheduleToStartTimeout in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The scheduleToStartTimeout.
    • setScheduleToStartTimeout

      public NexusOperationExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value)
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
    • setScheduleToStartTimeout

      public NexusOperationExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
    • mergeScheduleToStartTimeout

      public NexusOperationExecutionInfo.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value)
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
    • clearScheduleToStartTimeout

      public NexusOperationExecutionInfo.Builder clearScheduleToStartTimeout()
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
    • getScheduleToStartTimeoutBuilder

      public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
    • getScheduleToStartTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
       Schedule-to-start timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 9;
      Specified by:
      getScheduleToStartTimeoutOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasStartToCloseTimeout

      public boolean hasStartToCloseTimeout()
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
      Specified by:
      hasStartToCloseTimeout in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      public com.google.protobuf.Duration getStartToCloseTimeout()
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
      Specified by:
      getStartToCloseTimeout in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The startToCloseTimeout.
    • setStartToCloseTimeout

      public NexusOperationExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration value)
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
    • setStartToCloseTimeout

      public NexusOperationExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
    • mergeStartToCloseTimeout

      public NexusOperationExecutionInfo.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value)
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
    • clearStartToCloseTimeout

      public NexusOperationExecutionInfo.Builder clearStartToCloseTimeout()
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
    • getStartToCloseTimeoutBuilder

      public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
    • getStartToCloseTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
       Start-to-close timeout for this operation.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 10;
      Specified by:
      getStartToCloseTimeoutOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • getAttempt

      public int getAttempt()
       The number of attempts made to deliver the start operation request.
       This number is approximate, it is incremented when a task is added to the history queue.
       In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task
       was never executed.
       
      int32 attempt = 11;
      Specified by:
      getAttempt in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The attempt.
    • setAttempt

      public NexusOperationExecutionInfo.Builder setAttempt(int value)
       The number of attempts made to deliver the start operation request.
       This number is approximate, it is incremented when a task is added to the history queue.
       In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task
       was never executed.
       
      int32 attempt = 11;
      Parameters:
      value - The attempt to set.
      Returns:
      This builder for chaining.
    • clearAttempt

      public NexusOperationExecutionInfo.Builder clearAttempt()
       The number of attempts made to deliver the start operation request.
       This number is approximate, it is incremented when a task is added to the history queue.
       In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task
       was never executed.
       
      int32 attempt = 11;
      Returns:
      This builder for chaining.
    • hasScheduleTime

      public boolean hasScheduleTime()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
      Specified by:
      hasScheduleTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the scheduleTime field is set.
    • getScheduleTime

      public com.google.protobuf.Timestamp getScheduleTime()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
      Specified by:
      getScheduleTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The scheduleTime.
    • setScheduleTime

      public NexusOperationExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp value)
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
    • setScheduleTime

      public NexusOperationExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
    • mergeScheduleTime

      public NexusOperationExecutionInfo.Builder mergeScheduleTime(com.google.protobuf.Timestamp value)
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
    • clearScheduleTime

      public NexusOperationExecutionInfo.Builder clearScheduleTime()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
    • getScheduleTimeBuilder

      public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
    • getScheduleTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
       Time the operation was originally scheduled via a StartNexusOperation request.
       
      .google.protobuf.Timestamp schedule_time = 12;
      Specified by:
      getScheduleTimeOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasExpirationTime

      public boolean hasExpirationTime()
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
      Specified by:
      hasExpirationTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public com.google.protobuf.Timestamp getExpirationTime()
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
      Specified by:
      getExpirationTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The expirationTime.
    • setExpirationTime

      public NexusOperationExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp value)
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
    • setExpirationTime

      public NexusOperationExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
    • mergeExpirationTime

      public NexusOperationExecutionInfo.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
    • clearExpirationTime

      public NexusOperationExecutionInfo.Builder clearExpirationTime()
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
    • getExpirationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
    • getExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
       Scheduled time + schedule to close timeout.
       
      .google.protobuf.Timestamp expiration_time = 13;
      Specified by:
      getExpirationTimeOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasCloseTime

      public boolean hasCloseTime()
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
      Specified by:
      hasCloseTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the closeTime field is set.
    • getCloseTime

      public com.google.protobuf.Timestamp getCloseTime()
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
      Specified by:
      getCloseTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The closeTime.
    • setCloseTime

      public NexusOperationExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp value)
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
    • setCloseTime

      public NexusOperationExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
    • mergeCloseTime

      public NexusOperationExecutionInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
    • clearCloseTime

      public NexusOperationExecutionInfo.Builder clearCloseTime()
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
    • getCloseTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
    • getCloseTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
       Time when the operation transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 14;
      Specified by:
      getCloseTimeOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasLastAttemptCompleteTime

      public boolean hasLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
      Specified by:
      hasLastAttemptCompleteTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the lastAttemptCompleteTime field is set.
    • getLastAttemptCompleteTime

      public com.google.protobuf.Timestamp getLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
      Specified by:
      getLastAttemptCompleteTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The lastAttemptCompleteTime.
    • setLastAttemptCompleteTime

      public NexusOperationExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp value)
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
    • setLastAttemptCompleteTime

      public NexusOperationExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
    • mergeLastAttemptCompleteTime

      public NexusOperationExecutionInfo.Builder mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value)
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
    • clearLastAttemptCompleteTime

      public NexusOperationExecutionInfo.Builder clearLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
    • getLastAttemptCompleteTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
    • getLastAttemptCompleteTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 15;
      Specified by:
      getLastAttemptCompleteTimeOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasLastAttemptFailure

      public boolean hasLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
      Specified by:
      hasLastAttemptFailure in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the lastAttemptFailure field is set.
    • getLastAttemptFailure

      public Failure getLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
      Specified by:
      getLastAttemptFailure in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The lastAttemptFailure.
    • setLastAttemptFailure

      public NexusOperationExecutionInfo.Builder setLastAttemptFailure(Failure value)
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
    • setLastAttemptFailure

      public NexusOperationExecutionInfo.Builder setLastAttemptFailure(Failure.Builder builderForValue)
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
    • mergeLastAttemptFailure

      public NexusOperationExecutionInfo.Builder mergeLastAttemptFailure(Failure value)
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
    • clearLastAttemptFailure

      public NexusOperationExecutionInfo.Builder clearLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
    • getLastAttemptFailureBuilder

      public Failure.Builder getLastAttemptFailureBuilder()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
    • getLastAttemptFailureOrBuilder

      public FailureOrBuilder getLastAttemptFailureOrBuilder()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 16;
      Specified by:
      getLastAttemptFailureOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasNextAttemptScheduleTime

      public boolean hasNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
      Specified by:
      hasNextAttemptScheduleTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the nextAttemptScheduleTime field is set.
    • getNextAttemptScheduleTime

      public com.google.protobuf.Timestamp getNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
      Specified by:
      getNextAttemptScheduleTime in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The nextAttemptScheduleTime.
    • setNextAttemptScheduleTime

      public NexusOperationExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp value)
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
    • setNextAttemptScheduleTime

      public NexusOperationExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
    • mergeNextAttemptScheduleTime

      public NexusOperationExecutionInfo.Builder mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value)
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
    • clearNextAttemptScheduleTime

      public NexusOperationExecutionInfo.Builder clearNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
    • getNextAttemptScheduleTimeBuilder

      public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
    • getNextAttemptScheduleTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 17;
      Specified by:
      getNextAttemptScheduleTimeOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasExecutionDuration

      public boolean hasExecutionDuration()
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
      Specified by:
      hasExecutionDuration in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the executionDuration field is set.
    • getExecutionDuration

      public com.google.protobuf.Duration getExecutionDuration()
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
      Specified by:
      getExecutionDuration in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The executionDuration.
    • setExecutionDuration

      public NexusOperationExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration value)
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
    • setExecutionDuration

      public NexusOperationExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
    • mergeExecutionDuration

      public NexusOperationExecutionInfo.Builder mergeExecutionDuration(com.google.protobuf.Duration value)
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
    • clearExecutionDuration

      public NexusOperationExecutionInfo.Builder clearExecutionDuration()
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
    • getExecutionDurationBuilder

      public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
    • getExecutionDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
       Elapsed time from schedule_time to now for running operations or to close_time for closed
       operations, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 18;
      Specified by:
      getExecutionDurationOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • hasCancellationInfo

      public boolean hasCancellationInfo()
      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
      Specified by:
      hasCancellationInfo in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the cancellationInfo field is set.
    • getCancellationInfo

      public NexusOperationExecutionCancellationInfo getCancellationInfo()
      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
      Specified by:
      getCancellationInfo in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The cancellationInfo.
    • setCancellationInfo

      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
    • setCancellationInfo

      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
    • mergeCancellationInfo

      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
    • clearCancellationInfo

      public NexusOperationExecutionInfo.Builder clearCancellationInfo()
      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
    • getCancellationInfoBuilder

      public NexusOperationExecutionCancellationInfo.Builder getCancellationInfoBuilder()
      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
    • getCancellationInfoOrBuilder

      public NexusOperationExecutionCancellationInfoOrBuilder getCancellationInfoOrBuilder()
      .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;
      Specified by:
      getCancellationInfoOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • getBlockedReason

      public String getBlockedReason()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 20;
      Specified by:
      getBlockedReason in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The blockedReason.
    • getBlockedReasonBytes

      public com.google.protobuf.ByteString getBlockedReasonBytes()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 20;
      Specified by:
      getBlockedReasonBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for blockedReason.
    • setBlockedReason

      public NexusOperationExecutionInfo.Builder setBlockedReason(String value)
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 20;
      Parameters:
      value - The blockedReason to set.
      Returns:
      This builder for chaining.
    • clearBlockedReason

      public NexusOperationExecutionInfo.Builder clearBlockedReason()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 20;
      Returns:
      This builder for chaining.
    • setBlockedReasonBytes

      public NexusOperationExecutionInfo.Builder setBlockedReasonBytes(com.google.protobuf.ByteString value)
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 20;
      Parameters:
      value - The bytes for blockedReason to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Server-generated request ID used as an idempotency token when submitting start requests to
       the handler. Distinct from the request_id in StartNexusOperationRequest, which is the
       caller-side idempotency key for the StartNexusOperation RPC itself.
       
      string request_id = 21;
      Specified by:
      getRequestId in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Server-generated request ID used as an idempotency token when submitting start requests to
       the handler. Distinct from the request_id in StartNexusOperationRequest, which is the
       caller-side idempotency key for the StartNexusOperation RPC itself.
       
      string request_id = 21;
      Specified by:
      getRequestIdBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public NexusOperationExecutionInfo.Builder setRequestId(String value)
       Server-generated request ID used as an idempotency token when submitting start requests to
       the handler. Distinct from the request_id in StartNexusOperationRequest, which is the
       caller-side idempotency key for the StartNexusOperation RPC itself.
       
      string request_id = 21;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public NexusOperationExecutionInfo.Builder clearRequestId()
       Server-generated request ID used as an idempotency token when submitting start requests to
       the handler. Distinct from the request_id in StartNexusOperationRequest, which is the
       caller-side idempotency key for the StartNexusOperation RPC itself.
       
      string request_id = 21;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public NexusOperationExecutionInfo.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Server-generated request ID used as an idempotency token when submitting start requests to
       the handler. Distinct from the request_id in StartNexusOperationRequest, which is the
       caller-side idempotency key for the StartNexusOperation RPC itself.
       
      string request_id = 21;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getOperationToken

      public String getOperationToken()
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 22;
      Specified by:
      getOperationToken in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The operationToken.
    • getOperationTokenBytes

      public com.google.protobuf.ByteString getOperationTokenBytes()
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 22;
      Specified by:
      getOperationTokenBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for operationToken.
    • setOperationToken

      public NexusOperationExecutionInfo.Builder setOperationToken(String value)
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 22;
      Parameters:
      value - The operationToken to set.
      Returns:
      This builder for chaining.
    • clearOperationToken

      public NexusOperationExecutionInfo.Builder clearOperationToken()
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 22;
      Returns:
      This builder for chaining.
    • setOperationTokenBytes

      public NexusOperationExecutionInfo.Builder setOperationTokenBytes(com.google.protobuf.ByteString value)
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 22;
      Parameters:
      value - The bytes for operationToken to set.
      Returns:
      This builder for chaining.
    • getStateTransitionCount

      public long getStateTransitionCount()
       Incremented each time the operation's state is mutated in persistence.
       
      int64 state_transition_count = 23;
      Specified by:
      getStateTransitionCount in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The stateTransitionCount.
    • setStateTransitionCount

      public NexusOperationExecutionInfo.Builder setStateTransitionCount(long value)
       Incremented each time the operation's state is mutated in persistence.
       
      int64 state_transition_count = 23;
      Parameters:
      value - The stateTransitionCount to set.
      Returns:
      This builder for chaining.
    • clearStateTransitionCount

      public NexusOperationExecutionInfo.Builder clearStateTransitionCount()
       Incremented each time the operation's state is mutated in persistence.
       
      int64 state_transition_count = 23;
      Returns:
      This builder for chaining.
    • hasSearchAttributes

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

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

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

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

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

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

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

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 24;
      Specified by:
      getSearchAttributesOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • getNexusHeaderCount

      public int getNexusHeaderCount()
      Description copied from interface: NexusOperationExecutionInfoOrBuilder
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
      Specified by:
      getNexusHeaderCount in interface NexusOperationExecutionInfoOrBuilder
    • containsNexusHeader

      public boolean containsNexusHeader(String key)
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
      Specified by:
      containsNexusHeader in interface NexusOperationExecutionInfoOrBuilder
    • getNexusHeader

      @Deprecated public Map<String,String> getNexusHeader()
      Deprecated.
      Use getNexusHeaderMap() instead.
      Specified by:
      getNexusHeader in interface NexusOperationExecutionInfoOrBuilder
    • getNexusHeaderMap

      public Map<String,String> getNexusHeaderMap()
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
      Specified by:
      getNexusHeaderMap in interface NexusOperationExecutionInfoOrBuilder
    • getNexusHeaderOrDefault

      public String getNexusHeaderOrDefault(String key, String defaultValue)
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
      Specified by:
      getNexusHeaderOrDefault in interface NexusOperationExecutionInfoOrBuilder
    • getNexusHeaderOrThrow

      public String getNexusHeaderOrThrow(String key)
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
      Specified by:
      getNexusHeaderOrThrow in interface NexusOperationExecutionInfoOrBuilder
    • clearNexusHeader

      public NexusOperationExecutionInfo.Builder clearNexusHeader()
    • removeNexusHeader

      public NexusOperationExecutionInfo.Builder removeNexusHeader(String key)
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
    • getMutableNexusHeader

      @Deprecated public Map<String,String> getMutableNexusHeader()
      Deprecated.
      Use alternate mutation accessors instead.
    • putNexusHeader

      public NexusOperationExecutionInfo.Builder putNexusHeader(String key, String value)
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
    • putAllNexusHeader

      public NexusOperationExecutionInfo.Builder putAllNexusHeader(Map<String,String> values)
       Header for context propagation and tracing purposes.
       
      map<string, string> nexus_header = 25;
    • hasUserMetadata

      public boolean hasUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
      Specified by:
      hasUserMetadata in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      Whether the userMetadata field is set.
    • getUserMetadata

      public UserMetadata getUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
      Specified by:
      getUserMetadata in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The userMetadata.
    • setUserMetadata

      public NexusOperationExecutionInfo.Builder setUserMetadata(UserMetadata value)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
    • setUserMetadata

      public NexusOperationExecutionInfo.Builder setUserMetadata(UserMetadata.Builder builderForValue)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
    • mergeUserMetadata

      public NexusOperationExecutionInfo.Builder mergeUserMetadata(UserMetadata value)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
    • clearUserMetadata

      public NexusOperationExecutionInfo.Builder clearUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
    • getUserMetadataBuilder

      public UserMetadata.Builder getUserMetadataBuilder()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
    • getUserMetadataOrBuilder

      public UserMetadataOrBuilder getUserMetadataOrBuilder()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 26;
      Specified by:
      getUserMetadataOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • getLinksList

      public List<Link> getLinksList()
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
      Specified by:
      getLinksList in interface NexusOperationExecutionInfoOrBuilder
    • getLinksCount

      public int getLinksCount()
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
      Specified by:
      getLinksCount in interface NexusOperationExecutionInfoOrBuilder
    • getLinks

      public Link getLinks(int index)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
      Specified by:
      getLinks in interface NexusOperationExecutionInfoOrBuilder
    • setLinks

      public NexusOperationExecutionInfo.Builder setLinks(int index, Link value)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • setLinks

      public NexusOperationExecutionInfo.Builder setLinks(int index, Link.Builder builderForValue)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • addLinks

      public NexusOperationExecutionInfo.Builder addLinks(Link value)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • addLinks

      public NexusOperationExecutionInfo.Builder addLinks(int index, Link value)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • addLinks

      public NexusOperationExecutionInfo.Builder addLinks(Link.Builder builderForValue)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • addLinks

      public NexusOperationExecutionInfo.Builder addLinks(int index, Link.Builder builderForValue)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • addAllLinks

      public NexusOperationExecutionInfo.Builder addAllLinks(Iterable<? extends Link> values)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • clearLinks

       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • removeLinks

      public NexusOperationExecutionInfo.Builder removeLinks(int index)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • getLinksBuilder

      public Link.Builder getLinksBuilder(int index)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • getLinksOrBuilder

      public LinkOrBuilder getLinksOrBuilder(int index)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
      Specified by:
      getLinksOrBuilder in interface NexusOperationExecutionInfoOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkOrBuilder> getLinksOrBuilderList()
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
      Specified by:
      getLinksOrBuilderList in interface NexusOperationExecutionInfoOrBuilder
    • addLinksBuilder

      public Link.Builder addLinksBuilder()
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • addLinksBuilder

      public Link.Builder addLinksBuilder(int index)
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • getLinksBuilderList

      public List<Link.Builder> getLinksBuilderList()
       Links attached by the handler of this operation on start or completion.
       
      repeated .temporal.api.common.v1.Link links = 27;
    • getIdentity

      public String getIdentity()
       The identity of the client who started this operation.
       
      string identity = 28;
      Specified by:
      getIdentity in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the client who started this operation.
       
      string identity = 28;
      Specified by:
      getIdentityBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public NexusOperationExecutionInfo.Builder setIdentity(String value)
       The identity of the client who started this operation.
       
      string identity = 28;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

      public NexusOperationExecutionInfo.Builder clearIdentity()
       The identity of the client who started this operation.
       
      string identity = 28;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public NexusOperationExecutionInfo.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       The identity of the client who started this operation.
       
      string identity = 28;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • getStateSizeBytes

      public long getStateSizeBytes()
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 29;
      Specified by:
      getStateSizeBytes in interface NexusOperationExecutionInfoOrBuilder
      Returns:
      The stateSizeBytes.
    • setStateSizeBytes

      public NexusOperationExecutionInfo.Builder setStateSizeBytes(long value)
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 29;
      Parameters:
      value - The stateSizeBytes to set.
      Returns:
      This builder for chaining.
    • clearStateSizeBytes

      public NexusOperationExecutionInfo.Builder clearStateSizeBytes()
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 29;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
    • mergeUnknownFields

      public final NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>