Package io.zeebe.gateway.protocol
Class GatewayOuterClass.ActivatedJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
- io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GatewayOuterClass.ActivatedJobOrBuilder
,Cloneable
- Enclosing class:
- GatewayOuterClass.ActivatedJob
public static final class GatewayOuterClass.ActivatedJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder> implements GatewayOuterClass.ActivatedJobOrBuilder
Protobuf typegateway_protocol.ActivatedJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayOuterClass.ActivatedJob.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.ActivatedJob
build()
GatewayOuterClass.ActivatedJob
buildPartial()
GatewayOuterClass.ActivatedJob.Builder
clear()
GatewayOuterClass.ActivatedJob.Builder
clearBpmnProcessId()
the bpmn process ID of the job workflow definitionGatewayOuterClass.ActivatedJob.Builder
clearCustomHeaders()
a set of custom headers defined during modelling; returned as a serialized JSON documentGatewayOuterClass.ActivatedJob.Builder
clearDeadline()
when the job can be activated again, sent as a UNIX epoch timestampGatewayOuterClass.ActivatedJob.Builder
clearElementId()
the associated task element IDGatewayOuterClass.ActivatedJob.Builder
clearElementInstanceKey()
the unique key identifying the associated task, unique within the scope of the workflow instanceGatewayOuterClass.ActivatedJob.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GatewayOuterClass.ActivatedJob.Builder
clearKey()
the key, a unique identifier for the jobGatewayOuterClass.ActivatedJob.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GatewayOuterClass.ActivatedJob.Builder
clearRetries()
the amount of retries left to this job (should always be positive)GatewayOuterClass.ActivatedJob.Builder
clearType()
the type of the job (should match what was requested)GatewayOuterClass.ActivatedJob.Builder
clearVariables()
JSON document, computed at activation time, consisting of all visible variables to the task scopeGatewayOuterClass.ActivatedJob.Builder
clearWorker()
the name of the worker which activated this jobGatewayOuterClass.ActivatedJob.Builder
clearWorkflowDefinitionVersion()
the version of the job workflow definitionGatewayOuterClass.ActivatedJob.Builder
clearWorkflowInstanceKey()
the job's workflow instance keyGatewayOuterClass.ActivatedJob.Builder
clearWorkflowKey()
the key of the job workflow definitionGatewayOuterClass.ActivatedJob.Builder
clone()
String
getBpmnProcessId()
the bpmn process ID of the job workflow definitioncom.google.protobuf.ByteString
getBpmnProcessIdBytes()
the bpmn process ID of the job workflow definitionString
getCustomHeaders()
a set of custom headers defined during modelling; returned as a serialized JSON documentcom.google.protobuf.ByteString
getCustomHeadersBytes()
a set of custom headers defined during modelling; returned as a serialized JSON documentlong
getDeadline()
when the job can be activated again, sent as a UNIX epoch timestampGatewayOuterClass.ActivatedJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getElementId()
the associated task element IDcom.google.protobuf.ByteString
getElementIdBytes()
the associated task element IDlong
getElementInstanceKey()
the unique key identifying the associated task, unique within the scope of the workflow instancelong
getKey()
the key, a unique identifier for the jobint
getRetries()
the amount of retries left to this job (should always be positive)String
getType()
the type of the job (should match what was requested)com.google.protobuf.ByteString
getTypeBytes()
the type of the job (should match what was requested)String
getVariables()
JSON document, computed at activation time, consisting of all visible variables to the task scopecom.google.protobuf.ByteString
getVariablesBytes()
JSON document, computed at activation time, consisting of all visible variables to the task scopeString
getWorker()
the name of the worker which activated this jobcom.google.protobuf.ByteString
getWorkerBytes()
the name of the worker which activated this jobint
getWorkflowDefinitionVersion()
the version of the job workflow definitionlong
getWorkflowInstanceKey()
the job's workflow instance keylong
getWorkflowKey()
the key of the job workflow definitionprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GatewayOuterClass.ActivatedJob.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GatewayOuterClass.ActivatedJob.Builder
mergeFrom(com.google.protobuf.Message other)
GatewayOuterClass.ActivatedJob.Builder
mergeFrom(GatewayOuterClass.ActivatedJob other)
GatewayOuterClass.ActivatedJob.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.ActivatedJob.Builder
setBpmnProcessId(String value)
the bpmn process ID of the job workflow definitionGatewayOuterClass.ActivatedJob.Builder
setBpmnProcessIdBytes(com.google.protobuf.ByteString value)
the bpmn process ID of the job workflow definitionGatewayOuterClass.ActivatedJob.Builder
setCustomHeaders(String value)
a set of custom headers defined during modelling; returned as a serialized JSON documentGatewayOuterClass.ActivatedJob.Builder
setCustomHeadersBytes(com.google.protobuf.ByteString value)
a set of custom headers defined during modelling; returned as a serialized JSON documentGatewayOuterClass.ActivatedJob.Builder
setDeadline(long value)
when the job can be activated again, sent as a UNIX epoch timestampGatewayOuterClass.ActivatedJob.Builder
setElementId(String value)
the associated task element IDGatewayOuterClass.ActivatedJob.Builder
setElementIdBytes(com.google.protobuf.ByteString value)
the associated task element IDGatewayOuterClass.ActivatedJob.Builder
setElementInstanceKey(long value)
the unique key identifying the associated task, unique within the scope of the workflow instanceGatewayOuterClass.ActivatedJob.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.ActivatedJob.Builder
setKey(long value)
the key, a unique identifier for the jobGatewayOuterClass.ActivatedJob.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GatewayOuterClass.ActivatedJob.Builder
setRetries(int value)
the amount of retries left to this job (should always be positive)GatewayOuterClass.ActivatedJob.Builder
setType(String value)
the type of the job (should match what was requested)GatewayOuterClass.ActivatedJob.Builder
setTypeBytes(com.google.protobuf.ByteString value)
the type of the job (should match what was requested)GatewayOuterClass.ActivatedJob.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.ActivatedJob.Builder
setVariables(String value)
JSON document, computed at activation time, consisting of all visible variables to the task scopeGatewayOuterClass.ActivatedJob.Builder
setVariablesBytes(com.google.protobuf.ByteString value)
JSON document, computed at activation time, consisting of all visible variables to the task scopeGatewayOuterClass.ActivatedJob.Builder
setWorker(String value)
the name of the worker which activated this jobGatewayOuterClass.ActivatedJob.Builder
setWorkerBytes(com.google.protobuf.ByteString value)
the name of the worker which activated this jobGatewayOuterClass.ActivatedJob.Builder
setWorkflowDefinitionVersion(int value)
the version of the job workflow definitionGatewayOuterClass.ActivatedJob.Builder
setWorkflowInstanceKey(long value)
the job's workflow instance keyGatewayOuterClass.ActivatedJob.Builder
setWorkflowKey(long value)
the key of the job workflow definition-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
clear
public GatewayOuterClass.ActivatedJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
getDefaultInstanceForType
public GatewayOuterClass.ActivatedJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GatewayOuterClass.ActivatedJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GatewayOuterClass.ActivatedJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GatewayOuterClass.ActivatedJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
setField
public GatewayOuterClass.ActivatedJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
clearField
public GatewayOuterClass.ActivatedJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
clearOneof
public GatewayOuterClass.ActivatedJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
setRepeatedField
public GatewayOuterClass.ActivatedJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
addRepeatedField
public GatewayOuterClass.ActivatedJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
mergeFrom
public GatewayOuterClass.ActivatedJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
mergeFrom
public GatewayOuterClass.ActivatedJob.Builder mergeFrom(GatewayOuterClass.ActivatedJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
mergeFrom
public GatewayOuterClass.ActivatedJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ActivatedJob.Builder>
- Throws:
IOException
-
getKey
public long getKey()
the key, a unique identifier for the job
int64 key = 1;
- Specified by:
getKey
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The key.
-
setKey
public GatewayOuterClass.ActivatedJob.Builder setKey(long value)
the key, a unique identifier for the job
int64 key = 1;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public GatewayOuterClass.ActivatedJob.Builder clearKey()
the key, a unique identifier for the job
int64 key = 1;
- Returns:
- This builder for chaining.
-
getType
public String getType()
the type of the job (should match what was requested)
string type = 2;
- Specified by:
getType
in 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:
getTypeBytes
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bytes for type.
-
setType
public GatewayOuterClass.ActivatedJob.Builder setType(String value)
the type of the job (should match what was requested)
string type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public GatewayOuterClass.ActivatedJob.Builder clearType()
the type of the job (should match what was requested)
string type = 2;
- Returns:
- This builder for chaining.
-
setTypeBytes
public GatewayOuterClass.ActivatedJob.Builder setTypeBytes(com.google.protobuf.ByteString value)
the type of the job (should match what was requested)
string type = 2;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getWorkflowInstanceKey
public long getWorkflowInstanceKey()
the job's workflow instance key
int64 workflowInstanceKey = 3;
- Specified by:
getWorkflowInstanceKey
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The workflowInstanceKey.
-
setWorkflowInstanceKey
public GatewayOuterClass.ActivatedJob.Builder setWorkflowInstanceKey(long value)
the job's workflow instance key
int64 workflowInstanceKey = 3;
- Parameters:
value
- The workflowInstanceKey to set.- Returns:
- This builder for chaining.
-
clearWorkflowInstanceKey
public GatewayOuterClass.ActivatedJob.Builder clearWorkflowInstanceKey()
the job's workflow instance key
int64 workflowInstanceKey = 3;
- Returns:
- This builder for chaining.
-
getBpmnProcessId
public String getBpmnProcessId()
the bpmn process ID of the job workflow definition
string bpmnProcessId = 4;
- Specified by:
getBpmnProcessId
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
public com.google.protobuf.ByteString getBpmnProcessIdBytes()
the bpmn process ID of the job workflow definition
string bpmnProcessId = 4;
- Specified by:
getBpmnProcessIdBytes
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bytes for bpmnProcessId.
-
setBpmnProcessId
public GatewayOuterClass.ActivatedJob.Builder setBpmnProcessId(String value)
the bpmn process ID of the job workflow definition
string bpmnProcessId = 4;
- Parameters:
value
- The bpmnProcessId to set.- Returns:
- This builder for chaining.
-
clearBpmnProcessId
public GatewayOuterClass.ActivatedJob.Builder clearBpmnProcessId()
the bpmn process ID of the job workflow definition
string bpmnProcessId = 4;
- Returns:
- This builder for chaining.
-
setBpmnProcessIdBytes
public GatewayOuterClass.ActivatedJob.Builder setBpmnProcessIdBytes(com.google.protobuf.ByteString value)
the bpmn process ID of the job workflow definition
string bpmnProcessId = 4;
- Parameters:
value
- The bytes for bpmnProcessId to set.- Returns:
- This builder for chaining.
-
getWorkflowDefinitionVersion
public int getWorkflowDefinitionVersion()
the version of the job workflow definition
int32 workflowDefinitionVersion = 5;
- Specified by:
getWorkflowDefinitionVersion
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The workflowDefinitionVersion.
-
setWorkflowDefinitionVersion
public GatewayOuterClass.ActivatedJob.Builder setWorkflowDefinitionVersion(int value)
the version of the job workflow definition
int32 workflowDefinitionVersion = 5;
- Parameters:
value
- The workflowDefinitionVersion to set.- Returns:
- This builder for chaining.
-
clearWorkflowDefinitionVersion
public GatewayOuterClass.ActivatedJob.Builder clearWorkflowDefinitionVersion()
the version of the job workflow definition
int32 workflowDefinitionVersion = 5;
- Returns:
- This builder for chaining.
-
getWorkflowKey
public long getWorkflowKey()
the key of the job workflow definition
int64 workflowKey = 6;
- Specified by:
getWorkflowKey
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The workflowKey.
-
setWorkflowKey
public GatewayOuterClass.ActivatedJob.Builder setWorkflowKey(long value)
the key of the job workflow definition
int64 workflowKey = 6;
- Parameters:
value
- The workflowKey to set.- Returns:
- This builder for chaining.
-
clearWorkflowKey
public GatewayOuterClass.ActivatedJob.Builder clearWorkflowKey()
the key of the job workflow definition
int64 workflowKey = 6;
- Returns:
- This builder for chaining.
-
getElementId
public String getElementId()
the associated task element ID
string elementId = 7;
- Specified by:
getElementId
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The elementId.
-
getElementIdBytes
public com.google.protobuf.ByteString getElementIdBytes()
the associated task element ID
string elementId = 7;
- Specified by:
getElementIdBytes
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bytes for elementId.
-
setElementId
public GatewayOuterClass.ActivatedJob.Builder setElementId(String value)
the associated task element ID
string elementId = 7;
- Parameters:
value
- The elementId to set.- Returns:
- This builder for chaining.
-
clearElementId
public GatewayOuterClass.ActivatedJob.Builder clearElementId()
the associated task element ID
string elementId = 7;
- Returns:
- This builder for chaining.
-
setElementIdBytes
public GatewayOuterClass.ActivatedJob.Builder setElementIdBytes(com.google.protobuf.ByteString value)
the associated task element ID
string elementId = 7;
- Parameters:
value
- The bytes for elementId to set.- Returns:
- This builder for chaining.
-
getElementInstanceKey
public long getElementInstanceKey()
the unique key identifying the associated task, unique within the scope of the workflow instance
int64 elementInstanceKey = 8;
- Specified by:
getElementInstanceKey
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The elementInstanceKey.
-
setElementInstanceKey
public GatewayOuterClass.ActivatedJob.Builder setElementInstanceKey(long value)
the unique key identifying the associated task, unique within the scope of the workflow instance
int64 elementInstanceKey = 8;
- Parameters:
value
- The elementInstanceKey to set.- Returns:
- This builder for chaining.
-
clearElementInstanceKey
public GatewayOuterClass.ActivatedJob.Builder clearElementInstanceKey()
the unique key identifying the associated task, unique within the scope of the workflow instance
int64 elementInstanceKey = 8;
- Returns:
- This builder for chaining.
-
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 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:
getCustomHeadersBytes
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bytes for customHeaders.
-
setCustomHeaders
public GatewayOuterClass.ActivatedJob.Builder setCustomHeaders(String value)
a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;
- Parameters:
value
- The customHeaders to set.- Returns:
- This builder for chaining.
-
clearCustomHeaders
public GatewayOuterClass.ActivatedJob.Builder clearCustomHeaders()
a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;
- Returns:
- This builder for chaining.
-
setCustomHeadersBytes
public GatewayOuterClass.ActivatedJob.Builder setCustomHeadersBytes(com.google.protobuf.ByteString value)
a set of custom headers defined during modelling; returned as a serialized JSON document
string customHeaders = 9;
- Parameters:
value
- The bytes for customHeaders to set.- Returns:
- This builder for chaining.
-
getWorker
public String getWorker()
the name of the worker which activated this job
string worker = 10;
- Specified by:
getWorker
in 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:
getWorkerBytes
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bytes for worker.
-
setWorker
public GatewayOuterClass.ActivatedJob.Builder setWorker(String value)
the name of the worker which activated this job
string worker = 10;
- Parameters:
value
- The worker to set.- Returns:
- This builder for chaining.
-
clearWorker
public GatewayOuterClass.ActivatedJob.Builder clearWorker()
the name of the worker which activated this job
string worker = 10;
- Returns:
- This builder for chaining.
-
setWorkerBytes
public GatewayOuterClass.ActivatedJob.Builder setWorkerBytes(com.google.protobuf.ByteString value)
the name of the worker which activated this job
string worker = 10;
- Parameters:
value
- The bytes for worker to set.- Returns:
- This builder for chaining.
-
getRetries
public int getRetries()
the amount of retries left to this job (should always be positive)
int32 retries = 11;
- Specified by:
getRetries
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The retries.
-
setRetries
public GatewayOuterClass.ActivatedJob.Builder setRetries(int value)
the amount of retries left to this job (should always be positive)
int32 retries = 11;
- Parameters:
value
- The retries to set.- Returns:
- This builder for chaining.
-
clearRetries
public GatewayOuterClass.ActivatedJob.Builder clearRetries()
the amount of retries left to this job (should always be positive)
int32 retries = 11;
- Returns:
- This builder for chaining.
-
getDeadline
public long getDeadline()
when the job can be activated again, sent as a UNIX epoch timestamp
int64 deadline = 12;
- Specified by:
getDeadline
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The deadline.
-
setDeadline
public GatewayOuterClass.ActivatedJob.Builder setDeadline(long value)
when the job can be activated again, sent as a UNIX epoch timestamp
int64 deadline = 12;
- Parameters:
value
- The deadline to set.- Returns:
- This builder for chaining.
-
clearDeadline
public GatewayOuterClass.ActivatedJob.Builder clearDeadline()
when the job can be activated again, sent as a UNIX epoch timestamp
int64 deadline = 12;
- Returns:
- This builder for chaining.
-
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 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:
getVariablesBytes
in interfaceGatewayOuterClass.ActivatedJobOrBuilder
- Returns:
- The bytes for variables.
-
setVariables
public GatewayOuterClass.ActivatedJob.Builder setVariables(String value)
JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;
- Parameters:
value
- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
public GatewayOuterClass.ActivatedJob.Builder clearVariables()
JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;
- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.ActivatedJob.Builder setVariablesBytes(com.google.protobuf.ByteString value)
JSON document, computed at activation time, consisting of all visible variables to the task scope
string variables = 13;
- Parameters:
value
- The bytes for variables to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.ActivatedJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.ActivatedJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ActivatedJob.Builder>
-
-