Package io.temporal.api.nexus.v1
Class StartOperationRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.nexus.v1.StartOperationRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StartOperationRequestOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:StartOperationRequest.java.pb.meta") public final class StartOperationRequest extends com.google.protobuf.GeneratedMessageV3 implements StartOperationRequestOrBuilderA request to start an operation.
Protobuf typetemporal.api.nexus.v1.StartOperationRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartOperationRequest.BuilderA request to start an operation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCALLBACK_FIELD_NUMBERstatic intCALLBACK_HEADER_FIELD_NUMBERstatic intLINKS_FIELD_NUMBERstatic intOPERATION_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intSERVICE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsCallbackHeader(java.lang.String key)Header that is expected to be attached to the callback request when the operation completes.booleanequals(java.lang.Object obj)java.lang.StringgetCallback()Callback URL to call upon completion if the started operation is async.com.google.protobuf.ByteStringgetCallbackBytes()Callback URL to call upon completion if the started operation is async.java.util.Map<java.lang.String,java.lang.String>getCallbackHeader()Deprecated.intgetCallbackHeaderCount()Header that is expected to be attached to the callback request when the operation completes.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.java.lang.StringgetCallbackHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)Header that is expected to be attached to the callback request when the operation completes.java.lang.StringgetCallbackHeaderOrThrow(java.lang.String key)Header that is expected to be attached to the callback request when the operation completes.static StartOperationRequestgetDefaultInstance()StartOperationRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()LinkgetLinks(int index)Links contain caller information and can be attached to the operations started by the handler.intgetLinksCount()Links contain caller information and can be attached to the operations started by the handler.java.util.List<Link>getLinksList()Links contain caller information and can be attached to the operations started by the handler.LinkOrBuildergetLinksOrBuilder(int index)Links contain caller information and can be attached to the operations started by the handler.java.util.List<? extends LinkOrBuilder>getLinksOrBuilderList()Links contain caller information and can be attached to the operations started by the handler.java.lang.StringgetOperation()Type of operation to start.com.google.protobuf.ByteStringgetOperationBytes()Type of operation to start.com.google.protobuf.Parser<StartOperationRequest>getParserForType()PayloadgetPayload()Full request body from the incoming HTTP request.PayloadOrBuildergetPayloadOrBuilder()Full request body from the incoming HTTP request.java.lang.StringgetRequestId()A request ID that can be used as an idempotentency key.com.google.protobuf.ByteStringgetRequestIdBytes()A request ID that can be used as an idempotentency key.intgetSerializedSize()java.lang.StringgetService()Name of service to start the operation in.com.google.protobuf.ByteStringgetServiceBytes()Name of service to start the operation in.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasPayload()Full request body from the incoming HTTP request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static StartOperationRequest.BuildernewBuilder()static StartOperationRequest.BuildernewBuilder(StartOperationRequest prototype)StartOperationRequest.BuildernewBuilderForType()protected StartOperationRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StartOperationRequestparseDelimitedFrom(java.io.InputStream input)static StartOperationRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartOperationRequestparseFrom(byte[] data)static StartOperationRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartOperationRequestparseFrom(com.google.protobuf.ByteString data)static StartOperationRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartOperationRequestparseFrom(com.google.protobuf.CodedInputStream input)static StartOperationRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartOperationRequestparseFrom(java.io.InputStream input)static StartOperationRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StartOperationRequestparseFrom(java.nio.ByteBuffer data)static StartOperationRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StartOperationRequest>parser()StartOperationRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALLBACK_FIELD_NUMBER
public static final int CALLBACK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALLBACK_HEADER_FIELD_NUMBER
public static final int CALLBACK_HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getService
public java.lang.String 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.
-
getOperation
public java.lang.String 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.
-
getRequestId
public java.lang.String 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.
-
getCallback
public java.lang.String 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.
-
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
public Payload getPayload()
Full request body from the incoming HTTP request.
.temporal.api.common.v1.Payload payload = 5;- Specified by:
getPayloadin interfaceStartOperationRequestOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public PayloadOrBuilder 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
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:
containsCallbackHeaderin interfaceStartOperationRequestOrBuilder
-
getCallbackHeader
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCallbackHeader()
Deprecated.UsegetCallbackHeaderMap()instead.- Specified by:
getCallbackHeaderin interfaceStartOperationRequestOrBuilder
-
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:
getCallbackHeaderMapin interfaceStartOperationRequestOrBuilder
-
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:
getCallbackHeaderOrDefaultin interfaceStartOperationRequestOrBuilder
-
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:
getCallbackHeaderOrThrowin interfaceStartOperationRequestOrBuilder
-
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:
getLinksListin interfaceStartOperationRequestOrBuilder
-
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:
getLinksOrBuilderListin 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
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:
getLinksin interfaceStartOperationRequestOrBuilder
-
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:
getLinksOrBuilderin interfaceStartOperationRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StartOperationRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartOperationRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartOperationRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartOperationRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartOperationRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StartOperationRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StartOperationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StartOperationRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StartOperationRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StartOperationRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public StartOperationRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StartOperationRequest.Builder newBuilder()
-
newBuilder
public static StartOperationRequest.Builder newBuilder(StartOperationRequest prototype)
-
toBuilder
public StartOperationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartOperationRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StartOperationRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StartOperationRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<StartOperationRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StartOperationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-