Package io.temporal.api.history.v1
Interface NexusOperationScheduledEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NexusOperationScheduledEventAttributes,NexusOperationScheduledEventAttributes.Builder
@Generated(value="protoc", comments="annotations:NexusOperationScheduledEventAttributesOrBuilder.java.pb.meta") public interface NexusOperationScheduledEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsNexusHeader(java.lang.String key)Header to attach to the Nexus request.java.lang.StringgetEndpoint()Endpoint name, must exist in the endpoint registry.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint name, must exist in the endpoint registry.java.lang.StringgetEndpointId()Endpoint ID as resolved in the endpoint registry at the time this event was generated.com.google.protobuf.ByteStringgetEndpointIdBytes()Endpoint ID as resolved in the endpoint registry at the time this event was generated.PayloadgetInput()Input for the operation.PayloadOrBuildergetInputOrBuilder()Input for the operation.java.util.Map<java.lang.String,java.lang.String>getNexusHeader()Deprecated.intgetNexusHeaderCount()Header to attach to the Nexus request.java.util.Map<java.lang.String,java.lang.String>getNexusHeaderMap()Header to attach to the Nexus request.java.lang.StringgetNexusHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)Header to attach to the Nexus request.java.lang.StringgetNexusHeaderOrThrow(java.lang.String key)Header to attach to the Nexus request.java.lang.StringgetOperation()Operation name.com.google.protobuf.ByteStringgetOperationBytes()Operation name.java.lang.StringgetRequestId()A unique ID generated by the history service upon creation of this event.com.google.protobuf.ByteStringgetRequestIdBytes()A unique ID generated by the history service upon creation of this event.com.google.protobuf.DurationgetScheduleToCloseTimeout()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.longgetWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.booleanhasInput()Input for the operation.booleanhasScheduleToCloseTimeout()Schedule-to-close timeout for this operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEndpoint
java.lang.String getEndpoint()
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Returns:
- The bytes for endpoint.
-
getService
java.lang.String getService()
Service name.
string service = 2;- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()
Service name.
string service = 2;- Returns:
- The bytes for service.
-
getOperation
java.lang.String getOperation()
Operation name.
string operation = 3;- Returns:
- The operation.
-
getOperationBytes
com.google.protobuf.ByteString getOperationBytes()
Operation name.
string operation = 3;- Returns:
- The bytes for operation.
-
hasInput
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;- Returns:
- Whether the input field is set.
-
getInput
Payload 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;- Returns:
- The input.
-
getInputOrBuilder
PayloadOrBuilder 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;
-
hasScheduleToCloseTimeout
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. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
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. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
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. --).google.protobuf.Duration schedule_to_close_timeout = 5;
-
getNexusHeaderCount
int getNexusHeaderCount()
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;
-
containsNexusHeader
boolean containsNexusHeader(java.lang.String key)
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;
-
getNexusHeader
@Deprecated java.util.Map<java.lang.String,java.lang.String> getNexusHeader()
Deprecated.UsegetNexusHeaderMap()instead.
-
getNexusHeaderMap
java.util.Map<java.lang.String,java.lang.String> 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;
-
getNexusHeaderOrDefault
java.lang.String getNexusHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)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;
-
getNexusHeaderOrThrow
java.lang.String getNexusHeaderOrThrow(java.lang.String key)
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
long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Returns:
- The workflowTaskCompletedEventId.
-
getRequestId
java.lang.String 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;- Returns:
- The requestId.
-
getRequestIdBytes
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;- Returns:
- The bytes for requestId.
-
getEndpointId
java.lang.String 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;- Returns:
- The endpointId.
-
getEndpointIdBytes
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;- Returns:
- The bytes for endpointId.
-
-