Interface GatewayOuterClass.CompleteJobRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayOuterClass.CompleteJobRequest,GatewayOuterClass.CompleteJobRequest.Builder
- Enclosing class:
GatewayOuterClass
public static interface GatewayOuterClass.CompleteJobRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongthe 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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getJobKey
long getJobKey()the unique job identifier, as obtained from ActivateJobsResponse
int64 jobKey = 1;- Returns:
- The jobKey.
-
getVariables
String getVariables()a JSON document representing the variables in the current task scope
string variables = 2;- Returns:
- The variables.
-
getVariablesBytes
com.google.protobuf.ByteString getVariablesBytes()a JSON document representing the variables in the current task scope
string variables = 2;- Returns:
- The bytes for variables.
-
hasResult
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;- Returns:
- Whether the result field is set.
-
getResult
GatewayOuterClass.JobResult 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;- Returns:
- The result.
-
getResultOrBuilder
GatewayOuterClass.JobResultOrBuilder 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;
-