Interface PendingNexusOperationInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PendingNexusOperationInfo, PendingNexusOperationInfo.Builder

@Generated(value="protoc", comments="annotations:PendingNexusOperationInfoOrBuilder.java.pb.meta") public interface PendingNexusOperationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEndpoint

      String getEndpoint()
       Endpoint name.
       Resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 1;
      Returns:
      The endpoint.
    • getEndpointBytes

      com.google.protobuf.ByteString getEndpointBytes()
       Endpoint name.
       Resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 1;
      Returns:
      The bytes for endpoint.
    • getService

      String getService()
       Service name.
       
      string service = 2;
      Returns:
      The service.
    • getServiceBytes

      com.google.protobuf.ByteString getServiceBytes()
       Service name.
       
      string service = 2;
      Returns:
      The bytes for service.
    • getOperation

      String getOperation()
       Operation name.
       
      string operation = 3;
      Returns:
      The operation.
    • getOperationBytes

      com.google.protobuf.ByteString getOperationBytes()
       Operation name.
       
      string operation = 3;
      Returns:
      The bytes for operation.
    • getOperationId

      @Deprecated String getOperationId()
      Deprecated.
      temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509
       Operation ID. Only set for asynchronous operations after a successful StartOperation call.
      
       Deprecated. Renamed to operation_token.
       
      string operation_id = 4 [deprecated = true];
      Returns:
      The operationId.
    • getOperationIdBytes

      @Deprecated com.google.protobuf.ByteString getOperationIdBytes()
      Deprecated.
      temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509
       Operation ID. Only set for asynchronous operations after a successful StartOperation call.
      
       Deprecated. Renamed to operation_token.
       
      string operation_id = 4 [deprecated = true];
      Returns:
      The bytes for operationId.
    • hasScheduleToCloseTimeout

      boolean hasScheduleToCloseTimeout()
       Schedule-to-close timeout for this operation.
       This is the only timeout settable by a workflow.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 5;
      Returns:
      Whether the scheduleToCloseTimeout field is set.
    • getScheduleToCloseTimeout

      com.google.protobuf.Duration getScheduleToCloseTimeout()
       Schedule-to-close timeout for this operation.
       This is the only timeout settable by a workflow.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 5;
      Returns:
      The scheduleToCloseTimeout.
    • getScheduleToCloseTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
       Schedule-to-close timeout for this operation.
       This is the only timeout settable by a workflow.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 5;
    • hasScheduledTime

      boolean hasScheduledTime()
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
      Returns:
      Whether the scheduledTime field is set.
    • getScheduledTime

      com.google.protobuf.Timestamp getScheduledTime()
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
      Returns:
      The scheduledTime.
    • getScheduledTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
    • getStateValue

      int getStateValue()
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Returns:
      The state.
    • getAttempt

      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 = 8;
      Returns:
      The attempt.
    • hasLastAttemptCompleteTime

      boolean hasLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 9;
      Returns:
      Whether the lastAttemptCompleteTime field is set.
    • getLastAttemptCompleteTime

      com.google.protobuf.Timestamp getLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 9;
      Returns:
      The lastAttemptCompleteTime.
    • getLastAttemptCompleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 9;
    • hasLastAttemptFailure

      boolean hasLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 10;
      Returns:
      Whether the lastAttemptFailure field is set.
    • getLastAttemptFailure

      Failure getLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 10;
      Returns:
      The lastAttemptFailure.
    • getLastAttemptFailureOrBuilder

      FailureOrBuilder getLastAttemptFailureOrBuilder()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 10;
    • hasNextAttemptScheduleTime

      boolean hasNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 11;
      Returns:
      Whether the nextAttemptScheduleTime field is set.
    • getNextAttemptScheduleTime

      com.google.protobuf.Timestamp getNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 11;
      Returns:
      The nextAttemptScheduleTime.
    • getNextAttemptScheduleTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 11;
    • hasCancellationInfo

      boolean hasCancellationInfo()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
      Returns:
      Whether the cancellationInfo field is set.
    • getCancellationInfo

      NexusOperationCancellationInfo getCancellationInfo()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
      Returns:
      The cancellationInfo.
    • getCancellationInfoOrBuilder

      NexusOperationCancellationInfoOrBuilder getCancellationInfoOrBuilder()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
    • getScheduledEventId

      long getScheduledEventId()
       The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the
       DescribeWorkflowExecution response with workflow history.
       
      int64 scheduled_event_id = 13;
      Returns:
      The scheduledEventId.
    • getBlockedReason

      String getBlockedReason()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 14;
      Returns:
      The blockedReason.
    • getBlockedReasonBytes

      com.google.protobuf.ByteString getBlockedReasonBytes()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 14;
      Returns:
      The bytes for blockedReason.
    • getOperationToken

      String getOperationToken()
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 15;
      Returns:
      The operationToken.
    • getOperationTokenBytes

      com.google.protobuf.ByteString getOperationTokenBytes()
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 15;
      Returns:
      The bytes for operationToken.
    • hasScheduleToStartTimeout

      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 = 16;
      Returns:
      Whether the scheduleToStartTimeout field is set.
    • getScheduleToStartTimeout

      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 = 16;
      Returns:
      The scheduleToStartTimeout.
    • getScheduleToStartTimeoutOrBuilder

      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 = 16;
    • hasStartToCloseTimeout

      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 = 17;
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      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 = 17;
      Returns:
      The startToCloseTimeout.
    • getStartToCloseTimeoutOrBuilder

      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 = 17;