Class NexusOperationExecutionInfo

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

@Generated(value="protoc", comments="annotations:NexusOperationExecutionInfo.java.pb.meta") public final class NexusOperationExecutionInfo extends com.google.protobuf.GeneratedMessageV3 implements NexusOperationExecutionInfoOrBuilder
 Full current state of a standalone Nexus operation, as of the time of the request.
 
Protobuf type temporal.api.nexus.v1.NexusOperationExecutionInfo
See Also:
  • Field Details

    • OPERATION_ID_FIELD_NUMBER

      public static final int OPERATION_ID_FIELD_NUMBER
      See Also:
    • RUN_ID_FIELD_NUMBER

      public static final int RUN_ID_FIELD_NUMBER
      See Also:
    • 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:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER

      public static final int SCHEDULE_TO_CLOSE_TIMEOUT_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:
    • ATTEMPT_FIELD_NUMBER

      public static final int ATTEMPT_FIELD_NUMBER
      See Also:
    • SCHEDULE_TIME_FIELD_NUMBER

      public static final int SCHEDULE_TIME_FIELD_NUMBER
      See Also:
    • EXPIRATION_TIME_FIELD_NUMBER

      public static final int EXPIRATION_TIME_FIELD_NUMBER
      See Also:
    • CLOSE_TIME_FIELD_NUMBER

      public static final int CLOSE_TIME_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:
    • EXECUTION_DURATION_FIELD_NUMBER

      public static final int EXECUTION_DURATION_FIELD_NUMBER
      See Also:
    • CANCELLATION_INFO_FIELD_NUMBER

      public static final int CANCELLATION_INFO_FIELD_NUMBER
      See Also:
    • BLOCKED_REASON_FIELD_NUMBER

      public static final int BLOCKED_REASON_FIELD_NUMBER
      See Also:
    • REQUEST_ID_FIELD_NUMBER

      public static final int REQUEST_ID_FIELD_NUMBER
      See Also:
    • OPERATION_TOKEN_FIELD_NUMBER

      public static final int OPERATION_TOKEN_FIELD_NUMBER
      See Also:
    • STATE_TRANSITION_COUNT_FIELD_NUMBER

      public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • NEXUS_HEADER_FIELD_NUMBER

      public static final int NEXUS_HEADER_FIELD_NUMBER
      See Also:
    • USER_METADATA_FIELD_NUMBER

      public static final int USER_METADATA_FIELD_NUMBER
      See Also:
    • IDENTITY_FIELD_NUMBER

      public static final int IDENTITY_FIELD_NUMBER
      See Also:
    • STATE_SIZE_BYTES_FIELD_NUMBER

      public static final int STATE_SIZE_BYTES_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()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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 NexusOperationExecutionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static NexusOperationExecutionInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static NexusOperationExecutionInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<NexusOperationExecutionInfo> 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 NexusOperationExecutionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder