Class ScheduleNexusOperationCommandAttributes

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScheduleNexusOperationCommandAttributesOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:ScheduleNexusOperationCommandAttributes.java.pb.meta") public final class ScheduleNexusOperationCommandAttributes extends com.google.protobuf.GeneratedMessageV3 implements ScheduleNexusOperationCommandAttributesOrBuilder
Protobuf type temporal.api.command.v1.ScheduleNexusOperationCommandAttributes
See Also:
  • Field Details

    • ENDPOINT_FIELD_NUMBER

      public static final int ENDPOINT_FIELD_NUMBER
      See Also:
    • SERVICE_FIELD_NUMBER

      public static final int SERVICE_FIELD_NUMBER
      See Also:
    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • INPUT_FIELD_NUMBER

      public static final int INPUT_FIELD_NUMBER
      See Also:
    • SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER

      public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
      See Also:
    • NEXUS_HEADER_FIELD_NUMBER

      public static final int NEXUS_HEADER_FIELD_NUMBER
      See Also:
    • SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER

      public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
      See Also:
    • START_TO_CLOSE_TIMEOUT_FIELD_NUMBER

      public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getEndpoint

      public String getEndpoint()
       Endpoint name, must exist in the endpoint registry or this command will fail.
       
      string endpoint = 1;
      Specified by:
      getEndpoint in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Endpoint name, must exist in the endpoint registry or this command will fail.
       
      string endpoint = 1;
      Specified by:
      getEndpointBytes in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The bytes for endpoint.
    • getService

      public String getService()
       Service name.
       
      string service = 2;
      Specified by:
      getService in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Service name.
       
      string service = 2;
      Specified by:
      getServiceBytes in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The bytes for service.
    • getOperation

      public String getOperation()
       Operation name.
       
      string operation = 3;
      Specified by:
      getOperation in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Operation name.
       
      string operation = 3;
      Specified by:
      getOperationBytes in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The bytes for operation.
    • 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 sent in this command.
       
      .temporal.api.common.v1.Payload input = 4;
      Specified by:
      hasInput in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public 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;
      Specified by:
      getInput in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The input.
    • getInputOrBuilder

      public 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;
      Specified by:
      getInputOrBuilder in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • 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. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 5;
      Specified by:
      hasScheduleToCloseTimeout in interface ScheduleNexusOperationCommandAttributesOrBuilder
      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. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 5;
      Specified by:
      getScheduleToCloseTimeout in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The scheduleToCloseTimeout.
    • 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. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 5;
      Specified by:
      getScheduleToCloseTimeoutOrBuilder in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • getNexusHeaderCount

      public int getNexusHeaderCount()
      Description copied from interface: ScheduleNexusOperationCommandAttributesOrBuilder
       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;
      Specified by:
      getNexusHeaderCount in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • containsNexusHeader

      public boolean containsNexusHeader(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;
      Specified by:
      containsNexusHeader in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • getNexusHeader

      @Deprecated public Map<String,String> getNexusHeader()
      Deprecated.
      Use getNexusHeaderMap() instead.
      Specified by:
      getNexusHeader in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • getNexusHeaderMap

      public Map<String,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;
      Specified by:
      getNexusHeaderMap in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • getNexusHeaderOrDefault

      public String getNexusHeaderOrDefault(String key, 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;
      Specified by:
      getNexusHeaderOrDefault in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • getNexusHeaderOrThrow

      public String getNexusHeaderOrThrow(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;
      Specified by:
      getNexusHeaderOrThrow in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • hasScheduleToStartTimeout

      public boolean hasScheduleToStartTimeout()
       Schedule-to-start timeout for this operation.
       Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
       by the handler. If the operation is not started within this timeout, it will fail with
       TIMEOUT_TYPE_SCHEDULE_TO_START.
       If not set or zero, no schedule-to-start timeout is enforced.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       Requires server version 1.31.0 or later.
       
      .google.protobuf.Duration schedule_to_start_timeout = 7;
      Specified by:
      hasScheduleToStartTimeout in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      Whether the scheduleToStartTimeout field is set.
    • getScheduleToStartTimeout

      public com.google.protobuf.Duration getScheduleToStartTimeout()
       Schedule-to-start timeout for this operation.
       Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
       by the handler. If the operation is not started within this timeout, it will fail with
       TIMEOUT_TYPE_SCHEDULE_TO_START.
       If not set or zero, no schedule-to-start timeout is enforced.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       Requires server version 1.31.0 or later.
       
      .google.protobuf.Duration schedule_to_start_timeout = 7;
      Specified by:
      getScheduleToStartTimeout in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The scheduleToStartTimeout.
    • getScheduleToStartTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
       Schedule-to-start timeout for this operation.
       Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
       by the handler. If the operation is not started within this timeout, it will fail with
       TIMEOUT_TYPE_SCHEDULE_TO_START.
       If not set or zero, no schedule-to-start timeout is enforced.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       Requires server version 1.31.0 or later.
       
      .google.protobuf.Duration schedule_to_start_timeout = 7;
      Specified by:
      getScheduleToStartTimeoutOrBuilder in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • hasStartToCloseTimeout

      public boolean hasStartToCloseTimeout()
       Start-to-close timeout for this operation.
       Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
       started. If the operation does not complete within this timeout after starting, it will fail with
       TIMEOUT_TYPE_START_TO_CLOSE.
       Only applies to asynchronous operations. Synchronous operations ignore this timeout.
       If not set or zero, no start-to-close timeout is enforced.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       Requires server version 1.31.0 or later.
       
      .google.protobuf.Duration start_to_close_timeout = 8;
      Specified by:
      hasStartToCloseTimeout in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      public com.google.protobuf.Duration getStartToCloseTimeout()
       Start-to-close timeout for this operation.
       Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
       started. If the operation does not complete within this timeout after starting, it will fail with
       TIMEOUT_TYPE_START_TO_CLOSE.
       Only applies to asynchronous operations. Synchronous operations ignore this timeout.
       If not set or zero, no start-to-close timeout is enforced.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       Requires server version 1.31.0 or later.
       
      .google.protobuf.Duration start_to_close_timeout = 8;
      Specified by:
      getStartToCloseTimeout in interface ScheduleNexusOperationCommandAttributesOrBuilder
      Returns:
      The startToCloseTimeout.
    • getStartToCloseTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
       Start-to-close timeout for this operation.
       Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
       started. If the operation does not complete within this timeout after starting, it will fail with
       TIMEOUT_TYPE_START_TO_CLOSE.
       Only applies to asynchronous operations. Synchronous operations ignore this timeout.
       If not set or zero, no start-to-close timeout is enforced.
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       Requires server version 1.31.0 or later.
       
      .google.protobuf.Duration start_to_close_timeout = 8;
      Specified by:
      getStartToCloseTimeoutOrBuilder in interface ScheduleNexusOperationCommandAttributesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScheduleNexusOperationCommandAttributes parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScheduleNexusOperationCommandAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ScheduleNexusOperationCommandAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ScheduleNexusOperationCommandAttributes getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ScheduleNexusOperationCommandAttributes> parser()
    • getParserForType

      public com.google.protobuf.Parser<ScheduleNexusOperationCommandAttributes> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ScheduleNexusOperationCommandAttributes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder