Class StartOperationRequest

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

@Generated(value="protoc", comments="annotations:StartOperationRequest.java.pb.meta") public final class StartOperationRequest extends com.google.protobuf.GeneratedMessageV3 implements StartOperationRequestOrBuilder
 A request to start an operation.
 
Protobuf type temporal.api.nexus.v1.StartOperationRequest
See Also:
  • Field Details

  • 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
    • getService

      public String getService()
       Name of service to start the operation in.
       
      string service = 1;
      Specified by:
      getService in interface StartOperationRequestOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Name of service to start the operation in.
       
      string service = 1;
      Specified by:
      getServiceBytes in interface StartOperationRequestOrBuilder
      Returns:
      The bytes for service.
    • getOperation

      public String getOperation()
       Type of operation to start.
       
      string operation = 2;
      Specified by:
      getOperation in interface StartOperationRequestOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       Type of operation to start.
       
      string operation = 2;
      Specified by:
      getOperationBytes in interface StartOperationRequestOrBuilder
      Returns:
      The bytes for operation.
    • getRequestId

      public String getRequestId()
       A request ID that can be used as an idempotentency key.
       
      string request_id = 3;
      Specified by:
      getRequestId in interface StartOperationRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       A request ID that can be used as an idempotentency key.
       
      string request_id = 3;
      Specified by:
      getRequestIdBytes in interface StartOperationRequestOrBuilder
      Returns:
      The bytes for requestId.
    • getCallback

      public String getCallback()
       Callback URL to call upon completion if the started operation is async.
       
      string callback = 4;
      Specified by:
      getCallback in interface StartOperationRequestOrBuilder
      Returns:
      The callback.
    • getCallbackBytes

      public com.google.protobuf.ByteString getCallbackBytes()
       Callback URL to call upon completion if the started operation is async.
       
      string callback = 4;
      Specified by:
      getCallbackBytes in interface StartOperationRequestOrBuilder
      Returns:
      The bytes for callback.
    • hasPayload

      public boolean hasPayload()
       Full request body from the incoming HTTP request.
       
      .temporal.api.common.v1.Payload payload = 5;
      Specified by:
      hasPayload in interface StartOperationRequestOrBuilder
      Returns:
      Whether the payload field is set.
    • getPayload

      public Payload getPayload()
       Full request body from the incoming HTTP request.
       
      .temporal.api.common.v1.Payload payload = 5;
      Specified by:
      getPayload in interface StartOperationRequestOrBuilder
      Returns:
      The payload.
    • getPayloadOrBuilder

      public PayloadOrBuilder getPayloadOrBuilder()
       Full request body from the incoming HTTP request.
       
      .temporal.api.common.v1.Payload payload = 5;
      Specified by:
      getPayloadOrBuilder in interface StartOperationRequestOrBuilder
    • getCallbackHeaderCount

      public int getCallbackHeaderCount()
      Description copied from interface: StartOperationRequestOrBuilder
       Header that is expected to be attached to the callback request when the operation completes.
       
      map<string, string> callback_header = 6;
      Specified by:
      getCallbackHeaderCount in interface StartOperationRequestOrBuilder
    • containsCallbackHeader

      public boolean containsCallbackHeader(String key)
       Header that is expected to be attached to the callback request when the operation completes.
       
      map<string, string> callback_header = 6;
      Specified by:
      containsCallbackHeader in interface StartOperationRequestOrBuilder
    • getCallbackHeader

      @Deprecated public Map<String,String> getCallbackHeader()
      Deprecated.
      Specified by:
      getCallbackHeader in interface StartOperationRequestOrBuilder
    • getCallbackHeaderMap

      public Map<String,String> getCallbackHeaderMap()
       Header that is expected to be attached to the callback request when the operation completes.
       
      map<string, string> callback_header = 6;
      Specified by:
      getCallbackHeaderMap in interface StartOperationRequestOrBuilder
    • getCallbackHeaderOrDefault

      public String getCallbackHeaderOrDefault(String key, String defaultValue)
       Header that is expected to be attached to the callback request when the operation completes.
       
      map<string, string> callback_header = 6;
      Specified by:
      getCallbackHeaderOrDefault in interface StartOperationRequestOrBuilder
    • getCallbackHeaderOrThrow

      public String getCallbackHeaderOrThrow(String key)
       Header that is expected to be attached to the callback request when the operation completes.
       
      map<string, string> callback_header = 6;
      Specified by:
      getCallbackHeaderOrThrow in interface StartOperationRequestOrBuilder
    • getLinksList

      public List<Link> getLinksList()
       Links contain caller information and can be attached to the operations started by the handler.
       
      repeated .temporal.api.nexus.v1.Link links = 7;
      Specified by:
      getLinksList in interface StartOperationRequestOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkOrBuilder> getLinksOrBuilderList()
       Links contain caller information and can be attached to the operations started by the handler.
       
      repeated .temporal.api.nexus.v1.Link links = 7;
      Specified by:
      getLinksOrBuilderList in interface StartOperationRequestOrBuilder
    • getLinksCount

      public int getLinksCount()
       Links contain caller information and can be attached to the operations started by the handler.
       
      repeated .temporal.api.nexus.v1.Link links = 7;
      Specified by:
      getLinksCount in interface StartOperationRequestOrBuilder
    • getLinks

      public Link getLinks(int index)
       Links contain caller information and can be attached to the operations started by the handler.
       
      repeated .temporal.api.nexus.v1.Link links = 7;
      Specified by:
      getLinks in interface StartOperationRequestOrBuilder
    • getLinksOrBuilder

      public LinkOrBuilder getLinksOrBuilder(int index)
       Links contain caller information and can be attached to the operations started by the handler.
       
      repeated .temporal.api.nexus.v1.Link links = 7;
      Specified by:
      getLinksOrBuilder in interface StartOperationRequestOrBuilder
    • 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 StartOperationRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

      public StartOperationRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StartOperationRequest.Builder newBuilder()
    • newBuilder

      public static StartOperationRequest.Builder newBuilder(StartOperationRequest prototype)
    • toBuilder

      public StartOperationRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static StartOperationRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StartOperationRequest> 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 StartOperationRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder