Class GatewayOuterClass.CompleteJobRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.CompleteJobRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.CompleteJobRequestOrBuilder,Cloneable
- Enclosing class:
GatewayOuterClass.CompleteJobRequest
public static final class GatewayOuterClass.CompleteJobRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
implements GatewayOuterClass.CompleteJobRequestOrBuilder
Protobuf type
gateway_protocol.CompleteJobRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()the unique job identifier, as obtained from ActivateJobsResponseThe result of the completed job as determined by the worker.a JSON document representing the variables in the current task scopestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongthe unique job identifier, as obtained from ActivateJobsResponseThe result of the completed job as determined by the worker.The result of the completed job as determined by the worker.The result of the completed job as determined by the worker.a JSON document representing the variables in the current task scopecom.google.protobuf.ByteStringa JSON document representing the variables in the current task scopebooleanThe result of the completed job as determined by the worker.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The result of the completed job as determined by the worker.setJobKey(long value) the unique job identifier, as obtained from ActivateJobsResponseThe result of the completed job as determined by the worker.setResult(GatewayOuterClass.JobResult.Builder builderForValue) The result of the completed job as determined by the worker.setVariables(String value) a JSON document representing the variables in the current task scopesetVariablesBytes(com.google.protobuf.ByteString value) a JSON document representing the variables in the current task scopeMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CompleteJobRequest.Builder mergeFrom(GatewayOuterClass.CompleteJobRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CompleteJobRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CompleteJobRequest.Builder>- Throws:
IOException
-
getJobKey
public long getJobKey()the unique job identifier, as obtained from ActivateJobsResponse
int64 jobKey = 1;- Specified by:
getJobKeyin interfaceGatewayOuterClass.CompleteJobRequestOrBuilder- Returns:
- The jobKey.
-
setJobKey
the unique job identifier, as obtained from ActivateJobsResponse
int64 jobKey = 1;- Parameters:
value- The jobKey to set.- Returns:
- This builder for chaining.
-
clearJobKey
the unique job identifier, as obtained from ActivateJobsResponse
int64 jobKey = 1;- Returns:
- This builder for chaining.
-
getVariables
a JSON document representing the variables in the current task scope
string variables = 2;- Specified by:
getVariablesin interfaceGatewayOuterClass.CompleteJobRequestOrBuilder- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()a JSON document representing the variables in the current task scope
string variables = 2;- Specified by:
getVariablesBytesin interfaceGatewayOuterClass.CompleteJobRequestOrBuilder- Returns:
- The bytes for variables.
-
setVariables
a JSON document representing the variables in the current task scope
string variables = 2;- Parameters:
value- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
a JSON document representing the variables in the current task scope
string variables = 2;- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.CompleteJobRequest.Builder setVariablesBytes(com.google.protobuf.ByteString value) a JSON document representing the variables in the current task scope
string variables = 2;- Parameters:
value- The bytes for variables to set.- Returns:
- This builder for chaining.
-
hasResult
public boolean hasResult()The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3;- Specified by:
hasResultin interfaceGatewayOuterClass.CompleteJobRequestOrBuilder- Returns:
- Whether the result field is set.
-
getResult
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3;- Specified by:
getResultin interfaceGatewayOuterClass.CompleteJobRequestOrBuilder- Returns:
- The result.
-
setResult
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3; -
setResult
public GatewayOuterClass.CompleteJobRequest.Builder setResult(GatewayOuterClass.JobResult.Builder builderForValue) The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3; -
mergeResult
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3; -
clearResult
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3; -
getResultBuilder
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3; -
getResultOrBuilder
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
optional .gateway_protocol.JobResult result = 3;- Specified by:
getResultOrBuilderin interfaceGatewayOuterClass.CompleteJobRequestOrBuilder
-