Class Request
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.nexus.v1.Request
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:Request.java.pb.meta")
public final class Request
extends com.google.protobuf.GeneratedMessageV3
implements RequestOrBuilder
A Nexus request.Protobuf type
temporal.api.nexus.v1.Request- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Nexus request.static final classProtobuf typetemporal.api.nexus.v1.Request.Capabilitiesstatic interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeader(String key) Headers extracted from the original request in the Temporal frontend.boolean.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;static Requeststatic final com.google.protobuf.Descriptors.DescriptorThe endpoint this request was addressed to before forwarding to the worker.com.google.protobuf.ByteStringThe endpoint this request was addressed to before forwarding to the worker.Deprecated.intHeaders extracted from the original request in the Temporal frontend.Headers extracted from the original request in the Temporal frontend.getHeaderOrDefault(String key, String defaultValue) Headers extracted from the original request in the Temporal frontend.getHeaderOrThrow(String key) Headers extracted from the original request in the Temporal frontend.com.google.protobuf.Parser<Request> com.google.protobuf.TimestampThe timestamp when the request was scheduled in the frontend.com.google.protobuf.TimestampOrBuilderThe timestamp when the request was scheduled in the frontend.int.temporal.api.nexus.v1.StartOperationRequest start_operation = 3;.temporal.api.nexus.v1.StartOperationRequest start_operation = 3;boolean.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;boolean.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;inthashCode()booleanThe timestamp when the request was scheduled in the frontend.boolean.temporal.api.nexus.v1.StartOperationRequest start_operation = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Request.Builderstatic Request.BuildernewBuilder(Request prototype) protected Request.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RequestparseDelimitedFrom(InputStream input) static RequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestparseFrom(byte[] data) static RequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestparseFrom(com.google.protobuf.ByteString data) static RequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestparseFrom(com.google.protobuf.CodedInputStream input) static RequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestparseFrom(InputStream input) static RequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestparseFrom(ByteBuffer data) static RequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Request> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
SCHEDULED_TIME_FIELD_NUMBER
public static final int SCHEDULED_TIME_FIELD_NUMBER- See Also:
-
CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_FIELD_NUMBER- See Also:
-
START_OPERATION_FIELD_NUMBER
public static final int START_OPERATION_FIELD_NUMBER- See Also:
-
CANCEL_OPERATION_FIELD_NUMBER
public static final int CANCEL_OPERATION_FIELD_NUMBER- See Also:
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVariantCase
- Specified by:
getVariantCasein interfaceRequestOrBuilder
-
getHeaderCount
public int getHeaderCount()Description copied from interface:RequestOrBuilderHeaders extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1;- Specified by:
getHeaderCountin interfaceRequestOrBuilder
-
containsHeader
Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1;- Specified by:
containsHeaderin interfaceRequestOrBuilder
-
getHeader
-
getHeaderMap
Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1;- Specified by:
getHeaderMapin interfaceRequestOrBuilder
-
getHeaderOrDefault
Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1;- Specified by:
getHeaderOrDefaultin interfaceRequestOrBuilder
-
getHeaderOrThrow
Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.
map<string, string> header = 1;- Specified by:
getHeaderOrThrowin interfaceRequestOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --).google.protobuf.Timestamp scheduled_time = 2;- Specified by:
hasScheduledTimein interfaceRequestOrBuilder- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
public com.google.protobuf.Timestamp getScheduledTime()The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --).google.protobuf.Timestamp scheduled_time = 2;- Specified by:
getScheduledTimein interfaceRequestOrBuilder- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --).google.protobuf.Timestamp scheduled_time = 2;- Specified by:
getScheduledTimeOrBuilderin interfaceRequestOrBuilder
-
hasCapabilities
public boolean hasCapabilities().temporal.api.nexus.v1.Request.Capabilities capabilities = 100;- Specified by:
hasCapabilitiesin interfaceRequestOrBuilder- Returns:
- Whether the capabilities field is set.
-
getCapabilities
.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;- Specified by:
getCapabilitiesin interfaceRequestOrBuilder- Returns:
- The capabilities.
-
getCapabilitiesOrBuilder
.temporal.api.nexus.v1.Request.Capabilities capabilities = 100;- Specified by:
getCapabilitiesOrBuilderin interfaceRequestOrBuilder
-
hasStartOperation
public boolean hasStartOperation().temporal.api.nexus.v1.StartOperationRequest start_operation = 3;- Specified by:
hasStartOperationin interfaceRequestOrBuilder- Returns:
- Whether the startOperation field is set.
-
getStartOperation
.temporal.api.nexus.v1.StartOperationRequest start_operation = 3;- Specified by:
getStartOperationin interfaceRequestOrBuilder- Returns:
- The startOperation.
-
getStartOperationOrBuilder
.temporal.api.nexus.v1.StartOperationRequest start_operation = 3;- Specified by:
getStartOperationOrBuilderin interfaceRequestOrBuilder
-
hasCancelOperation
public boolean hasCancelOperation().temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;- Specified by:
hasCancelOperationin interfaceRequestOrBuilder- Returns:
- Whether the cancelOperation field is set.
-
getCancelOperation
.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;- Specified by:
getCancelOperationin interfaceRequestOrBuilder- Returns:
- The cancelOperation.
-
getCancelOperationOrBuilder
.temporal.api.nexus.v1.CancelOperationRequest cancel_operation = 4;- Specified by:
getCancelOperationOrBuilderin interfaceRequestOrBuilder
-
getEndpoint
The endpoint this request was addressed to before forwarding to the worker. Supported from server version 1.30.0.
string endpoint = 10;- Specified by:
getEndpointin interfaceRequestOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()The endpoint this request was addressed to before forwarding to the worker. Supported from server version 1.30.0.
string endpoint = 10;- Specified by:
getEndpointBytesin interfaceRequestOrBuilder- Returns:
- The bytes for endpoint.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 Request parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Request parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Request parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Request parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Request.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-