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 Type
    Method
    Description
    long
    the unique job identifier, as obtained from ActivateJobsResponse
    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 scope
    com.google.protobuf.ByteString
    a JSON document representing the variables in the current task scope
    boolean
    The result of the completed job as determined by the worker.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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

       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;