Class GatewayOuterClass.ActivatedJob
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.ActivatedJobOrBuilder,Serializable
- Enclosing class:
GatewayOuterClass
public static final class GatewayOuterClass.ActivatedJob
extends com.google.protobuf.GeneratedMessageV3
implements GatewayOuterClass.ActivatedJobOrBuilder
Protobuf type
gateway_protocol.ActivatedJob- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegateway_protocol.ActivatedJobNested 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 intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanthe bpmn process ID of the job process definitioncom.google.protobuf.ByteStringthe bpmn process ID of the job process definitiona set of custom headers defined during modelling; returned as a serialized JSON documentcom.google.protobuf.ByteStringa set of custom headers defined during modelling; returned as a serialized JSON documentlongwhen the job can be activated again, sent as a UNIX epoch timestampstatic final com.google.protobuf.Descriptors.Descriptorthe associated task element IDcom.google.protobuf.ByteStringthe associated task element IDlongthe unique key identifying the associated task, unique within the scope of the process instancelonggetKey()the key, a unique identifier for the jobcom.google.protobuf.Parser<GatewayOuterClass.ActivatedJob> longthe key of the job process definitionintthe version of the job process definitionlongthe job's process instance keyintthe amount of retries left to this job (should always be positive)intthe id of the tenant that owns the jobcom.google.protobuf.ByteStringthe id of the tenant that owns the jobgetType()the type of the job (should match what was requested)com.google.protobuf.ByteStringthe type of the job (should match what was requested)JSON document, computed at activation time, consisting of all visible variables to the task scopecom.google.protobuf.ByteStringJSON document, computed at activation time, consisting of all visible variables to the task scopethe name of the worker which activated this jobcom.google.protobuf.ByteStringthe name of the worker which activated this jobinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GatewayOuterClass.ActivatedJob prototype) protected GatewayOuterClass.ActivatedJob.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GatewayOuterClass.ActivatedJob> 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, internalGetMapFieldReflection, 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
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
PROCESSINSTANCEKEY_FIELD_NUMBER
public static final int PROCESSINSTANCEKEY_FIELD_NUMBER- See Also:
-
BPMNPROCESSID_FIELD_NUMBER
public static final int BPMNPROCESSID_FIELD_NUMBER- See Also:
-
PROCESSDEFINITIONVERSION_FIELD_NUMBER
public static final int PROCESSDEFINITIONVERSION_FIELD_NUMBER- See Also:
-
PROCESSDEFINITIONKEY_FIELD_NUMBER
public static final int PROCESSDEFINITIONKEY_FIELD_NUMBER- See Also:
-
ELEMENTID_FIELD_NUMBER
public static final int ELEMENTID_FIELD_NUMBER- See Also:
-
ELEMENTINSTANCEKEY_FIELD_NUMBER
public static final int ELEMENTINSTANCEKEY_FIELD_NUMBER- See Also:
-
CUSTOMHEADERS_FIELD_NUMBER
public static final int CUSTOMHEADERS_FIELD_NUMBER- See Also:
-
WORKER_FIELD_NUMBER
public static final int WORKER_FIELD_NUMBER- See Also:
-
RETRIES_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER- See Also:
-
DEADLINE_FIELD_NUMBER
public static final int DEADLINE_FIELD_NUMBER- See Also:
-
VARIABLES_FIELD_NUMBER
public static final int VARIABLES_FIELD_NUMBER- See Also:
-
TENANTID_FIELD_NUMBER
public static final int TENANTID_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getKey
public long getKey()the key, a unique identifier for the job
int64 key = 1;- Specified by:
getKeyin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The key.
-
getType
the type of the job (should match what was requested)
string type = 2;- Specified by:
getTypein interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()the type of the job (should match what was requested)
string type = 2;- Specified by:
getTypeBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for type.
-
getProcessInstanceKey
public long getProcessInstanceKey()the job's process instance key
int64 processInstanceKey = 3;- Specified by:
getProcessInstanceKeyin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The processInstanceKey.
-
getBpmnProcessId
the bpmn process ID of the job process definition
string bpmnProcessId = 4;- Specified by:
getBpmnProcessIdin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
public com.google.protobuf.ByteString getBpmnProcessIdBytes()the bpmn process ID of the job process definition
string bpmnProcessId = 4;- Specified by:
getBpmnProcessIdBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for bpmnProcessId.
-
getProcessDefinitionVersion
public int getProcessDefinitionVersion()the version of the job process definition
int32 processDefinitionVersion = 5;- Specified by:
getProcessDefinitionVersionin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The processDefinitionVersion.
-
getProcessDefinitionKey
public long getProcessDefinitionKey()the key of the job process definition
int64 processDefinitionKey = 6;- Specified by:
getProcessDefinitionKeyin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The processDefinitionKey.
-
getElementId
the associated task element ID
string elementId = 7;- Specified by:
getElementIdin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The elementId.
-
getElementIdBytes
public com.google.protobuf.ByteString getElementIdBytes()the associated task element ID
string elementId = 7;- Specified by:
getElementIdBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for elementId.
-
getElementInstanceKey
public long getElementInstanceKey()the unique key identifying the associated task, unique within the scope of the process instance
int64 elementInstanceKey = 8;- Specified by:
getElementInstanceKeyin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The elementInstanceKey.
-
getCustomHeaders
a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;- Specified by:
getCustomHeadersin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The customHeaders.
-
getCustomHeadersBytes
public com.google.protobuf.ByteString getCustomHeadersBytes()a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;- Specified by:
getCustomHeadersBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for customHeaders.
-
getWorker
the name of the worker which activated this job
string worker = 10;- Specified by:
getWorkerin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The worker.
-
getWorkerBytes
public com.google.protobuf.ByteString getWorkerBytes()the name of the worker which activated this job
string worker = 10;- Specified by:
getWorkerBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for worker.
-
getRetries
public int getRetries()the amount of retries left to this job (should always be positive)
int32 retries = 11;- Specified by:
getRetriesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The retries.
-
getDeadline
public long getDeadline()when the job can be activated again, sent as a UNIX epoch timestamp
int64 deadline = 12;- Specified by:
getDeadlinein interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The deadline.
-
getVariables
JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;- Specified by:
getVariablesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;- Specified by:
getVariablesBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for variables.
-
getTenantId
the id of the tenant that owns the job
string tenantId = 14;- Specified by:
getTenantIdin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()the id of the tenant that owns the job
string tenantId = 14;- Specified by:
getTenantIdBytesin interfaceGatewayOuterClass.ActivatedJobOrBuilder- Returns:
- The bytes for tenantId.
-
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 GatewayOuterClass.ActivatedJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GatewayOuterClass.ActivatedJob parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GatewayOuterClass.ActivatedJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GatewayOuterClass.ActivatedJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GatewayOuterClass.ActivatedJob 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
public static GatewayOuterClass.ActivatedJob.Builder newBuilder(GatewayOuterClass.ActivatedJob prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GatewayOuterClass.ActivatedJob.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
-