Interface PollNexusOperationExecutionResponseOrBuilder

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

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

    • getRunId

      String getRunId()
       The run ID of the operation, useful when run_id was not specified in the request.
       
      string run_id = 1;
      Returns:
      The runId.
    • getRunIdBytes

      com.google.protobuf.ByteString getRunIdBytes()
       The run ID of the operation, useful when run_id was not specified in the request.
       
      string run_id = 1;
      Returns:
      The bytes for runId.
    • getWaitStageValue

      int getWaitStageValue()
       The current stage of the operation. May be more advanced than the stage requested in the poll.
       
      .temporal.api.enums.v1.NexusOperationWaitStage wait_stage = 2;
      Returns:
      The enum numeric value on the wire for waitStage.
    • getWaitStage

      NexusOperationWaitStage getWaitStage()
       The current stage of the operation. May be more advanced than the stage requested in the poll.
       
      .temporal.api.enums.v1.NexusOperationWaitStage wait_stage = 2;
      Returns:
      The waitStage.
    • getOperationToken

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

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

      boolean hasResult()
       The result if the operation completed successfully.
       
      .temporal.api.common.v1.Payload result = 4;
      Returns:
      Whether the result field is set.
    • getResult

      Payload getResult()
       The result if the operation completed successfully.
       
      .temporal.api.common.v1.Payload result = 4;
      Returns:
      The result.
    • getResultOrBuilder

      PayloadOrBuilder getResultOrBuilder()
       The result if the operation completed successfully.
       
      .temporal.api.common.v1.Payload result = 4;
    • hasFailure

      boolean hasFailure()
       The failure if the operation completed unsuccessfully.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Returns:
      Whether the failure field is set.
    • getFailure

      Failure getFailure()
       The failure if the operation completed unsuccessfully.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Returns:
      The failure.
    • getFailureOrBuilder

      FailureOrBuilder getFailureOrBuilder()
       The failure if the operation completed unsuccessfully.
       
      .temporal.api.failure.v1.Failure failure = 5;
    • getOutcomeCase