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 Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends Link> values) Links contain caller information and can be attached to the operations started by the handler.Links contain caller information and can be attached to the operations started by the handler.addLinks(int index, Link.Builder builderForValue) Links contain caller information and can be attached to the operations started by the handler.Links contain caller information and can be attached to the operations started by the handler.addLinks(Link.Builder builderForValue) Links contain caller information and can be attached to the operations started by the handler.Links contain caller information and can be attached to the operations started by the handler.addLinksBuilder(int index) Links contain caller information and can be attached to the operations started by the handler.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Callback URL to call upon completion if the started operation is async.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Links contain caller information and can be attached to the operations started by the handler.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Type of operation to start.Full request body from the incoming HTTP request.A request ID that can be used as an idempotentency key.Name of service to start the operation in.clone()booleanHeader that is expected to be attached to the callback request when the operation completes.Callback URL to call upon completion if the started operation is async.com.google.protobuf.ByteStringCallback URL to call upon completion if the started operation is async.Deprecated.intHeader that is expected to be attached to the callback request when the operation completes.Header that is expected to be attached to the callback request when the operation completes.getCallbackHeaderOrDefault(String key, String defaultValue) Header that is expected to be attached to the callback request when the operation completes.Header that is expected to be attached to the callback request when the operation completes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLinks(int index) Links contain caller information and can be attached to the operations started by the handler.getLinksBuilder(int index) Links contain caller information and can be attached to the operations started by the handler.Links contain caller information and can be attached to the operations started by the handler.intLinks contain caller information and can be attached to the operations started by the handler.Links contain caller information and can be attached to the operations started by the handler.getLinksOrBuilder(int index) Links contain caller information and can be attached to the operations started by the handler.List<? extends LinkOrBuilder> Links contain caller information and can be attached to the operations started by the handler.Deprecated.Type of operation to start.com.google.protobuf.ByteStringType of operation to start.Full request body from the incoming HTTP request.Full request body from the incoming HTTP request.Full request body from the incoming HTTP request.A request ID that can be used as an idempotentency key.com.google.protobuf.ByteStringA request ID that can be used as an idempotentency key.Name of service to start the operation in.com.google.protobuf.ByteStringName of service to start the operation in.booleanFull request body from the incoming HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(StartOperationRequest other) mergePayload(Payload value) Full request body from the incoming HTTP request.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllCallbackHeader(Map<String, String> values) Header that is expected to be attached to the callback request when the operation completes.putCallbackHeader(String key, String value) Header that is expected to be attached to the callback request when the operation completes.Header that is expected to be attached to the callback request when the operation completes.removeLinks(int index) Links contain caller information and can be attached to the operations started by the handler.setCallback(String value) Callback URL to call upon completion if the started operation is async.setCallbackBytes(com.google.protobuf.ByteString value) Callback URL to call upon completion if the started operation is async.Links contain caller information and can be attached to the operations started by the handler.setLinks(int index, Link.Builder builderForValue) Links contain caller information and can be attached to the operations started by the handler.setOperation(String value) Type of operation to start.setOperationBytes(com.google.protobuf.ByteString value) Type of operation to start.setPayload(Payload value) Full request body from the incoming HTTP request.setPayload(Payload.Builder builderForValue) Full request body from the incoming HTTP request.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) A request ID that can be used as an idempotentency key.setRequestIdBytes(com.google.protobuf.ByteString value) A request ID that can be used as an idempotentency key.setService(String value) Name of service to start the operation in.setServiceBytes(com.google.protobuf.ByteString value) Name of service to start the operation in.setUnknownFields(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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.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<StartOperationRequest.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<StartOperationRequest.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<StartOperationRequest.Builder>
-
setField
public StartOperationRequest.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<StartOperationRequest.Builder>
-
clearField
public StartOperationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
-
clearOneof
public StartOperationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
-
setRepeatedField
public StartOperationRequest.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<StartOperationRequest.Builder>
-
addRepeatedField
public StartOperationRequest.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<StartOperationRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartOperationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StartOperationRequest.Builder>- Throws:
IOException
-
getService
Name of service to start the operation in.
string service = 1;- Specified by:
getServicein interfaceStartOperationRequestOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Name of service to start the operation in.
string service = 1;- Specified by:
getServiceBytesin interfaceStartOperationRequestOrBuilder- Returns:
- The bytes for service.
-
setService
Name of service to start the operation in.
string service = 1;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Name of service to start the operation in.
string service = 1;- Returns:
- This builder for chaining.
-
setServiceBytes
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
Type of operation to start.
string operation = 2;- Specified by:
getOperationin interfaceStartOperationRequestOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()Type of operation to start.
string operation = 2;- Specified by:
getOperationBytesin interfaceStartOperationRequestOrBuilder- Returns:
- The bytes for operation.
-
setOperation
Type of operation to start.
string operation = 2;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
Type of operation to start.
string operation = 2;- Returns:
- This builder for chaining.
-
setOperationBytes
Type of operation to start.
string operation = 2;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
getRequestId
A request ID that can be used as an idempotentency key.
string request_id = 3;- Specified by:
getRequestIdin interfaceStartOperationRequestOrBuilder- 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:
getRequestIdBytesin interfaceStartOperationRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
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
A request ID that can be used as an idempotentency key.
string request_id = 3;- Returns:
- This builder for chaining.
-
setRequestIdBytes
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
Callback URL to call upon completion if the started operation is async.
string callback = 4;- Specified by:
getCallbackin interfaceStartOperationRequestOrBuilder- 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:
getCallbackBytesin interfaceStartOperationRequestOrBuilder- Returns:
- The bytes for callback.
-
setCallback
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
Callback URL to call upon completion if the started operation is async.
string callback = 4;- Returns:
- This builder for chaining.
-
setCallbackBytes
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:
hasPayloadin interfaceStartOperationRequestOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5;- Specified by:
getPayloadin interfaceStartOperationRequestOrBuilder- Returns:
- The payload.
-
setPayload
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5; -
setPayload
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5; -
mergePayload
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5; -
clearPayload
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5; -
getPayloadBuilder
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5; -
getPayloadOrBuilder
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5;- Specified by:
getPayloadOrBuilderin interfaceStartOperationRequestOrBuilder
-
getCallbackHeaderCount
public int getCallbackHeaderCount()Description copied from interface:StartOperationRequestOrBuilderHeader that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6;- Specified by:
getCallbackHeaderCountin interfaceStartOperationRequestOrBuilder
-
containsCallbackHeader
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6;- Specified by:
containsCallbackHeaderin interfaceStartOperationRequestOrBuilder
-
getCallbackHeader
Deprecated.UsegetCallbackHeaderMap()instead.- Specified by:
getCallbackHeaderin interfaceStartOperationRequestOrBuilder
-
getCallbackHeaderMap
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6;- Specified by:
getCallbackHeaderMapin interfaceStartOperationRequestOrBuilder
-
getCallbackHeaderOrDefault
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6;- Specified by:
getCallbackHeaderOrDefaultin interfaceStartOperationRequestOrBuilder
-
getCallbackHeaderOrThrow
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6;- Specified by:
getCallbackHeaderOrThrowin interfaceStartOperationRequestOrBuilder
-
clearCallbackHeader
-
removeCallbackHeader
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6; -
getMutableCallbackHeader
Deprecated.Use alternate mutation accessors instead. -
putCallbackHeader
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6; -
putAllCallbackHeader
Header that is expected to be attached to the callback request when the operation completes.
map<string, string> callback_header = 6; -
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:
getLinksListin interfaceStartOperationRequestOrBuilder
-
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:
getLinksCountin interfaceStartOperationRequestOrBuilder
-
getLinks
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:
getLinksin interfaceStartOperationRequestOrBuilder
-
setLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
setLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
addLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
addLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
addLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
addLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
addAllLinks
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
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
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
getLinksBuilder
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
getLinksOrBuilder
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:
getLinksOrBuilderin interfaceStartOperationRequestOrBuilder
-
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:
getLinksOrBuilderListin interfaceStartOperationRequestOrBuilder
-
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
Links contain caller information and can be attached to the operations started by the handler.
repeated .temporal.api.nexus.v1.Link links = 7; -
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
-
mergeUnknownFields
public final StartOperationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StartOperationRequest.Builder>
-