Package io.temporal.api.command.v1
Interface ScheduleNexusOperationCommandAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScheduleNexusOperationCommandAttributes,ScheduleNexusOperationCommandAttributes.Builder
@Generated(value="protoc", comments="annotations:ScheduleNexusOperationCommandAttributesOrBuilder.java.pb.meta") public interface ScheduleNexusOperationCommandAttributesOrBuilder 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 or this command will fail.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint name, must exist in the endpoint registry or this command will fail.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.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.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 or this command will fail.
string endpoint = 1;- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()
Endpoint name, must exist in the endpoint registry or this command will fail.
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 sent in this command.
.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 sent in this command.
.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 sent in this command.
.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. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. 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. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. 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. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. 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. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. 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. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. 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;
-
-