Class Request.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Request.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
io.temporal.api.update.v1.Request.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestOrBuilder, Cloneable
Enclosing class:
Request

public static final class Request.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder> implements RequestOrBuilder
 The client request that triggers a Workflow Update.
 
Protobuf type temporal.api.update.v1.Request
  • Method Details

    • getDescriptor

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

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

      public Request.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<Request.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<Request.Builder>
    • getDefaultInstanceForType

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

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

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

      public Request.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<Request.Builder>
    • setField

      public Request.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<Request.Builder>
    • clearField

      public Request.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<Request.Builder>
    • clearOneof

      public Request.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<Request.Builder>
    • setRepeatedField

      public Request.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<Request.Builder>
    • addRepeatedField

      public Request.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<Request.Builder>
    • mergeFrom

      public Request.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<Request.Builder>
    • mergeFrom

      public Request.Builder mergeFrom(Request other)
    • isInitialized

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

      public Request.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<Request.Builder>
      Throws:
      IOException
    • hasMeta

      public boolean hasMeta()
      .temporal.api.update.v1.Meta meta = 1;
      Specified by:
      hasMeta in interface RequestOrBuilder
      Returns:
      Whether the meta field is set.
    • getMeta

      public Meta getMeta()
      .temporal.api.update.v1.Meta meta = 1;
      Specified by:
      getMeta in interface RequestOrBuilder
      Returns:
      The meta.
    • setMeta

      public Request.Builder setMeta(Meta value)
      .temporal.api.update.v1.Meta meta = 1;
    • setMeta

      public Request.Builder setMeta(Meta.Builder builderForValue)
      .temporal.api.update.v1.Meta meta = 1;
    • mergeMeta

      public Request.Builder mergeMeta(Meta value)
      .temporal.api.update.v1.Meta meta = 1;
    • clearMeta

      public Request.Builder clearMeta()
      .temporal.api.update.v1.Meta meta = 1;
    • getMetaBuilder

      public Meta.Builder getMetaBuilder()
      .temporal.api.update.v1.Meta meta = 1;
    • getMetaOrBuilder

      public MetaOrBuilder getMetaOrBuilder()
      .temporal.api.update.v1.Meta meta = 1;
      Specified by:
      getMetaOrBuilder in interface RequestOrBuilder
    • hasInput

      public boolean hasInput()
      .temporal.api.update.v1.Input input = 2;
      Specified by:
      hasInput in interface RequestOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Input getInput()
      .temporal.api.update.v1.Input input = 2;
      Specified by:
      getInput in interface RequestOrBuilder
      Returns:
      The input.
    • setInput

      public Request.Builder setInput(Input value)
      .temporal.api.update.v1.Input input = 2;
    • setInput

      public Request.Builder setInput(Input.Builder builderForValue)
      .temporal.api.update.v1.Input input = 2;
    • mergeInput

      public Request.Builder mergeInput(Input value)
      .temporal.api.update.v1.Input input = 2;
    • clearInput

      public Request.Builder clearInput()
      .temporal.api.update.v1.Input input = 2;
    • getInputBuilder

      public Input.Builder getInputBuilder()
      .temporal.api.update.v1.Input input = 2;
    • getInputOrBuilder

      public InputOrBuilder getInputOrBuilder()
      .temporal.api.update.v1.Input input = 2;
      Specified by:
      getInputOrBuilder in interface RequestOrBuilder
    • getRequestId

      public String getRequestId()
       The request ID of the request.
       
      string request_id = 3;
      Specified by:
      getRequestId in interface RequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       The request ID of the request.
       
      string request_id = 3;
      Specified by:
      getRequestIdBytes in interface RequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public Request.Builder setRequestId(String value)
       The request ID of the request.
       
      string request_id = 3;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public Request.Builder clearRequestId()
       The request ID of the request.
       
      string request_id = 3;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public Request.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       The request ID of the request.
       
      string request_id = 3;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getCompletionCallbacksList

      public List<Callback> getCompletionCallbacksList()
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
      Specified by:
      getCompletionCallbacksList in interface RequestOrBuilder
    • getCompletionCallbacksCount

      public int getCompletionCallbacksCount()
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
      Specified by:
      getCompletionCallbacksCount in interface RequestOrBuilder
    • getCompletionCallbacks

      public Callback getCompletionCallbacks(int index)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
      Specified by:
      getCompletionCallbacks in interface RequestOrBuilder
    • setCompletionCallbacks

      public Request.Builder setCompletionCallbacks(int index, Callback value)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • setCompletionCallbacks

      public Request.Builder setCompletionCallbacks(int index, Callback.Builder builderForValue)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • addCompletionCallbacks

      public Request.Builder addCompletionCallbacks(Callback value)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • addCompletionCallbacks

      public Request.Builder addCompletionCallbacks(int index, Callback value)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • addCompletionCallbacks

      public Request.Builder addCompletionCallbacks(Callback.Builder builderForValue)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • addCompletionCallbacks

      public Request.Builder addCompletionCallbacks(int index, Callback.Builder builderForValue)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • addAllCompletionCallbacks

      public Request.Builder addAllCompletionCallbacks(Iterable<? extends Callback> values)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • clearCompletionCallbacks

      public Request.Builder clearCompletionCallbacks()
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • removeCompletionCallbacks

      public Request.Builder removeCompletionCallbacks(int index)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • getCompletionCallbacksBuilder

      public Callback.Builder getCompletionCallbacksBuilder(int index)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • getCompletionCallbacksOrBuilder

      public CallbackOrBuilder getCompletionCallbacksOrBuilder(int index)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
      Specified by:
      getCompletionCallbacksOrBuilder in interface RequestOrBuilder
    • getCompletionCallbacksOrBuilderList

      public List<? extends CallbackOrBuilder> getCompletionCallbacksOrBuilderList()
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
      Specified by:
      getCompletionCallbacksOrBuilderList in interface RequestOrBuilder
    • addCompletionCallbacksBuilder

      public Callback.Builder addCompletionCallbacksBuilder()
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • addCompletionCallbacksBuilder

      public Callback.Builder addCompletionCallbacksBuilder(int index)
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • getCompletionCallbacksBuilderList

      public List<Callback.Builder> getCompletionCallbacksBuilderList()
       Callbacks to be called by the server when this update reaches a terminal state.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 4;
    • getLinksList

      public List<Link> getLinksList()
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
      Specified by:
      getLinksList in interface RequestOrBuilder
    • getLinksCount

      public int getLinksCount()
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
      Specified by:
      getLinksCount in interface RequestOrBuilder
    • getLinks

      public Link getLinks(int index)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
      Specified by:
      getLinks in interface RequestOrBuilder
    • setLinks

      public Request.Builder setLinks(int index, Link value)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • setLinks

      public Request.Builder setLinks(int index, Link.Builder builderForValue)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • addLinks

      public Request.Builder addLinks(Link value)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • addLinks

      public Request.Builder addLinks(int index, Link value)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • addLinks

      public Request.Builder addLinks(Link.Builder builderForValue)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • addLinks

      public Request.Builder addLinks(int index, Link.Builder builderForValue)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • addAllLinks

      public Request.Builder addAllLinks(Iterable<? extends Link> values)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • clearLinks

      public Request.Builder clearLinks()
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • removeLinks

      public Request.Builder removeLinks(int index)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • getLinksBuilder

      public Link.Builder getLinksBuilder(int index)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • getLinksOrBuilder

      public LinkOrBuilder getLinksOrBuilder(int index)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
      Specified by:
      getLinksOrBuilder in interface RequestOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkOrBuilder> getLinksOrBuilderList()
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
      Specified by:
      getLinksOrBuilderList in interface RequestOrBuilder
    • addLinksBuilder

      public Link.Builder addLinksBuilder()
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • addLinksBuilder

      public Link.Builder addLinksBuilder(int index)
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • getLinksBuilderList

      public List<Link.Builder> getLinksBuilderList()
       Links to be associated with this update.
       
      repeated .temporal.api.common.v1.Link links = 5;
    • setUnknownFields

      public final Request.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<Request.Builder>
    • mergeUnknownFields

      public final Request.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<Request.Builder>