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 Details

    • getEndpoint

      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

      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

      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. --)
       (-- 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;
      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. --)
       (-- 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;
      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. --)
       (-- 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;
    • 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(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 Map<String,String> getNexusHeader()
      Deprecated.
      Use getNexusHeaderMap() instead.
    • getNexusHeaderMap

      Map<String,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

      String getNexusHeaderOrDefault(String key, 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

      String getNexusHeaderOrThrow(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

      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

      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.
    • hasScheduleToStartTimeout

      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;
      Returns:
      Whether the scheduleToStartTimeout field is set.
    • getScheduleToStartTimeout

      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;
      Returns:
      The scheduleToStartTimeout.
    • getScheduleToStartTimeoutOrBuilder

      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;
    • hasStartToCloseTimeout

      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;
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      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;
      Returns:
      The startToCloseTimeout.
    • getStartToCloseTimeoutOrBuilder

      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;