public class AIResponse extends AsyncOperationResult
idfactoryCreated, factoryProperties| Constructor and Description |
|---|
AIResponse() |
AIResponse(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
AIResponseErrorType |
getErrorType()
If the
type is ERROR, the type of error that occurred, if
known. |
AIMessage |
getMessage()
The message returned from the AI service in response to the request.
|
static AIResponse |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
AIResponse |
setErrorType(AIResponseErrorType errorType)
If the
type is ERROR, the type of error that occurred, if
known. |
AIResponse |
setMessage(AIMessage message)
The message returned from the AI service in response to the request.
|
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setTypegetRef, getRef, internalSetIDapplyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreatedpublic AIResponse()
public AIResponse(com.google.gwt.core.client.JavaScriptObject jsObj)
public static AIResponse getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public AIResponse setErrorType(AIResponseErrorType errorType)
type is ERROR, the type of error that occurred, if
known.errorType - New errorType value. Default value is nullAIResponse instance, for chaining setter callspublic AIResponseErrorType getErrorType()
type is ERROR, the type of error that occurred, if
known.public AIResponse setMessage(AIMessage message)
message - New message value. Default value is nullAIResponse instance, for chaining setter callspublic AIMessage getMessage()