Class StartOperationRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StartOperationRequestOrBuilder, java.lang.Cloneable
    Enclosing class:
    StartOperationRequest

    public static final class StartOperationRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
    implements StartOperationRequestOrBuilder
     A request to start an operation.
     
    Protobuf type temporal.api.nexus.v1.StartOperationRequest
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • clear

        public StartOperationRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • getDefaultInstanceForType

        public StartOperationRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public StartOperationRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • setField

        public StartOperationRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • clearField

        public StartOperationRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • clearOneof

        public StartOperationRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • setRepeatedField

        public StartOperationRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • addRepeatedField

        public StartOperationRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • mergeFrom

        public StartOperationRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StartOperationRequest.Builder>
        Throws:
        java.io.IOException
      • 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.
      • setService

        public StartOperationRequest.Builder setService​(java.lang.String value)
         Name of service to start the operation in.
         
        string service = 1;
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public StartOperationRequest.Builder clearService()
         Name of service to start the operation in.
         
        string service = 1;
        Returns:
        This builder for chaining.
      • setServiceBytes

        public StartOperationRequest.Builder setServiceBytes​(com.google.protobuf.ByteString value)
         Name of service to start the operation in.
         
        string service = 1;
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • 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.
      • setOperation

        public StartOperationRequest.Builder setOperation​(java.lang.String value)
         Type of operation to start.
         
        string operation = 2;
        Parameters:
        value - The operation to set.
        Returns:
        This builder for chaining.
      • clearOperation

        public StartOperationRequest.Builder clearOperation()
         Type of operation to start.
         
        string operation = 2;
        Returns:
        This builder for chaining.
      • setOperationBytes

        public StartOperationRequest.Builder setOperationBytes​(com.google.protobuf.ByteString value)
         Type of operation to start.
         
        string operation = 2;
        Parameters:
        value - The bytes for operation to set.
        Returns:
        This builder for chaining.
      • 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.
      • setRequestId

        public StartOperationRequest.Builder setRequestId​(java.lang.String value)
         A request ID that can be used as an idempotentency key.
         
        string request_id = 3;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public StartOperationRequest.Builder clearRequestId()
         A request ID that can be used as an idempotentency key.
         
        string request_id = 3;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public StartOperationRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         A request ID that can be used as an idempotentency key.
         
        string request_id = 3;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setCallback

        public StartOperationRequest.Builder setCallback​(java.lang.String value)
         Callback URL to call upon completion if the started operation is async.
         
        string callback = 4;
        Parameters:
        value - The callback to set.
        Returns:
        This builder for chaining.
      • clearCallback

        public StartOperationRequest.Builder clearCallback()
         Callback URL to call upon completion if the started operation is async.
         
        string callback = 4;
        Returns:
        This builder for chaining.
      • setCallbackBytes

        public StartOperationRequest.Builder setCallbackBytes​(com.google.protobuf.ByteString value)
         Callback URL to call upon completion if the started operation is async.
         
        string callback = 4;
        Parameters:
        value - The bytes for callback to set.
        Returns:
        This builder for chaining.
      • 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.
      • mergePayload

        public StartOperationRequest.Builder mergePayload​(Payload value)
         Full request body from the incoming HTTP request.
         
        .temporal.api.common.v1.Payload payload = 5;
      • clearPayload

        public StartOperationRequest.Builder clearPayload()
         Full request body from the incoming HTTP request.
         
        .temporal.api.common.v1.Payload payload = 5;
      • getPayloadBuilder

        public Payload.Builder getPayloadBuilder()
         Full request body from the incoming HTTP request.
         
        .temporal.api.common.v1.Payload payload = 5;
      • 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
      • removeCallbackHeader

        public StartOperationRequest.Builder removeCallbackHeader​(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;
      • getMutableCallbackHeader

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableCallbackHeader()
        Deprecated.
        Use alternate mutation accessors instead.
      • putCallbackHeader

        public StartOperationRequest.Builder putCallbackHeader​(java.lang.String key,
                                                               java.lang.String value)
         Header that is expected to be attached to the callback request when the operation completes.
         
        map<string, string> callback_header = 6;
      • putAllCallbackHeader

        public StartOperationRequest.Builder putAllCallbackHeader​(java.util.Map<java.lang.String,​java.lang.String> values)
         Header that is expected to be attached to the callback request when the operation completes.
         
        map<string, string> callback_header = 6;
      • 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
      • 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
      • setLinks

        public StartOperationRequest.Builder setLinks​(int index,
                                                      Link value)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • setLinks

        public StartOperationRequest.Builder setLinks​(int index,
                                                      Link.Builder builderForValue)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • addLinks

        public StartOperationRequest.Builder addLinks​(Link value)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • addLinks

        public StartOperationRequest.Builder addLinks​(int index,
                                                      Link value)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • addLinks

        public StartOperationRequest.Builder addLinks​(Link.Builder builderForValue)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • addLinks

        public StartOperationRequest.Builder addLinks​(int index,
                                                      Link.Builder builderForValue)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • addAllLinks

        public StartOperationRequest.Builder addAllLinks​(java.lang.Iterable<? extends Link> values)
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • clearLinks

        public StartOperationRequest.Builder clearLinks()
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • removeLinks

        public StartOperationRequest.Builder removeLinks​(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;
      • getLinksBuilder

        public Link.Builder getLinksBuilder​(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;
      • 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
      • addLinksBuilder

        public Link.Builder addLinksBuilder()
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • addLinksBuilder

        public Link.Builder addLinksBuilder​(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;
      • getLinksBuilderList

        public java.util.List<Link.Builder> getLinksBuilderList()
         Links contain caller information and can be attached to the operations started by the handler.
         
        repeated .temporal.api.nexus.v1.Link links = 7;
      • setUnknownFields

        public final StartOperationRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
      • mergeUnknownFields

        public final StartOperationRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>