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:
  • 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:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getKey

      public long getKey()
       the key, a unique identifier for the job
       
      int64 key = 1;
      Specified by:
      getKey in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The key.
    • getType

      public String getType()
       the type of the job (should match what was requested)
       
      string type = 2;
      Specified by:
      getType in interface GatewayOuterClass.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:
      getTypeBytes in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The bytes for type.
    • getProcessInstanceKey

      public long getProcessInstanceKey()
       the job's process instance key
       
      int64 processInstanceKey = 3;
      Specified by:
      getProcessInstanceKey in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The processInstanceKey.
    • getBpmnProcessId

      public String getBpmnProcessId()
       the bpmn process ID of the job process definition
       
      string bpmnProcessId = 4;
      Specified by:
      getBpmnProcessId in interface GatewayOuterClass.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:
      getBpmnProcessIdBytes in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The bytes for bpmnProcessId.
    • getProcessDefinitionVersion

      public int getProcessDefinitionVersion()
       the version of the job process definition
       
      int32 processDefinitionVersion = 5;
      Specified by:
      getProcessDefinitionVersion in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The processDefinitionVersion.
    • getProcessDefinitionKey

      public long getProcessDefinitionKey()
       the key of the job process definition
       
      int64 processDefinitionKey = 6;
      Specified by:
      getProcessDefinitionKey in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The processDefinitionKey.
    • getElementId

      public String getElementId()
       the associated task element ID
       
      string elementId = 7;
      Specified by:
      getElementId in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The elementId.
    • getElementIdBytes

      public com.google.protobuf.ByteString getElementIdBytes()
       the associated task element ID
       
      string elementId = 7;
      Specified by:
      getElementIdBytes in interface GatewayOuterClass.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:
      getElementInstanceKey in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The elementInstanceKey.
    • getCustomHeaders

      public String getCustomHeaders()
       a set of custom headers defined during modelling; returned as a serialized
       JSON document
       
      string customHeaders = 9;
      Specified by:
      getCustomHeaders in interface GatewayOuterClass.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:
      getCustomHeadersBytes in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The bytes for customHeaders.
    • getWorker

      public String getWorker()
       the name of the worker which activated this job
       
      string worker = 10;
      Specified by:
      getWorker in interface GatewayOuterClass.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:
      getWorkerBytes in interface GatewayOuterClass.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:
      getRetries in interface GatewayOuterClass.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:
      getDeadline in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The deadline.
    • getVariables

      public String getVariables()
       JSON document, computed at activation time, consisting of all visible variables to
       the task scope
       
      string variables = 13;
      Specified by:
      getVariables in interface GatewayOuterClass.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:
      getVariablesBytes in interface GatewayOuterClass.ActivatedJobOrBuilder
      Returns:
      The bytes for variables.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static GatewayOuterClass.ActivatedJob parseFrom(InputStream input) throws IOException
      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

      public GatewayOuterClass.ActivatedJob.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GatewayOuterClass.ActivatedJob.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GatewayOuterClass.ActivatedJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GatewayOuterClass.ActivatedJob getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GatewayOuterClass.ActivatedJob> parser()
    • getParserForType

      public com.google.protobuf.Parser<GatewayOuterClass.ActivatedJob> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GatewayOuterClass.ActivatedJob getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder