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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The number of attempts made to deliver the start operation request.If the state is BLOCKED, blocked reason provides additional information..temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;Endpoint name.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The time when the last attempt completed.The last attempt's failure, if any.The time when the next attempt is scheduled.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Operation name.Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.Operation token.The event ID of the NexusOperationScheduled event.The time when the operation was scheduled.Schedule-to-close timeout for this operation.Schedule-to-start timeout for this operation.Service name.Start-to-close timeout for this operation..temporal.api.enums.v1.PendingNexusOperationState state = 7;clone()intThe number of attempts made to deliver the start operation request.If the state is BLOCKED, blocked reason provides additional information.com.google.protobuf.ByteStringIf the state is BLOCKED, blocked reason provides additional information..temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEndpoint name.com.google.protobuf.ByteStringEndpoint name.com.google.protobuf.TimestampThe time when the last attempt completed.com.google.protobuf.Timestamp.BuilderThe time when the last attempt completed.com.google.protobuf.TimestampOrBuilderThe time when the last attempt completed.The last attempt's failure, if any.The last attempt's failure, if any.The last attempt's failure, if any.com.google.protobuf.TimestampThe time when the next attempt is scheduled.com.google.protobuf.Timestamp.BuilderThe time when the next attempt is scheduled.com.google.protobuf.TimestampOrBuilderThe time when the next attempt is scheduled.Operation name.com.google.protobuf.ByteStringOperation name.Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.Operation token.com.google.protobuf.ByteStringOperation token.longThe event ID of the NexusOperationScheduled event.com.google.protobuf.TimestampThe time when the operation was scheduled.com.google.protobuf.Timestamp.BuilderThe time when the operation was scheduled.com.google.protobuf.TimestampOrBuilderThe time when the operation was scheduled.com.google.protobuf.DurationSchedule-to-close timeout for this operation.com.google.protobuf.Duration.BuilderSchedule-to-close timeout for this operation.com.google.protobuf.DurationOrBuilderSchedule-to-close timeout for this operation.com.google.protobuf.DurationSchedule-to-start timeout for this operation.com.google.protobuf.Duration.BuilderSchedule-to-start timeout for this operation.com.google.protobuf.DurationOrBuilderSchedule-to-start timeout for this operation.Service name.com.google.protobuf.ByteStringService name.com.google.protobuf.DurationStart-to-close timeout for this operation.com.google.protobuf.Duration.BuilderStart-to-close timeout for this operation.com.google.protobuf.DurationOrBuilderStart-to-close timeout for this operation.getState().temporal.api.enums.v1.PendingNexusOperationState state = 7;int.temporal.api.enums.v1.PendingNexusOperationState state = 7;boolean.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;booleanThe time when the last attempt completed.booleanThe last attempt's failure, if any.booleanThe time when the next attempt is scheduled.booleanThe time when the operation was scheduled.booleanSchedule-to-close timeout for this operation.booleanSchedule-to-start timeout for this operation.booleanStart-to-close timeout for this operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last attempt completed.mergeLastAttemptFailure(Failure value) The last attempt's failure, if any.mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next attempt is scheduled.mergeScheduledTime(com.google.protobuf.Timestamp value) The time when the operation was scheduled.mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Schedule-to-close timeout for this operation.mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Schedule-to-start timeout for this operation.mergeStartToCloseTimeout(com.google.protobuf.Duration value) Start-to-close timeout for this operation.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAttempt(int value) The number of attempts made to deliver the start operation request.setBlockedReason(String value) If the state is BLOCKED, blocked reason provides additional information.setBlockedReasonBytes(com.google.protobuf.ByteString value) If the state is BLOCKED, blocked reason provides additional information..temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;setCancellationInfo(NexusOperationCancellationInfo.Builder builderForValue) .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;setEndpoint(String value) Endpoint name.setEndpointBytes(com.google.protobuf.ByteString value) Endpoint name.setLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last attempt completed.setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the last attempt completed.setLastAttemptFailure(Failure value) The last attempt's failure, if any.setLastAttemptFailure(Failure.Builder builderForValue) The last attempt's failure, if any.setNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next attempt is scheduled.setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the next attempt is scheduled.setOperation(String value) Operation name.setOperationBytes(com.google.protobuf.ByteString value) Operation name.setOperationId(String value) Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.setOperationIdBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.setOperationToken(String value) Operation token.setOperationTokenBytes(com.google.protobuf.ByteString value) Operation token.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setScheduledEventId(long value) The event ID of the NexusOperationScheduled event.setScheduledTime(com.google.protobuf.Timestamp value) The time when the operation was scheduled.setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the operation was scheduled.setScheduleToCloseTimeout(com.google.protobuf.Duration value) Schedule-to-close timeout for this operation.setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Schedule-to-close timeout for this operation.setScheduleToStartTimeout(com.google.protobuf.Duration value) Schedule-to-start timeout for this operation.setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Schedule-to-start timeout for this operation.setService(String value) Service name.setServiceBytes(com.google.protobuf.ByteString value) Service name.setStartToCloseTimeout(com.google.protobuf.Duration value) Start-to-close timeout for this operation.setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Start-to-close timeout for this operation..temporal.api.enums.v1.PendingNexusOperationState state = 7;setStateValue(int value) .temporal.api.enums.v1.PendingNexusOperationState state = 7;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
setField
public PendingNexusOperationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
clearField
public PendingNexusOperationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
clearOneof
public PendingNexusOperationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
setRepeatedField
public PendingNexusOperationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
addRepeatedField
public PendingNexusOperationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PendingNexusOperationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PendingNexusOperationInfo.Builder>- Throws:
IOException
-
getEndpoint
Endpoint name. Resolved to a URL via the cluster's endpoint registry.
string endpoint = 1;- Specified by:
getEndpointin interfacePendingNexusOperationInfoOrBuilder- 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:
getEndpointBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
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
Endpoint name. Resolved to a URL via the cluster's endpoint registry.
string endpoint = 1;- Returns:
- This builder for chaining.
-
setEndpointBytes
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
Service name.
string service = 2;- Specified by:
getServicein interfacePendingNexusOperationInfoOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Service name.
string service = 2;- Specified by:
getServiceBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for service.
-
setService
Service name.
string service = 2;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Service name.
string service = 2;- Returns:
- This builder for chaining.
-
setServiceBytes
Service name.
string service = 2;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getOperation
Operation name.
string operation = 3;- Specified by:
getOperationin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()Operation name.
string operation = 3;- Specified by:
getOperationBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for operation.
-
setOperation
Operation name.
string operation = 3;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
Operation name.
string operation = 3;- Returns:
- This builder for chaining.
-
setOperationBytes
Operation name.
string operation = 3;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
getOperationId
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated. Renamed to operation_token.
string operation_id = 4 [deprecated = true];- Specified by:
getOperationIdin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The operationId.
-
getOperationIdBytes
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated. Renamed to operation_token.
string operation_id = 4 [deprecated = true];- Specified by:
getOperationIdBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for operationId.
-
setOperationId
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509Operation 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=509Operation 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=509Operation 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:
hasScheduleToCloseTimeoutin interfacePendingNexusOperationInfoOrBuilder- 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:
getScheduleToCloseTimeoutin interfacePendingNexusOperationInfoOrBuilder- 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
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:
getScheduleToCloseTimeoutOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()The time when the operation was scheduled.
.google.protobuf.Timestamp scheduled_time = 6;- Specified by:
hasScheduledTimein interfacePendingNexusOperationInfoOrBuilder- 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:
getScheduledTimein interfacePendingNexusOperationInfoOrBuilder- Returns:
- The scheduledTime.
-
setScheduledTime
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
The time when the operation was scheduled.
.google.protobuf.Timestamp scheduled_time = 6; -
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:
getScheduledTimeOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
getStateValue
public int getStateValue().temporal.api.enums.v1.PendingNexusOperationState state = 7;- Specified by:
getStateValuein interfacePendingNexusOperationInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
.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
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Specified by:
getStatein interfacePendingNexusOperationInfoOrBuilder- Returns:
- The state.
-
setState
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
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:
getAttemptin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The attempt.
-
setAttempt
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
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:
hasLastAttemptCompleteTimein interfacePendingNexusOperationInfoOrBuilder- 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:
getLastAttemptCompleteTimein interfacePendingNexusOperationInfoOrBuilder- 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
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:
getLastAttemptCompleteTimeOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
hasLastAttemptFailure
public boolean hasLastAttemptFailure()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10;- Specified by:
hasLastAttemptFailurein interfacePendingNexusOperationInfoOrBuilder- Returns:
- Whether the lastAttemptFailure field is set.
-
getLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10;- Specified by:
getLastAttemptFailurein interfacePendingNexusOperationInfoOrBuilder- Returns:
- The lastAttemptFailure.
-
setLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10; -
setLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10; -
mergeLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10; -
clearLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10; -
getLastAttemptFailureBuilder
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10; -
getLastAttemptFailureOrBuilder
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10;- Specified by:
getLastAttemptFailureOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
hasNextAttemptScheduleTime
public boolean hasNextAttemptScheduleTime()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 11;- Specified by:
hasNextAttemptScheduleTimein interfacePendingNexusOperationInfoOrBuilder- 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:
getNextAttemptScheduleTimein interfacePendingNexusOperationInfoOrBuilder- 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
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:
getNextAttemptScheduleTimeOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
hasCancellationInfo
public boolean hasCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;- Specified by:
hasCancellationInfoin interfacePendingNexusOperationInfoOrBuilder- Returns:
- Whether the cancellationInfo field is set.
-
getCancellationInfo
.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;- Specified by:
getCancellationInfoin interfacePendingNexusOperationInfoOrBuilder- 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
public PendingNexusOperationInfo.Builder mergeCancellationInfo(NexusOperationCancellationInfo value) .temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12; -
clearCancellationInfo
.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12; -
getCancellationInfoBuilder
.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12; -
getCancellationInfoOrBuilder
.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;- Specified by:
getCancellationInfoOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
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:
getScheduledEventIdin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The scheduledEventId.
-
setScheduledEventId
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
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
If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 14;- Specified by:
getBlockedReasonin interfacePendingNexusOperationInfoOrBuilder- 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:
getBlockedReasonBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for blockedReason.
-
setBlockedReason
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
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
Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 15;- Specified by:
getOperationTokenin interfacePendingNexusOperationInfoOrBuilder- 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:
getOperationTokenBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for operationToken.
-
setOperationToken
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
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:
hasScheduleToStartTimeoutin interfacePendingNexusOperationInfoOrBuilder- 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:
getScheduleToStartTimeoutin interfacePendingNexusOperationInfoOrBuilder- 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
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:
getScheduleToStartTimeoutOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
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:
hasStartToCloseTimeoutin interfacePendingNexusOperationInfoOrBuilder- 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:
getStartToCloseTimeoutin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The startToCloseTimeout.
-
setStartToCloseTimeout
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
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:
getStartToCloseTimeoutOrBuilderin interfacePendingNexusOperationInfoOrBuilder
-
setUnknownFields
public final PendingNexusOperationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
mergeUnknownFields
public final PendingNexusOperationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-