Class StartOperationRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StartOperationRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
io.temporal.api.nexus.v1.StartOperationRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StartOperationRequestOrBuilder, 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 Details

    • 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.Builder<StartOperationRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection 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

      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

      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, 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, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
    • mergeFrom

      public StartOperationRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StartOperationRequest.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • 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.
    • setService

      public StartOperationRequest.Builder setService(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.
    • 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.
    • setOperation

      public StartOperationRequest.Builder setOperation(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 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(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 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(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.
    • 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.
    • setPayload

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

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

      public StartOperationRequest.Builder clearCallbackHeader()
    • removeCallbackHeader

      public StartOperationRequest.Builder removeCallbackHeader(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 Map<String,String> getMutableCallbackHeader()
      Deprecated.
      Use alternate mutation accessors instead.
    • putCallbackHeader

      public StartOperationRequest.Builder putCallbackHeader(String key, 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(Map<String,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 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(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;
    • 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
    • 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
    • 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 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>