Interface WorkflowQueryResultOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    WorkflowQueryResult, WorkflowQueryResult.Builder

    @Generated(value="protoc",
               comments="annotations:WorkflowQueryResultOrBuilder.java.pb.meta")
    public interface WorkflowQueryResultOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getResultTypeValue

        int getResultTypeValue()
         Did the query succeed or fail?
         
        .temporal.api.enums.v1.QueryResultType result_type = 1;
        Returns:
        The enum numeric value on the wire for resultType.
      • getResultType

        QueryResultType getResultType()
         Did the query succeed or fail?
         
        .temporal.api.enums.v1.QueryResultType result_type = 1;
        Returns:
        The resultType.
      • hasAnswer

        boolean hasAnswer()
         Set when the query succeeds with the results.
         Mutually exclusive with `error_message` and `failure`.
         
        .temporal.api.common.v1.Payloads answer = 2;
        Returns:
        Whether the answer field is set.
      • getAnswer

        Payloads getAnswer()
         Set when the query succeeds with the results.
         Mutually exclusive with `error_message` and `failure`.
         
        .temporal.api.common.v1.Payloads answer = 2;
        Returns:
        The answer.
      • getAnswerOrBuilder

        PayloadsOrBuilder getAnswerOrBuilder()
         Set when the query succeeds with the results.
         Mutually exclusive with `error_message` and `failure`.
         
        .temporal.api.common.v1.Payloads answer = 2;
      • getErrorMessage

        java.lang.String getErrorMessage()
         Mutually exclusive with `answer`. Set when the query fails.
         See also the newer `failure` field.
         
        string error_message = 3;
        Returns:
        The errorMessage.
      • getErrorMessageBytes

        com.google.protobuf.ByteString getErrorMessageBytes()
         Mutually exclusive with `answer`. Set when the query fails.
         See also the newer `failure` field.
         
        string error_message = 3;
        Returns:
        The bytes for errorMessage.
      • hasFailure

        boolean hasFailure()
         The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's
         failure converter to support E2E encryption of messages and stack traces.
         Mutually exclusive with `answer`. Set when the query fails.
         
        .temporal.api.failure.v1.Failure failure = 4;
        Returns:
        Whether the failure field is set.
      • getFailure

        Failure getFailure()
         The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's
         failure converter to support E2E encryption of messages and stack traces.
         Mutually exclusive with `answer`. Set when the query fails.
         
        .temporal.api.failure.v1.Failure failure = 4;
        Returns:
        The failure.
      • getFailureOrBuilder

        FailureOrBuilder getFailureOrBuilder()
         The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's
         failure converter to support E2E encryption of messages and stack traces.
         Mutually exclusive with `answer`. Set when the query fails.
         
        .temporal.api.failure.v1.Failure failure = 4;