io.temporal.api.query.v1.WorkflowQueryResultOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/query/v1/message.proto
package io.temporal.api.query.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:WorkflowQueryResultOrBuilder.java.pb.meta")
public interface WorkflowQueryResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.query.v1.WorkflowQueryResult)
com.google.protobuf.MessageOrBuilder {
/**
*
* Did the query succeed or fail?
*
*
* .temporal.api.enums.v1.QueryResultType result_type = 1;
* @return The enum numeric value on the wire for resultType.
*/
int getResultTypeValue();
/**
*
* Did the query succeed or fail?
*
*
* .temporal.api.enums.v1.QueryResultType result_type = 1;
* @return The resultType.
*/
io.temporal.api.enums.v1.QueryResultType getResultType();
/**
*
* Set when the query succeeds with the results
*
*
* .temporal.api.common.v1.Payloads answer = 2;
* @return Whether the answer field is set.
*/
boolean hasAnswer();
/**
*
* Set when the query succeeds with the results
*
*
* .temporal.api.common.v1.Payloads answer = 2;
* @return The answer.
*/
io.temporal.api.common.v1.Payloads getAnswer();
/**
*
* Set when the query succeeds with the results
*
*
* .temporal.api.common.v1.Payloads answer = 2;
*/
io.temporal.api.common.v1.PayloadsOrBuilder getAnswerOrBuilder();
/**
*
* Mutually exclusive with `answer`. Set when the query fails.
*
*
* string error_message = 3;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
*
* Mutually exclusive with `answer`. Set when the query fails.
*
*
* string error_message = 3;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}