Class NexusOperationScheduledEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NexusOperationScheduledEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
io.temporal.api.history.v1.NexusOperationScheduledEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NexusOperationScheduledEventAttributesOrBuilder,Cloneable
- Enclosing class:
NexusOperationScheduledEventAttributes
public static final class NexusOperationScheduledEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
implements NexusOperationScheduledEventAttributesOrBuilder
Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.Protobuf type
temporal.api.history.v1.NexusOperationScheduledEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Endpoint name, must exist in the endpoint registry.Endpoint ID as resolved in the endpoint registry at the time this event was generated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Input for the operation.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Operation name.A unique ID generated by the history service upon creation of this event.Schedule-to-close timeout for this operation.Schedule-to-start timeout for this operation.Service name.Start-to-close timeout for this operation.The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.clone()booleanHeader to attach to the Nexus request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEndpoint name, must exist in the endpoint registry.com.google.protobuf.ByteStringEndpoint name, must exist in the endpoint registry.Endpoint ID as resolved in the endpoint registry at the time this event was generated.com.google.protobuf.ByteStringEndpoint ID as resolved in the endpoint registry at the time this event was generated.getInput()Input for the operation.Input for the operation.Input for the operation.Deprecated.Deprecated.intHeader to attach to the Nexus request.Header to attach to the Nexus request.getNexusHeaderOrDefault(String key, String defaultValue) Header to attach to the Nexus request.Header to attach to the Nexus request.Operation name.com.google.protobuf.ByteStringOperation name.A unique ID generated by the history service upon creation of this event.com.google.protobuf.ByteStringA unique ID generated by the history service upon creation of this event.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.longThe `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.booleanhasInput()Input for the operation.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.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInput(Payload value) Input for the operation.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) putAllNexusHeader(Map<String, String> values) Header to attach to the Nexus request.putNexusHeader(String key, String value) Header to attach to the Nexus request.removeNexusHeader(String key) Header to attach to the Nexus request.setEndpoint(String value) Endpoint name, must exist in the endpoint registry.setEndpointBytes(com.google.protobuf.ByteString value) Endpoint name, must exist in the endpoint registry.setEndpointId(String value) Endpoint ID as resolved in the endpoint registry at the time this event was generated.setEndpointIdBytes(com.google.protobuf.ByteString value) Endpoint ID as resolved in the endpoint registry at the time this event was generated.Input for the operation.setInput(Payload.Builder builderForValue) Input for the operation.setOperation(String value) Operation name.setOperationBytes(com.google.protobuf.ByteString value) Operation name.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) A unique ID generated by the history service upon creation of this event.setRequestIdBytes(com.google.protobuf.ByteString value) A unique ID generated by the history service upon creation of this event.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.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowTaskCompletedEventId(long value) The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>
-
setField
public NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>
-
clearField
public NexusOperationScheduledEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
clearOneof
public NexusOperationScheduledEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
setRepeatedField
public NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>
-
addRepeatedField
public NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeFrom
public NexusOperationScheduledEventAttributes.Builder mergeFrom(NexusOperationScheduledEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeFrom
public NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>- Throws:
IOException
-
getEndpoint
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Specified by:
getEndpointin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Specified by:
getEndpointBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Returns:
- This builder for chaining.
-
setEndpointBytes
public NexusOperationScheduledEventAttributes.Builder setEndpointBytes(com.google.protobuf.ByteString value) Endpoint name, must exist in the 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 interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Service name.
string service = 2;- Specified by:
getServiceBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- 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
public NexusOperationScheduledEventAttributes.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
Operation name.
string operation = 3;- Specified by:
getOperationin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()Operation name.
string operation = 3;- Specified by:
getOperationBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- 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
public NexusOperationScheduledEventAttributes.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.
-
hasInput
public boolean hasInput()Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;- Specified by:
hasInputin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;- Specified by:
getInputin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The input.
-
setInput
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4; -
setInput
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4; -
mergeInput
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4; -
clearInput
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4; -
getInputBuilder
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4; -
getInputOrBuilder
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;- Specified by:
getInputOrBuilderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
hasScheduleToCloseTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
getScheduleToCloseTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
setScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value) Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5; -
setScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5; -
mergeScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5; -
clearScheduleToCloseTimeout
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5; -
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5; -
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderCount
public int getNexusHeaderCount()Description copied from interface:NexusOperationScheduledEventAttributesOrBuilderHeader to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderCountin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
containsNexusHeader
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
containsNexusHeaderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeader
Deprecated.UsegetNexusHeaderMap()instead.- Specified by:
getNexusHeaderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderMap
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderMapin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderOrDefault
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderOrDefaultin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderOrThrow
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderOrThrowin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
clearNexusHeader
-
removeNexusHeader
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6; -
getMutableNexusHeader
Deprecated.Use alternate mutation accessors instead. -
putNexusHeader
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6; -
putAllNexusHeader
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6; -
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Specified by:
getWorkflowTaskCompletedEventIdin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
setWorkflowTaskCompletedEventId
The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Parameters:
value- The workflowTaskCompletedEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskCompletedEventId
The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Returns:
- This builder for chaining.
-
getRequestId
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Specified by:
getRequestIdin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Specified by:
getRequestIdBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public NexusOperationScheduledEventAttributes.Builder setRequestIdBytes(com.google.protobuf.ByteString value) A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getEndpointId
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Specified by:
getEndpointIdin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The endpointId.
-
getEndpointIdBytes
public com.google.protobuf.ByteString getEndpointIdBytes()Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Specified by:
getEndpointIdBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for endpointId.
-
setEndpointId
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Parameters:
value- The endpointId to set.- Returns:
- This builder for chaining.
-
clearEndpointId
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Returns:
- This builder for chaining.
-
setEndpointIdBytes
public NexusOperationScheduledEventAttributes.Builder setEndpointIdBytes(com.google.protobuf.ByteString value) Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Parameters:
value- The bytes for endpointId to set.- Returns:
- This builder for chaining.
-
hasScheduleToStartTimeout
public boolean hasScheduleToStartTimeout()Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10;- Specified by:
hasScheduleToStartTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public com.google.protobuf.Duration getScheduleToStartTimeout()Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10;- Specified by:
getScheduleToStartTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The scheduleToStartTimeout.
-
setScheduleToStartTimeout
public NexusOperationScheduledEventAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value) Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10; -
setScheduleToStartTimeout
public NexusOperationScheduledEventAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10; -
mergeScheduleToStartTimeout
public NexusOperationScheduledEventAttributes.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10; -
clearScheduleToStartTimeout
Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10; -
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10; -
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()Schedule-to-start timeout for this operation. See ScheduleNexusOperationCommandAttributes.schedule_to_start_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 10;- Specified by:
getScheduleToStartTimeoutOrBuilderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
hasStartToCloseTimeout
public boolean hasStartToCloseTimeout()Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11;- Specified by:
hasStartToCloseTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public com.google.protobuf.Duration getStartToCloseTimeout()Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11;- Specified by:
getStartToCloseTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The startToCloseTimeout.
-
setStartToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder setStartToCloseTimeout(com.google.protobuf.Duration value) Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11; -
setStartToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11; -
mergeStartToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value) Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11; -
clearStartToCloseTimeout
Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11; -
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11; -
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()Start-to-close timeout for this operation. See ScheduleNexusOperationCommandAttributes.start_to_close_timeout for details. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 11;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
setUnknownFields
public final NexusOperationScheduledEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeUnknownFields
public final NexusOperationScheduledEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-