Package io.temporal.api.workflow.v1
Class PendingNexusOperationInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.workflow.v1.PendingNexusOperationInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PendingNexusOperationInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PendingNexusOperationInfobuild()PendingNexusOperationInfobuildPartial()PendingNexusOperationInfo.Builderclear()PendingNexusOperationInfo.BuilderclearAttempt()The number of attempts made to deliver the start operation request.PendingNexusOperationInfo.BuilderclearBlockedReason()If the state is BLOCKED, blocked reason provides additional information.PendingNexusOperationInfo.BuilderclearCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;PendingNexusOperationInfo.BuilderclearEndpoint()Endpoint name.PendingNexusOperationInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PendingNexusOperationInfo.BuilderclearLastAttemptCompleteTime()The time when the last attempt completed.PendingNexusOperationInfo.BuilderclearLastAttemptFailure()The last attempt's failure, if any.PendingNexusOperationInfo.BuilderclearNextAttemptScheduleTime()The time when the next attempt is scheduled.PendingNexusOperationInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PendingNexusOperationInfo.BuilderclearOperation()Operation name.PendingNexusOperationInfo.BuilderclearOperationId()Operation ID.PendingNexusOperationInfo.BuilderclearOperationToken()Operation token.PendingNexusOperationInfo.BuilderclearScheduledEventId()The event ID of the NexusOperationScheduled event.PendingNexusOperationInfo.BuilderclearScheduledTime()The time when the operation was scheduled.PendingNexusOperationInfo.BuilderclearScheduleToCloseTimeout()Schedule-to-close timeout for this operation.PendingNexusOperationInfo.BuilderclearService()Service name.PendingNexusOperationInfo.BuilderclearState().temporal.api.enums.v1.PendingNexusOperationState state = 7;PendingNexusOperationInfo.Builderclone()intgetAttempt()The number of attempts made to deliver the start operation request.java.lang.StringgetBlockedReason()If the state is BLOCKED, blocked reason provides additional information.com.google.protobuf.ByteStringgetBlockedReasonBytes()If the state is BLOCKED, blocked reason provides additional information.NexusOperationCancellationInfogetCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;NexusOperationCancellationInfo.BuildergetCancellationInfoBuilder().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;NexusOperationCancellationInfoOrBuildergetCancellationInfoOrBuilder().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;PendingNexusOperationInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEndpoint()Endpoint name.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint name.com.google.protobuf.TimestampgetLastAttemptCompleteTime()The time when the last attempt completed.com.google.protobuf.Timestamp.BuildergetLastAttemptCompleteTimeBuilder()The time when the last attempt completed.com.google.protobuf.TimestampOrBuildergetLastAttemptCompleteTimeOrBuilder()The time when the last attempt completed.FailuregetLastAttemptFailure()The last attempt's failure, if any.Failure.BuildergetLastAttemptFailureBuilder()The last attempt's failure, if any.FailureOrBuildergetLastAttemptFailureOrBuilder()The last attempt's failure, if any.com.google.protobuf.TimestampgetNextAttemptScheduleTime()The time when the next attempt is scheduled.com.google.protobuf.Timestamp.BuildergetNextAttemptScheduleTimeBuilder()The time when the next attempt is scheduled.com.google.protobuf.TimestampOrBuildergetNextAttemptScheduleTimeOrBuilder()The time when the next attempt is scheduled.java.lang.StringgetOperation()Operation name.com.google.protobuf.ByteStringgetOperationBytes()Operation name.java.lang.StringgetOperationId()Operation ID.com.google.protobuf.ByteStringgetOperationIdBytes()Operation ID.java.lang.StringgetOperationToken()Operation token.com.google.protobuf.ByteStringgetOperationTokenBytes()Operation token.longgetScheduledEventId()The event ID of the NexusOperationScheduled event.com.google.protobuf.TimestampgetScheduledTime()The time when the operation was scheduled.com.google.protobuf.Timestamp.BuildergetScheduledTimeBuilder()The time when the operation was scheduled.com.google.protobuf.TimestampOrBuildergetScheduledTimeOrBuilder()The time when the operation was scheduled.com.google.protobuf.DurationgetScheduleToCloseTimeout()Schedule-to-close timeout for this operation.com.google.protobuf.Duration.BuildergetScheduleToCloseTimeoutBuilder()Schedule-to-close timeout for this operation.com.google.protobuf.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation.java.lang.StringgetService()Service name.com.google.protobuf.ByteStringgetServiceBytes()Service name.PendingNexusOperationStategetState().temporal.api.enums.v1.PendingNexusOperationState state = 7;intgetStateValue().temporal.api.enums.v1.PendingNexusOperationState state = 7;booleanhasCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;booleanhasLastAttemptCompleteTime()The time when the last attempt completed.booleanhasLastAttemptFailure()The last attempt's failure, if any.booleanhasNextAttemptScheduleTime()The time when the next attempt is scheduled.booleanhasScheduledTime()The time when the operation was scheduled.booleanhasScheduleToCloseTimeout()Schedule-to-close timeout for this operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PendingNexusOperationInfo.BuildermergeCancellationInfo(NexusOperationCancellationInfo value).temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;PendingNexusOperationInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PendingNexusOperationInfo.BuildermergeFrom(com.google.protobuf.Message other)PendingNexusOperationInfo.BuildermergeFrom(PendingNexusOperationInfo other)PendingNexusOperationInfo.BuildermergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value)The time when the last attempt completed.PendingNexusOperationInfo.BuildermergeLastAttemptFailure(Failure value)The last attempt's failure, if any.PendingNexusOperationInfo.BuildermergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value)The time when the next attempt is scheduled.PendingNexusOperationInfo.BuildermergeScheduledTime(com.google.protobuf.Timestamp value)The time when the operation was scheduled.PendingNexusOperationInfo.BuildermergeScheduleToCloseTimeout(com.google.protobuf.Duration value)Schedule-to-close timeout for this operation.PendingNexusOperationInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PendingNexusOperationInfo.BuildersetAttempt(int value)The number of attempts made to deliver the start operation request.PendingNexusOperationInfo.BuildersetBlockedReason(java.lang.String value)If the state is BLOCKED, blocked reason provides additional information.PendingNexusOperationInfo.BuildersetBlockedReasonBytes(com.google.protobuf.ByteString value)If the state is BLOCKED, blocked reason provides additional information.PendingNexusOperationInfo.BuildersetCancellationInfo(NexusOperationCancellationInfo value).temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;PendingNexusOperationInfo.BuildersetCancellationInfo(NexusOperationCancellationInfo.Builder builderForValue).temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;PendingNexusOperationInfo.BuildersetEndpoint(java.lang.String value)Endpoint name.PendingNexusOperationInfo.BuildersetEndpointBytes(com.google.protobuf.ByteString value)Endpoint name.PendingNexusOperationInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PendingNexusOperationInfo.BuildersetLastAttemptCompleteTime(com.google.protobuf.Timestamp value)The time when the last attempt completed.PendingNexusOperationInfo.BuildersetLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the last attempt completed.PendingNexusOperationInfo.BuildersetLastAttemptFailure(Failure value)The last attempt's failure, if any.PendingNexusOperationInfo.BuildersetLastAttemptFailure(Failure.Builder builderForValue)The last attempt's failure, if any.PendingNexusOperationInfo.BuildersetNextAttemptScheduleTime(com.google.protobuf.Timestamp value)The time when the next attempt is scheduled.PendingNexusOperationInfo.BuildersetNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the next attempt is scheduled.PendingNexusOperationInfo.BuildersetOperation(java.lang.String value)Operation name.PendingNexusOperationInfo.BuildersetOperationBytes(com.google.protobuf.ByteString value)Operation name.PendingNexusOperationInfo.BuildersetOperationId(java.lang.String value)Operation ID.PendingNexusOperationInfo.BuildersetOperationIdBytes(com.google.protobuf.ByteString value)Operation ID.PendingNexusOperationInfo.BuildersetOperationToken(java.lang.String value)Operation token.PendingNexusOperationInfo.BuildersetOperationTokenBytes(com.google.protobuf.ByteString value)Operation token.PendingNexusOperationInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PendingNexusOperationInfo.BuildersetScheduledEventId(long value)The event ID of the NexusOperationScheduled event.PendingNexusOperationInfo.BuildersetScheduledTime(com.google.protobuf.Timestamp value)The time when the operation was scheduled.PendingNexusOperationInfo.BuildersetScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the operation was scheduled.PendingNexusOperationInfo.BuildersetScheduleToCloseTimeout(com.google.protobuf.Duration value)Schedule-to-close timeout for this operation.PendingNexusOperationInfo.BuildersetScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)Schedule-to-close timeout for this operation.PendingNexusOperationInfo.BuildersetService(java.lang.String value)Service name.PendingNexusOperationInfo.BuildersetServiceBytes(com.google.protobuf.ByteString value)Service name.PendingNexusOperationInfo.BuildersetState(PendingNexusOperationState value).temporal.api.enums.v1.PendingNexusOperationState state = 7;PendingNexusOperationInfo.BuildersetStateValue(int value).temporal.api.enums.v1.PendingNexusOperationState state = 7;PendingNexusOperationInfo.BuildersetUnknownFields(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public PendingNexusOperationInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PendingNexusOperationInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PendingNexusOperationInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PendingNexusOperationInfo.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingNexusOperationInfo.Builder>
-
mergeFrom
public PendingNexusOperationInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PendingNexusOperationInfo.Builder>
-
mergeFrom
public PendingNexusOperationInfo.Builder mergeFrom(PendingNexusOperationInfo other)
-
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 java.io.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:
java.io.IOException
-
getEndpoint
public java.lang.String 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
public PendingNexusOperationInfo.Builder setEndpoint(java.lang.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 java.lang.String 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
public PendingNexusOperationInfo.Builder setService(java.lang.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 java.lang.String 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
public PendingNexusOperationInfo.Builder setOperation(java.lang.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
public java.lang.String getOperationId()
Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated: Renamed to operation_token.
string operation_id = 4;- Specified by:
getOperationIdin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The operationId.
-
getOperationIdBytes
public com.google.protobuf.ByteString getOperationIdBytes()
Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated: Renamed to operation_token.
string operation_id = 4;- Specified by:
getOperationIdBytesin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The bytes for operationId.
-
setOperationId
public PendingNexusOperationInfo.Builder setOperationId(java.lang.String value)
Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated: Renamed to operation_token.
string operation_id = 4;- Parameters:
value- The operationId to set.- Returns:
- This builder for chaining.
-
clearOperationId
public PendingNexusOperationInfo.Builder clearOperationId()
Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated: Renamed to operation_token.
string operation_id = 4;- Returns:
- This builder for chaining.
-
setOperationIdBytes
public PendingNexusOperationInfo.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated: Renamed to operation_token.
string operation_id = 4;- 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
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:
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
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:
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
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:
getStatein interfacePendingNexusOperationInfoOrBuilder- Returns:
- The state.
-
setState
public PendingNexusOperationInfo.Builder setState(PendingNexusOperationState value)
.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 represents a minimum bound since the attempt is incremented after the request completes.
int32 attempt = 8;- Specified by:
getAttemptin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The attempt.
-
setAttempt
public PendingNexusOperationInfo.Builder setAttempt(int value)
The number of attempts made to deliver the start operation request. This number represents a minimum bound since the attempt is incremented after the request completes.
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 represents a minimum bound since the attempt is incremented after the request completes.
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
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:
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
public Failure 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
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:
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
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:
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
public NexusOperationCancellationInfo getCancellationInfo()
.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;- Specified by:
getCancellationInfoin interfacePendingNexusOperationInfoOrBuilder- Returns:
- The cancellationInfo.
-
setCancellationInfo
public PendingNexusOperationInfo.Builder setCancellationInfo(NexusOperationCancellationInfo value)
.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
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:
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
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 java.lang.String 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
public PendingNexusOperationInfo.Builder setBlockedReason(java.lang.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 java.lang.String 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
public PendingNexusOperationInfo.Builder setOperationToken(java.lang.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.
-
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>
-
-