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 Summary
Modifier and TypeMethodDescriptionaddAllCompletionCallbacks(Iterable<? extends Callback> values) Callbacks to be called by the server when this update reaches a terminal state.addAllLinks(Iterable<? extends Link> values) Links to be associated with this update.addCompletionCallbacks(int index, Callback value) Callbacks to be called by the server when this update reaches a terminal state.addCompletionCallbacks(int index, Callback.Builder builderForValue) Callbacks to be called by the server when this update reaches a terminal state.addCompletionCallbacks(Callback value) Callbacks to be called by the server when this update reaches a terminal state.addCompletionCallbacks(Callback.Builder builderForValue) Callbacks to be called by the server when this update reaches a terminal state.Callbacks to be called by the server when this update reaches a terminal state.addCompletionCallbacksBuilder(int index) Callbacks to be called by the server when this update reaches a terminal state.Links to be associated with this update.addLinks(int index, Link.Builder builderForValue) Links to be associated with this update.Links to be associated with this update.addLinks(Link.Builder builderForValue) Links to be associated with this update.Links to be associated with this update.addLinksBuilder(int index) Links to be associated with this update.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Callbacks to be called by the server when this update reaches a terminal state.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.update.v1.Input input = 2;Links to be associated with this update..temporal.api.update.v1.Meta meta = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The request ID of the request.clone()getCompletionCallbacks(int index) Callbacks to be called by the server when this update reaches a terminal state.getCompletionCallbacksBuilder(int index) Callbacks to be called by the server when this update reaches a terminal state.Callbacks to be called by the server when this update reaches a terminal state.intCallbacks to be called by the server when this update reaches a terminal state.Callbacks to be called by the server when this update reaches a terminal state.getCompletionCallbacksOrBuilder(int index) Callbacks to be called by the server when this update reaches a terminal state.List<? extends CallbackOrBuilder> Callbacks to be called by the server when this update reaches a terminal state.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInput().temporal.api.update.v1.Input input = 2;.temporal.api.update.v1.Input input = 2;.temporal.api.update.v1.Input input = 2;getLinks(int index) Links to be associated with this update.getLinksBuilder(int index) Links to be associated with this update.Links to be associated with this update.intLinks to be associated with this update.Links to be associated with this update.getLinksOrBuilder(int index) Links to be associated with this update.List<? extends LinkOrBuilder> Links to be associated with this update.getMeta().temporal.api.update.v1.Meta meta = 1;.temporal.api.update.v1.Meta meta = 1;.temporal.api.update.v1.Meta meta = 1;The request ID of the request.com.google.protobuf.ByteStringThe request ID of the request.booleanhasInput().temporal.api.update.v1.Input input = 2;booleanhasMeta().temporal.api.update.v1.Meta meta = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInput(Input value) .temporal.api.update.v1.Input input = 2;.temporal.api.update.v1.Meta meta = 1;final Request.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCompletionCallbacks(int index) Callbacks to be called by the server when this update reaches a terminal state.removeLinks(int index) Links to be associated with this update.setCompletionCallbacks(int index, Callback value) Callbacks to be called by the server when this update reaches a terminal state.setCompletionCallbacks(int index, Callback.Builder builderForValue) Callbacks to be called by the server when this update reaches a terminal state..temporal.api.update.v1.Input input = 2;setInput(Input.Builder builderForValue) .temporal.api.update.v1.Input input = 2;Links to be associated with this update.setLinks(int index, Link.Builder builderForValue) Links to be associated with this update..temporal.api.update.v1.Meta meta = 1;setMeta(Meta.Builder builderForValue) .temporal.api.update.v1.Meta meta = 1;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) The request ID of the request.setRequestIdBytes(com.google.protobuf.ByteString value) The request ID of the request.final Request.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
setField
public Request.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
setRepeatedField
public Request.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
addRepeatedField
public Request.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Request.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Request.Builder>- Throws:
IOException
-
hasMeta
public boolean hasMeta().temporal.api.update.v1.Meta meta = 1;- Specified by:
hasMetain interfaceRequestOrBuilder- Returns:
- Whether the meta field is set.
-
getMeta
.temporal.api.update.v1.Meta meta = 1;- Specified by:
getMetain interfaceRequestOrBuilder- Returns:
- The meta.
-
setMeta
.temporal.api.update.v1.Meta meta = 1; -
setMeta
.temporal.api.update.v1.Meta meta = 1; -
mergeMeta
.temporal.api.update.v1.Meta meta = 1; -
clearMeta
.temporal.api.update.v1.Meta meta = 1; -
getMetaBuilder
.temporal.api.update.v1.Meta meta = 1; -
getMetaOrBuilder
.temporal.api.update.v1.Meta meta = 1;- Specified by:
getMetaOrBuilderin interfaceRequestOrBuilder
-
hasInput
public boolean hasInput().temporal.api.update.v1.Input input = 2;- Specified by:
hasInputin interfaceRequestOrBuilder- Returns:
- Whether the input field is set.
-
getInput
.temporal.api.update.v1.Input input = 2;- Specified by:
getInputin interfaceRequestOrBuilder- Returns:
- The input.
-
setInput
.temporal.api.update.v1.Input input = 2; -
setInput
.temporal.api.update.v1.Input input = 2; -
mergeInput
.temporal.api.update.v1.Input input = 2; -
clearInput
.temporal.api.update.v1.Input input = 2; -
getInputBuilder
.temporal.api.update.v1.Input input = 2; -
getInputOrBuilder
.temporal.api.update.v1.Input input = 2;- Specified by:
getInputOrBuilderin interfaceRequestOrBuilder
-
getRequestId
The request ID of the request.
string request_id = 3;- Specified by:
getRequestIdin interfaceRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()The request ID of the request.
string request_id = 3;- Specified by:
getRequestIdBytesin interfaceRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
The request ID of the request.
string request_id = 3;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
The request ID of the request.
string request_id = 3;- Returns:
- This builder for chaining.
-
setRequestIdBytes
The request ID of the request.
string request_id = 3;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
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:
getCompletionCallbacksListin interfaceRequestOrBuilder
-
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:
getCompletionCallbacksCountin interfaceRequestOrBuilder
-
getCompletionCallbacks
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:
getCompletionCallbacksin interfaceRequestOrBuilder
-
setCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
setCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
addCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
addCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
addCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
addCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
addAllCompletionCallbacks
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
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
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
getCompletionCallbacksBuilder
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
getCompletionCallbacksOrBuilder
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:
getCompletionCallbacksOrBuilderin interfaceRequestOrBuilder
-
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:
getCompletionCallbacksOrBuilderListin interfaceRequestOrBuilder
-
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
Callbacks to be called by the server when this update reaches a terminal state.
repeated .temporal.api.common.v1.Callback completion_callbacks = 4; -
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
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5;- Specified by:
getLinksListin interfaceRequestOrBuilder
-
getLinksCount
public int getLinksCount()Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5;- Specified by:
getLinksCountin interfaceRequestOrBuilder
-
getLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5;- Specified by:
getLinksin interfaceRequestOrBuilder
-
setLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
setLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
addLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
addLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
addLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
addLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
addAllLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
clearLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
removeLinks
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
getLinksBuilder
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
getLinksOrBuilder
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5;- Specified by:
getLinksOrBuilderin interfaceRequestOrBuilder
-
getLinksOrBuilderList
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5;- Specified by:
getLinksOrBuilderListin interfaceRequestOrBuilder
-
addLinksBuilder
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
addLinksBuilder
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
getLinksBuilderList
Links to be associated with this update.
repeated .temporal.api.common.v1.Link links = 5; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
-