Package io.temporal.api.query.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Payloads
getAnswer()
Set when the query succeeds with the resultsPayloadsOrBuilder
getAnswerOrBuilder()
Set when the query succeeds with the resultsjava.lang.String
getErrorMessage()
Mutually exclusive with `answer`.com.google.protobuf.ByteString
getErrorMessageBytes()
Mutually exclusive with `answer`.QueryResultType
getResultType()
Did the query succeed or fail?int
getResultTypeValue()
Did the query succeed or fail?boolean
hasAnswer()
Set when the query succeeds with the results-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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
.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
.temporal.api.common.v1.Payloads answer = 2;
- Returns:
- The answer.
-
getAnswerOrBuilder
PayloadsOrBuilder getAnswerOrBuilder()
Set when the query succeeds with the results
.temporal.api.common.v1.Payloads answer = 2;
-
getErrorMessage
java.lang.String getErrorMessage()
Mutually exclusive with `answer`. Set when the query fails.
string error_message = 3;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()
Mutually exclusive with `answer`. Set when the query fails.
string error_message = 3;
- Returns:
- The bytes for errorMessage.
-
-