Class PendingNexusOperationInfo

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

@Generated(value="protoc", comments="annotations:PendingNexusOperationInfo.java.pb.meta") public final class PendingNexusOperationInfo extends com.google.protobuf.GeneratedMessageV3 implements PendingNexusOperationInfoOrBuilder
 PendingNexusOperationInfo contains the state of a pending Nexus operation.
 
Protobuf type temporal.api.workflow.v1.PendingNexusOperationInfo
See Also:
  • Field Details

    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_FIELD_NUMBER
      See Also:
    • SERVICE_FIELD_NUMBER

      public static final int SERVICE_FIELD_NUMBER
      See Also:
    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • OPERATION_ID_FIELD_NUMBER

      public static final int OPERATION_ID_FIELD_NUMBER
      See Also:
    • SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER

      public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
      See Also:
    • SCHEDULED_TIME_FIELD_NUMBER

      public static final int SCHEDULED_TIME_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • ATTEMPT_FIELD_NUMBER

      public static final int ATTEMPT_FIELD_NUMBER
      See Also:
    • LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER

      public static final int LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
      See Also:
    • LAST_ATTEMPT_FAILURE_FIELD_NUMBER

      public static final int LAST_ATTEMPT_FAILURE_FIELD_NUMBER
      See Also:
    • NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER

      public static final int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
      See Also:
    • CANCELLATION_INFO_FIELD_NUMBER

      public static final int CANCELLATION_INFO_FIELD_NUMBER
      See Also:
    • SCHEDULED_EVENT_ID_FIELD_NUMBER

      public static final int SCHEDULED_EVENT_ID_FIELD_NUMBER
      See Also:
    • BLOCKED_REASON_FIELD_NUMBER

      public static final int BLOCKED_REASON_FIELD_NUMBER
      See Also:
    • OPERATION_TOKEN_FIELD_NUMBER

      public static final int OPERATION_TOKEN_FIELD_NUMBER
      See Also:
    • SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER

      public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
      See Also:
    • START_TO_CLOSE_TIMEOUT_FIELD_NUMBER

      public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

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

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

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

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

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

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

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

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

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

      @Deprecated public 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];
      Specified by:
      getOperationId in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      @Deprecated public 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];
      Specified by:
      getOperationIdBytes in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The bytes for operationId.
    • hasScheduleToCloseTimeout

      public 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;
      Specified by:
      hasScheduleToCloseTimeout in interface PendingNexusOperationInfoOrBuilder
      Returns:
      Whether the scheduleToCloseTimeout field is set.
    • getScheduleToCloseTimeout

      public 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;
      Specified by:
      getScheduleToCloseTimeout in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The scheduleToCloseTimeout.
    • getScheduleToCloseTimeoutOrBuilder

      public 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;
      Specified by:
      getScheduleToCloseTimeoutOrBuilder in interface PendingNexusOperationInfoOrBuilder
    • hasScheduledTime

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

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

      public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
      Specified by:
      getScheduledTimeOrBuilder in interface PendingNexusOperationInfoOrBuilder
    • getStateValue

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

      public PendingNexusOperationState getState()
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Specified by:
      getState in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The state.
    • 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 = 8;
      Specified by:
      getAttempt in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The attempt.
    • hasLastAttemptCompleteTime

      public boolean hasLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 9;
      Specified by:
      hasLastAttemptCompleteTime in interface PendingNexusOperationInfoOrBuilder
      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 = 9;
      Specified by:
      getLastAttemptCompleteTime in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The lastAttemptCompleteTime.
    • getLastAttemptCompleteTimeOrBuilder

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

      public boolean hasLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 10;
      Specified by:
      hasLastAttemptFailure in interface PendingNexusOperationInfoOrBuilder
      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 = 10;
      Specified by:
      getLastAttemptFailure in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The lastAttemptFailure.
    • getLastAttemptFailureOrBuilder

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

      public boolean hasNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 11;
      Specified by:
      hasNextAttemptScheduleTime in interface PendingNexusOperationInfoOrBuilder
      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 = 11;
      Specified by:
      getNextAttemptScheduleTime in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The nextAttemptScheduleTime.
    • getNextAttemptScheduleTimeOrBuilder

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

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

      public NexusOperationCancellationInfo getCancellationInfo()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
      Specified by:
      getCancellationInfo in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The cancellationInfo.
    • getCancellationInfoOrBuilder

      public NexusOperationCancellationInfoOrBuilder getCancellationInfoOrBuilder()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
      Specified by:
      getCancellationInfoOrBuilder in interface PendingNexusOperationInfoOrBuilder
    • getScheduledEventId

      public 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;
      Specified by:
      getScheduledEventId in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The scheduledEventId.
    • getBlockedReason

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

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

      public String getOperationToken()
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 15;
      Specified by:
      getOperationToken in interface PendingNexusOperationInfoOrBuilder
      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 = 15;
      Specified by:
      getOperationTokenBytes in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The bytes for operationToken.
    • 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 = 16;
      Specified by:
      hasScheduleToStartTimeout in interface PendingNexusOperationInfoOrBuilder
      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 = 16;
      Specified by:
      getScheduleToStartTimeout in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The scheduleToStartTimeout.
    • 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 = 16;
      Specified by:
      getScheduleToStartTimeoutOrBuilder in interface PendingNexusOperationInfoOrBuilder
    • 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 = 17;
      Specified by:
      hasStartToCloseTimeout in interface PendingNexusOperationInfoOrBuilder
      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 = 17;
      Specified by:
      getStartToCloseTimeout in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The startToCloseTimeout.
    • 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 = 17;
      Specified by:
      getStartToCloseTimeoutOrBuilder in interface PendingNexusOperationInfoOrBuilder
    • isInitialized

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static PendingNexusOperationInfo.Builder newBuilder()
    • newBuilder

      public static PendingNexusOperationInfo.Builder newBuilder(PendingNexusOperationInfo prototype)
    • toBuilder

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

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

      public static PendingNexusOperationInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<PendingNexusOperationInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public PendingNexusOperationInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder