Package io.temporal.api.command.v1
Class ScheduleNexusOperationCommandAttributes
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScheduleNexusOperationCommandAttributesOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:ScheduleNexusOperationCommandAttributes.java.pb.meta") public final class ScheduleNexusOperationCommandAttributes extends com.google.protobuf.GeneratedMessageV3 implements ScheduleNexusOperationCommandAttributesOrBuilderProtobuf typetemporal.api.command.v1.ScheduleNexusOperationCommandAttributes- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleNexusOperationCommandAttributes.BuilderProtobuf typetemporal.api.command.v1.ScheduleNexusOperationCommandAttributes-
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 intENDPOINT_FIELD_NUMBERstatic intINPUT_FIELD_NUMBERstatic intNEXUS_HEADER_FIELD_NUMBERstatic intOPERATION_FIELD_NUMBERstatic intSCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBERstatic intSERVICE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsNexusHeader(java.lang.String key)Header to attach to the Nexus request.booleanequals(java.lang.Object obj)static ScheduleNexusOperationCommandAttributesgetDefaultInstance()ScheduleNexusOperationCommandAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetEndpoint()Endpoint name, must exist in the endpoint registry or this command will fail.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint name, must exist in the endpoint registry or this command will fail.PayloadgetInput()Input for the operation.PayloadOrBuildergetInputOrBuilder()Input for the operation.java.util.Map<java.lang.String,java.lang.String>getNexusHeader()Deprecated.intgetNexusHeaderCount()Header to attach to the Nexus request.java.util.Map<java.lang.String,java.lang.String>getNexusHeaderMap()Header to attach to the Nexus request.java.lang.StringgetNexusHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)Header to attach to the Nexus request.java.lang.StringgetNexusHeaderOrThrow(java.lang.String key)Header to attach to the Nexus request.java.lang.StringgetOperation()Operation name.com.google.protobuf.ByteStringgetOperationBytes()Operation name.com.google.protobuf.Parser<ScheduleNexusOperationCommandAttributes>getParserForType()com.google.protobuf.DurationgetScheduleToCloseTimeout()Schedule-to-close timeout for this operation.com.google.protobuf.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation.intgetSerializedSize()java.lang.StringgetService()Service name.com.google.protobuf.ByteStringgetServiceBytes()Service name.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasInput()Input for the operation.booleanhasScheduleToCloseTimeout()Schedule-to-close timeout for this operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ScheduleNexusOperationCommandAttributes.BuildernewBuilder()static ScheduleNexusOperationCommandAttributes.BuildernewBuilder(ScheduleNexusOperationCommandAttributes prototype)ScheduleNexusOperationCommandAttributes.BuildernewBuilderForType()protected ScheduleNexusOperationCommandAttributes.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ScheduleNexusOperationCommandAttributesparseDelimitedFrom(java.io.InputStream input)static ScheduleNexusOperationCommandAttributesparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScheduleNexusOperationCommandAttributesparseFrom(byte[] data)static ScheduleNexusOperationCommandAttributesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScheduleNexusOperationCommandAttributesparseFrom(com.google.protobuf.ByteString data)static ScheduleNexusOperationCommandAttributesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScheduleNexusOperationCommandAttributesparseFrom(com.google.protobuf.CodedInputStream input)static ScheduleNexusOperationCommandAttributesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScheduleNexusOperationCommandAttributesparseFrom(java.io.InputStream input)static ScheduleNexusOperationCommandAttributesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ScheduleNexusOperationCommandAttributesparseFrom(java.nio.ByteBuffer data)static ScheduleNexusOperationCommandAttributesparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ScheduleNexusOperationCommandAttributes>parser()ScheduleNexusOperationCommandAttributes.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
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXUS_HEADER_FIELD_NUMBER
public static final int NEXUS_HEADER_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
-
getEndpoint
public java.lang.String getEndpoint()
Endpoint name, must exist in the endpoint registry or this command will fail.
string endpoint = 1;- Specified by:
getEndpointin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()
Endpoint name, must exist in the endpoint registry or this command will fail.
string endpoint = 1;- Specified by:
getEndpointBytesin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The bytes for endpoint.
-
getService
public java.lang.String getService()
Service name.
string service = 2;- Specified by:
getServicein interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()
Service name.
string service = 2;- Specified by:
getServiceBytesin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The bytes for service.
-
getOperation
public java.lang.String getOperation()
Operation name.
string operation = 3;- Specified by:
getOperationin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()
Operation name.
string operation = 3;- Specified by:
getOperationBytesin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The bytes for operation.
-
hasInput
public boolean hasInput()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command.
.temporal.api.common.v1.Payload input = 4;- Specified by:
hasInputin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
public Payload getInput()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command.
.temporal.api.common.v1.Payload input = 4;- Specified by:
getInputin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The input.
-
getInputOrBuilder
public PayloadOrBuilder getInputOrBuilder()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command.
.temporal.api.common.v1.Payload input = 4;- Specified by:
getInputOrBuilderin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
hasScheduleToCloseTimeoutin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
getScheduleToCloseTimeoutin interfaceScheduleNexusOperationCommandAttributesOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
getNexusHeaderCount
public int getNexusHeaderCount()
Description copied from interface:ScheduleNexusOperationCommandAttributesOrBuilderHeader to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderCountin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
containsNexusHeader
public boolean containsNexusHeader(java.lang.String key)
Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
containsNexusHeaderin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
getNexusHeader
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getNexusHeader()
Deprecated.UsegetNexusHeaderMap()instead.- Specified by:
getNexusHeaderin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
getNexusHeaderMap
public java.util.Map<java.lang.String,java.lang.String> getNexusHeaderMap()
Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderMapin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
getNexusHeaderOrDefault
public java.lang.String getNexusHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderOrDefaultin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
getNexusHeaderOrThrow
public java.lang.String getNexusHeaderOrThrow(java.lang.String key)
Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderOrThrowin interfaceScheduleNexusOperationCommandAttributesOrBuilder
-
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 ScheduleNexusOperationCommandAttributes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ScheduleNexusOperationCommandAttributes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ScheduleNexusOperationCommandAttributes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ScheduleNexusOperationCommandAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ScheduleNexusOperationCommandAttributes.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ScheduleNexusOperationCommandAttributes.Builder newBuilder()
-
newBuilder
public static ScheduleNexusOperationCommandAttributes.Builder newBuilder(ScheduleNexusOperationCommandAttributes prototype)
-
toBuilder
public ScheduleNexusOperationCommandAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ScheduleNexusOperationCommandAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ScheduleNexusOperationCommandAttributes getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ScheduleNexusOperationCommandAttributes> parser()
-
getParserForType
public com.google.protobuf.Parser<ScheduleNexusOperationCommandAttributes> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ScheduleNexusOperationCommandAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-