Class PendingNexusOperationInfo.Builder

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

public static final class PendingNexusOperationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder> implements PendingNexusOperationInfoOrBuilder
 PendingNexusOperationInfo contains the state of a pending Nexus operation.
 
Protobuf type temporal.api.workflow.v1.PendingNexusOperationInfo
  • Method Details

    • 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.Builder<PendingNexusOperationInfo.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<PendingNexusOperationInfo.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<PendingNexusOperationInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public PendingNexusOperationInfo.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<PendingNexusOperationInfo.Builder>
      Throws:
      IOException
    • 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.
    • setEndpoint

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

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

      public PendingNexusOperationInfo.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       Endpoint name.
       Resolved to a URL via the cluster's endpoint registry.
       
      string endpoint = 1;
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.
    • 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.
    • setService

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

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

      public PendingNexusOperationInfo.Builder setServiceBytes(com.google.protobuf.ByteString value)
       Service name.
       
      string service = 2;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOperation

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

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

      public PendingNexusOperationInfo.Builder setOperationBytes(com.google.protobuf.ByteString value)
       Operation name.
       
      string operation = 3;
      Parameters:
      value - The bytes for operation to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOperationId

      @Deprecated public PendingNexusOperationInfo.Builder setOperationId(String value)
      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];
      Parameters:
      value - The operationId to set.
      Returns:
      This builder for chaining.
    • clearOperationId

      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:
      This builder for chaining.
    • setOperationIdBytes

      @Deprecated public PendingNexusOperationInfo.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
      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];
      Parameters:
      value - The bytes for operationId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setScheduleToCloseTimeout

      public PendingNexusOperationInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
       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;
    • setScheduleToCloseTimeout

      public PendingNexusOperationInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       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;
    • mergeScheduleToCloseTimeout

      public PendingNexusOperationInfo.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
       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;
    • clearScheduleToCloseTimeout

      public PendingNexusOperationInfo.Builder clearScheduleToCloseTimeout()
       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;
    • getScheduleToCloseTimeoutBuilder

      public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
       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;
    • 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.
    • setScheduledTime

      public PendingNexusOperationInfo.Builder setScheduledTime(com.google.protobuf.Timestamp value)
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
    • setScheduledTime

      public PendingNexusOperationInfo.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
    • mergeScheduledTime

      public PendingNexusOperationInfo.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
    • clearScheduledTime

      public PendingNexusOperationInfo.Builder clearScheduledTime()
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
    • getScheduledTimeBuilder

      public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
       The time when the operation was scheduled.
       
      .google.protobuf.Timestamp scheduled_time = 6;
    • 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.
    • setStateValue

      public PendingNexusOperationInfo.Builder setStateValue(int value)
      .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()
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Specified by:
      getState in interface PendingNexusOperationInfoOrBuilder
      Returns:
      The state.
    • setState

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

      public PendingNexusOperationInfo.Builder clearState()
      .temporal.api.enums.v1.PendingNexusOperationState state = 7;
      Returns:
      This builder for chaining.
    • 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.
    • setAttempt

      public PendingNexusOperationInfo.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 = 8;
      Parameters:
      value - The attempt to set.
      Returns:
      This builder for chaining.
    • clearAttempt

      public PendingNexusOperationInfo.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 = 8;
      Returns:
      This builder for chaining.
    • 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.
    • setLastAttemptCompleteTime

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

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

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

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

      public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 9;
    • 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.
    • setLastAttemptFailure

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

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

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

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

      public Failure.Builder getLastAttemptFailureBuilder()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 10;
    • 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.
    • setNextAttemptScheduleTime

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

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

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

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

      public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 11;
    • 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.
    • setCancellationInfo

      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
    • setCancellationInfo

      public PendingNexusOperationInfo.Builder setCancellationInfo(NexusOperationCancellationInfo.Builder builderForValue)
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
    • mergeCancellationInfo

      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
    • clearCancellationInfo

      public PendingNexusOperationInfo.Builder clearCancellationInfo()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
    • getCancellationInfoBuilder

      public NexusOperationCancellationInfo.Builder getCancellationInfoBuilder()
      .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;
    • 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.
    • setScheduledEventId

      public PendingNexusOperationInfo.Builder setScheduledEventId(long value)
       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;
      Parameters:
      value - The scheduledEventId to set.
      Returns:
      This builder for chaining.
    • clearScheduledEventId

      public PendingNexusOperationInfo.Builder clearScheduledEventId()
       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:
      This builder for chaining.
    • 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.
    • setBlockedReason

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

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

      public PendingNexusOperationInfo.Builder setBlockedReasonBytes(com.google.protobuf.ByteString value)
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 14;
      Parameters:
      value - The bytes for blockedReason 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 = 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.
    • setOperationToken

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

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

      public PendingNexusOperationInfo.Builder setOperationTokenBytes(com.google.protobuf.ByteString value)
       Operation token. Only set for asynchronous operations after a successful StartOperation call.
       
      string operation_token = 15;
      Parameters:
      value - The bytes for operationToken to set.
      Returns:
      This builder for chaining.
    • 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.
    • setScheduleToStartTimeout

      public PendingNexusOperationInfo.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 = 16;
    • setScheduleToStartTimeout

      public PendingNexusOperationInfo.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 = 16;
    • mergeScheduleToStartTimeout

      public PendingNexusOperationInfo.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 = 16;
    • clearScheduleToStartTimeout

      public PendingNexusOperationInfo.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 = 16;
    • 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 = 16;
    • 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.
    • setStartToCloseTimeout

      public PendingNexusOperationInfo.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 = 17;
    • setStartToCloseTimeout

      public PendingNexusOperationInfo.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 = 17;
    • mergeStartToCloseTimeout

      public PendingNexusOperationInfo.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 = 17;
    • clearStartToCloseTimeout

      public PendingNexusOperationInfo.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 = 17;
    • 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 = 17;
    • 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
    • setUnknownFields

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

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