Class StartOperationRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StartOperationRequestOrBuilder, java.io.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:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StartOperationRequest.Builder
      A request to start an operation.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsCallbackHeader​(java.lang.String key)
      Header that is expected to be attached to the callback request when the operation completes.
      boolean equals​(java.lang.Object obj)  
      java.lang.String getCallback()
      Callback URL to call upon completion if the started operation is async.
      com.google.protobuf.ByteString getCallbackBytes()
      Callback URL to call upon completion if the started operation is async.
      java.util.Map<java.lang.String,​java.lang.String> getCallbackHeader()
      Deprecated.
      int getCallbackHeaderCount()
      Header that is expected to be attached to the callback request when the operation completes.
      java.util.Map<java.lang.String,​java.lang.String> getCallbackHeaderMap()
      Header that is expected to be attached to the callback request when the operation completes.
      java.lang.String getCallbackHeaderOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Header that is expected to be attached to the callback request when the operation completes.
      java.lang.String getCallbackHeaderOrThrow​(java.lang.String key)
      Header that is expected to be attached to the callback request when the operation completes.
      static StartOperationRequest getDefaultInstance()  
      StartOperationRequest getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      Link getLinks​(int index)
      Links contain caller information and can be attached to the operations started by the handler.
      int getLinksCount()
      Links contain caller information and can be attached to the operations started by the handler.
      java.util.List<Link> getLinksList()
      Links contain caller information and can be attached to the operations started by the handler.
      LinkOrBuilder getLinksOrBuilder​(int index)
      Links contain caller information and can be attached to the operations started by the handler.
      java.util.List<? extends LinkOrBuilder> getLinksOrBuilderList()
      Links contain caller information and can be attached to the operations started by the handler.
      java.lang.String getOperation()
      Type of operation to start.
      com.google.protobuf.ByteString getOperationBytes()
      Type of operation to start.
      com.google.protobuf.Parser<StartOperationRequest> getParserForType()  
      Payload getPayload()
      Full request body from the incoming HTTP request.
      PayloadOrBuilder getPayloadOrBuilder()
      Full request body from the incoming HTTP request.
      java.lang.String getRequestId()
      A request ID that can be used as an idempotentency key.
      com.google.protobuf.ByteString getRequestIdBytes()
      A request ID that can be used as an idempotentency key.
      int getSerializedSize()  
      java.lang.String getService()
      Name of service to start the operation in.
      com.google.protobuf.ByteString getServiceBytes()
      Name of service to start the operation in.
      int hashCode()  
      boolean hasPayload()
      Full request body from the incoming HTTP request.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)  
      boolean isInitialized()  
      static StartOperationRequest.Builder newBuilder()  
      static StartOperationRequest.Builder newBuilder​(StartOperationRequest prototype)  
      StartOperationRequest.Builder newBuilderForType()  
      protected StartOperationRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static StartOperationRequest parseDelimitedFrom​(java.io.InputStream input)  
      static StartOperationRequest parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static StartOperationRequest parseFrom​(byte[] data)  
      static StartOperationRequest parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static StartOperationRequest parseFrom​(com.google.protobuf.ByteString data)  
      static StartOperationRequest parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static StartOperationRequest parseFrom​(com.google.protobuf.CodedInputStream input)  
      static StartOperationRequest parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static StartOperationRequest parseFrom​(java.io.InputStream input)  
      static StartOperationRequest parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static StartOperationRequest parseFrom​(java.nio.ByteBuffer data)  
      static StartOperationRequest parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<StartOperationRequest> parser()  
      StartOperationRequest.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected java.lang.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 java.lang.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.
      • 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 java.lang.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 java.lang.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.
      • containsCallbackHeader

        public boolean containsCallbackHeader​(java.lang.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
      • getCallbackHeaderMap

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.String getCallbackHeaderOrDefault​(java.lang.String key,
                                                           java.lang.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 java.lang.String getCallbackHeaderOrThrow​(java.lang.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 java.util.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 java.util.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
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StartOperationRequest parseFrom​(java.nio.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​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static StartOperationRequest parseDelimitedFrom​(java.io.InputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

        public StartOperationRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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
      • 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