Skip navigation links
A B C D E F G H I L M O P Q R S T U V W 

A

addActiveContext(Iterable<AIContext>) - Method in class ai.api.AIDataService
Adds new active contexts for a session
addActiveContext(Iterable<AIContext>, AIServiceContext) - Method in class ai.api.AIDataService
Adds new active contexts for a session
addActiveContext(AIContext) - Method in class ai.api.AIDataService
Adds new active context for a session
addActiveContext(AIContext, AIServiceContext) - Method in class ai.api.AIDataService
Adds new active context for a session
addContext(AIContext) - Method in class ai.api.model.AIRequest
 
addDataField(String, String) - Method in class ai.api.model.AIEvent
 
addDataField(Map<String, String>) - Method in class ai.api.model.AIEvent
 
addEntity(Entity) - Method in class ai.api.model.QuestionMetadata
 
addEntry(EntityEntry) - Method in class ai.api.model.Entity
 
addFilePart(String, String, InputStream) - Method in class ai.api.http.HttpClient
 
addFormPart(String, String) - Method in class ai.api.http.HttpClient
 
ai.api - package ai.api
 
ai.api.http - package ai.api.http
 
ai.api.model - package ai.api.model
 
ai.api.util - package ai.api.util
 
AIConfiguration - Class in ai.api
AI service configuration
AIConfiguration(String, AIConfiguration.SupportedLanguages) - Constructor for class ai.api.AIConfiguration
Create configuration with given client access token and language.
AIConfiguration(String) - Constructor for class ai.api.AIConfiguration
Create configuration with given client access token.
AIConfiguration.SupportedLanguages - Enum in ai.api
Currently supported languages
AIContext - Class in ai.api.model
 
AIContext() - Constructor for class ai.api.model.AIContext
 
AIContext(String) - Constructor for class ai.api.model.AIContext
 
AIDataService - Class in ai.api
Do simple requests to the AI Service
AIDataService(AIConfiguration, AIServiceContext) - Constructor for class ai.api.AIDataService
Create new service for given configuration and some predefined service context
AIDataService(AIConfiguration) - Constructor for class ai.api.AIDataService
Create new service with unique context for given configuration
AIError - Class in ai.api.model
 
AIError(String) - Constructor for class ai.api.model.AIError
 
AIError(AIServiceException) - Constructor for class ai.api.model.AIError
 
AIError(AIResponse) - Constructor for class ai.api.model.AIError
 
AIEvent - Class in ai.api.model
 
AIEvent() - Constructor for class ai.api.model.AIEvent
 
AIEvent(String) - Constructor for class ai.api.model.AIEvent
 
AIOriginalRequest - Class in ai.api.model
 
AIOriginalRequest() - Constructor for class ai.api.model.AIOriginalRequest
 
AIOutputContext - Class in ai.api.model
 
AIOutputContext() - Constructor for class ai.api.model.AIOutputContext
 
AIRequest - Class in ai.api.model
 
AIRequest() - Constructor for class ai.api.model.AIRequest
 
AIRequest(String) - Constructor for class ai.api.model.AIRequest
 
AIResponse - Class in ai.api.model
 
AIResponse() - Constructor for class ai.api.model.AIResponse
 
AIServiceContext - Interface in ai.api
Contains environment specific information required for service request
AIServiceContextBuilder - Class in ai.api
Builds AIServiceContext to be used in AIDataService
AIServiceContextBuilder() - Constructor for class ai.api.AIServiceContextBuilder
Default builder constructor.
AIServiceException - Exception in ai.api
 
AIServiceException() - Constructor for exception ai.api.AIServiceException
 
AIServiceException(String, Throwable) - Constructor for exception ai.api.AIServiceException
 
AIServiceException(String) - Constructor for exception ai.api.AIServiceException
 
AIServiceException(AIResponse) - Constructor for exception ai.api.AIServiceException
 

B

build() - Method in class ai.api.AIServiceContextBuilder
Build new context instance
buildFromSessionId(String) - Static method in class ai.api.AIServiceContextBuilder
 
Button() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.Button
 
Button(String, String) - Constructor for class ai.api.model.ResponseMessage.ResponseCard.Button
 

C

CardImage() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.CardImage
 
CardItem() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
cleanup() - Method in class ai.api.model.AIResponse
 
clone() - Method in class ai.api.AIConfiguration
Clone the configuration
connectForMultipart() - Method in class ai.api.http.HttpClient
 
CONTEXTS_ENDPOINT - Static variable in class ai.api.AIConfiguration
 
copyTo(AIRequest) - Method in class ai.api.RequestExtras
 
CURRENT_PROTOCOL_VERSION - Static variable in class ai.api.AIConfiguration
 

D

DEFAULT - Static variable in enum ai.api.AIConfiguration.SupportedLanguages
Default language value
doRequest(Type, String, String) - Method in class ai.api.AIDataService
 
doRequest(TRequest, Type, String, String) - Method in class ai.api.AIDataService
 
doRequest(Type, String, String, Map<String, String>) - Method in class ai.api.AIDataService
 
doRequest(TRequest, Type, String, String, Map<String, String>) - Method in class ai.api.AIDataService
 
doSoundRequest(InputStream, String) - Method in class ai.api.AIDataService
Method extracted for testing purposes
doSoundRequest(InputStream, String, Map<String, String>) - Method in class ai.api.AIDataService
Method extracted for testing purposes
doSoundRequest(InputStream, String, Map<String, String>, AIServiceContext) - Method in class ai.api.AIDataService
Method extracted for testing purposes
doTextRequest(String, AIServiceContext) - Method in class ai.api.AIDataService
 
doTextRequest(String) - Method in class ai.api.AIDataService
 
doTextRequest(String, String) - Method in class ai.api.AIDataService
 
doTextRequest(String, String, Map<String, String>) - Method in class ai.api.AIDataService
 

E

Entity - Class in ai.api.model
User Entity what can be uploaded to the API.AI service and override (or extend) entities, described in agent.
Entity() - Constructor for class ai.api.model.Entity
 
Entity(String) - Constructor for class ai.api.model.Entity
 
EntityEntry - Class in ai.api.model
 
EntityEntry() - Constructor for class ai.api.model.EntityEntry
 
EntityEntry(String) - Constructor for class ai.api.model.EntityEntry
 
EntityEntry(String, List<String>) - Constructor for class ai.api.model.EntityEntry
 
EntityEntry(String, String[]) - Constructor for class ai.api.model.EntityEntry
 

F

finishMultipart() - Method in class ai.api.http.HttpClient
 
fromCode(int) - Static method in enum ai.api.model.ResponseMessage.MessageType
 
fromLanguageTag(String) - Static method in enum ai.api.AIConfiguration.SupportedLanguages
 
fromName(String) - Static method in enum ai.api.model.ResponseMessage.MessageType
 
fromName(String) - Static method in enum ai.api.model.ResponseMessage.Platform
 
fromResponseCode(int) - Static method in class ai.api.model.Status
 
Fulfillment - Class in ai.api.model
Model class for webhook response.
Fulfillment() - Constructor for class ai.api.model.Fulfillment
 

G

generateSessionId() - Method in class ai.api.AIServiceContextBuilder
Replace current session id with some new random value
get(int) - Method in class ai.api.util.PartialDate
 
getAction() - Method in class ai.api.model.Result
 
getActiveContext(String) - Method in class ai.api.AIDataService
Retrieves the specified context for a session
getActiveContext(String, AIServiceContext) - Method in class ai.api.AIDataService
Retrieves the specified context for a session
getActiveContexts() - Method in class ai.api.AIDataService
Retrieves the list of all currently active contexts for a session
getActiveContexts(AIServiceContext) - Method in class ai.api.AIDataService
Retrieves the list of all currently active contexts for a session
getAdditionalHeaders() - Method in class ai.api.RequestExtras
 
getApiAiLanguage() - Method in class ai.api.AIConfiguration
Get api.ai agent language
getApiKey() - Method in class ai.api.AIConfiguration
Get client access key
getButtons() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
getButtons() - Method in class ai.api.model.ResponseMessage.ResponseCard
Get list of objects corresponding to card buttons.
getCode() - Method in enum ai.api.model.ResponseMessage.MessageType
 
getCode() - Method in class ai.api.model.Status
Response Status Code.
getComplexParameter(String, JsonObject) - Method in class ai.api.model.Result
 
getComplexParameter(String) - Method in class ai.api.model.Result
 
getConfidence() - Method in class ai.api.model.AIRequest
 
getContext() - Method in class ai.api.AIDataService
 
getContext(String) - Method in class ai.api.model.Fulfillment
Get context object by its name.
getContext(String) - Method in class ai.api.model.Result
 
getContextOut() - Method in class ai.api.model.Fulfillment
Get list of context objects set after intent completion.
getContexts() - Method in class ai.api.model.Result
 
getContexts() - Method in class ai.api.RequestExtras
 
getCustomizeAudio() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble
 
getData() - Method in class ai.api.model.AIEvent
String data map
getData() - Method in class ai.api.model.AIOriginalRequest
Get map of additional data values
getData() - Method in class ai.api.model.Fulfillment
Get additional data required for performing the action on the client side.
getDataField(String) - Method in class ai.api.model.AIEvent
 
getDataField(String, String) - Method in class ai.api.model.AIEvent
 
getDateParameter(String) - Method in class ai.api.model.Result
 
getDateParameter(String, Date) - Method in class ai.api.model.Result
 
getDateTimeParameter(String) - Method in class ai.api.model.Result
 
getDateTimeParameter(String, Date) - Method in class ai.api.model.Result
 
getDefaultFactory() - Static method in class ai.api.GsonFactory
Create a default factory
getDescription() - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
getDestinationName() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseLinkOutChip
 
getDisplayText() - Method in class ai.api.model.Fulfillment
Get text displayed on the user device screen.
getDisplayText() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 
getEntities() - Method in class ai.api.model.QuestionMetadata
 
getEntities() - Method in class ai.api.RequestExtras
 
getEntries() - Method in class ai.api.model.Entity
 
getErrorDetails() - Method in class ai.api.model.Status
 
getErrorID() - Method in class ai.api.model.Status
 
getErrorString() - Method in class ai.api.http.HttpClient
 
getErrorType() - Method in class ai.api.model.Status
 
getExtend() - Method in class ai.api.model.Entity
 
getFloatParameter(String) - Method in class ai.api.model.Result
 
getFloatParameter(String, float) - Method in class ai.api.model.Result
 
getFollowupEvent() - Method in class ai.api.model.Fulfillment
Get follow up event to be triggered
getFormattedText() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
getFulfillment() - Method in class ai.api.model.Result
 
getGson() - Method in class ai.api.GsonFactory
Get a Gson object
getId() - Method in class ai.api.model.AIResponse
Unique identifier of the result.
getImage() - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
getImage() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
getImageUrl() - Method in class ai.api.model.ResponseMessage.ResponseCard
Get image url
getImageUrl() - Method in class ai.api.model.ResponseMessage.ResponseImage
Get image url
getIntentId() - Method in class ai.api.model.Metadata
Id of the intent that produced this result
getIntentName() - Method in class ai.api.model.Metadata
Name of the intent that produced this result
getIntParameter(String) - Method in class ai.api.model.Result
 
getIntParameter(String, int) - Method in class ai.api.model.Result
 
getItems() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseCarouselCard
 
getItems() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble
 
getItems() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseListCard
 
getKey() - Method in class ai.api.model.GoogleAssistantResponseMessages.OptionInfo
 
getLang() - Method in class ai.api.model.AIResponse
Agent's language.
getLanguage() - Method in class ai.api.AIConfiguration
Get client agent language
getLanguage() - Method in class ai.api.model.QuestionMetadata
 
getLatitude() - Method in class ai.api.model.Location
 
getLifespan() - Method in class ai.api.model.AIContext
Lifespan of the context measured in requests
getLifespan() - Method in class ai.api.model.AIOutputContext
Lifespan of the context measured in requests
getLocation() - Method in class ai.api.model.QuestionMetadata
 
getLocation() - Method in class ai.api.RequestExtras
 
getLongitude() - Method in class ai.api.model.Location
 
getMessage() - Method in exception ai.api.AIServiceException
 
getMessage() - Method in class ai.api.model.AIError
 
getMessages() - Method in class ai.api.model.Fulfillment
Get list of ResponseMessage objects
getMessages(List<ResponseMessage>) - Method in class ai.api.model.Fulfillment
Deprecated.
this method name is a typo, use setMessages method instead
getMetadata() - Method in class ai.api.model.Result
 
getName() - Method in class ai.api.model.AIContext
Context name
getName() - Method in class ai.api.model.AIEvent
Event name
getName() - Method in class ai.api.model.AIOutputContext
 
getName() - Method in class ai.api.model.Entity
 
getName() - Method in enum ai.api.model.ResponseMessage.MessageType
 
getName() - Method in enum ai.api.model.ResponseMessage.Platform
 
getOpenUrlAction() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.Button
 
getOptionInfo() - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
getOriginalRequest() - Method in class ai.api.model.AIRequest
Full request coming from the integrated platform (Facebook Messenger, Slack, etc.)
getParameters() - Method in class ai.api.model.AIContext
String parameters map
getParameters() - Method in class ai.api.model.AIOutputContext
 
getParameters() - Method in class ai.api.model.Result
 
getPayload() - Method in class ai.api.model.ResponseMessage.ResponsePayload
Get custom defined JSON.
getPostback() - Method in class ai.api.model.ResponseMessage.ResponseCard.Button
Get a text sent back to API.AI or a URL to open.
getProtocolVersion() - Method in class ai.api.AIConfiguration
Check list of supported protocol versions on the api.ai website.
getProxy() - Method in class ai.api.AIConfiguration
Get connection proxy information.
getReplies() - Method in class ai.api.model.ResponseMessage.ResponseQuickReply
Get list of text replies
getResetContexts() - Method in class ai.api.model.AIRequest
 
getResetContexts() - Method in class ai.api.RequestExtras
 
getResolvedQuery() - Method in class ai.api.model.Result
The query that was used to produce this result
getResponse() - Method in exception ai.api.AIServiceException
 
getResponse() - Method in class ai.api.http.HttpClient
 
getResult() - Method in class ai.api.model.AIResponse
Contains the results of the natual language processing.
getScore() - Method in class ai.api.model.Result
 
getSessionId() - Method in interface ai.api.AIServiceContext
 
getSessionId() - Method in class ai.api.AIServiceContextBuilder
 
getSessionId() - Method in class ai.api.model.AIResponse
Session ID
getSessionId() - Method in class ai.api.model.QuestionMetadata
 
getSource() - Method in class ai.api.model.AIOriginalRequest
 
getSource() - Method in class ai.api.model.Fulfillment
Get a data source
getSource() - Method in class ai.api.model.Result
 
getSpeech() - Method in class ai.api.model.Fulfillment
Get voice response to the request
getSpeech() - Method in class ai.api.model.ResponseMessage.ResponseSpeech
Get agent's text replies.
getSsml() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 
getStatus() - Method in class ai.api.model.AIResponse
Contains data on how the request succeeded or failed.
getStringParameter(String) - Method in class ai.api.model.Result
 
getStringParameter(String, String) - Method in class ai.api.model.Result
 
getSubtitle() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
getSubtitle() - Method in class ai.api.model.ResponseMessage.ResponseCard
Get card subtitle.
getSuggestions() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseSuggestionChips
 
getSynonyms() - Method in class ai.api.model.EntityEntry
 
getSynonyms() - Method in class ai.api.model.GoogleAssistantResponseMessages.OptionInfo
 
getText() - Method in class ai.api.model.ResponseMessage.ResponseCard.Button
Get button text
getTextToSpeech() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 
getTimeParameter(String) - Method in class ai.api.model.Result
 
getTimeParameter(String, Date) - Method in class ai.api.model.Result
 
getTimestamp() - Method in class ai.api.model.AIResponse
Date and time of the request in UTC timezone using ISO-8601 format.
getTimeZone() - Method in interface ai.api.AIServiceContext
 
getTimeZone() - Method in class ai.api.AIServiceContextBuilder
 
getTimezone() - Method in class ai.api.model.QuestionMetadata
 
getTitle() - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
getTitle() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.Button
 
getTitle() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
getTitle() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseListCard
 
getTitle() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseSuggestionChips.Suggestion
 
getTitle() - Method in class ai.api.model.ResponseMessage.ResponseCard
Get card title.
getTitle() - Method in class ai.api.model.ResponseMessage.ResponseQuickReply
Get quick replies title.
getType() - Method in enum ai.api.model.ResponseMessage.MessageType
 
getUrl() - Method in class ai.api.model.GoogleAssistantResponseMessages.CardImage
 
getUrl() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.OpenUrlAction
 
getUrl() - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseLinkOutChip
 
getValue() - Method in class ai.api.model.EntityEntry
 
GoogleAssistantResponseMessages - Class in ai.api.model
 
GoogleAssistantResponseMessages(ResponseMessage.MessageType) - Constructor for class ai.api.model.GoogleAssistantResponseMessages
 
GoogleAssistantResponseMessages.CardImage - Class in ai.api.model
 
GoogleAssistantResponseMessages.CardItem - Class in ai.api.model
 
GoogleAssistantResponseMessages.OptionInfo - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseBasicCard - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseBasicCard.Button - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseBasicCard.OpenUrlAction - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseCarouselCard - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseChatBubble - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseChatBubble.Item - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseLinkOutChip - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseListCard - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseSuggestionChips - Class in ai.api.model
 
GoogleAssistantResponseMessages.ResponseSuggestionChips.Suggestion - Class in ai.api.model
 
GsonFactory - Class in ai.api
Gson object factory used in serialization
GsonFactory() - Constructor for class ai.api.GsonFactory
 

H

hasAdditionalHeaders() - Method in class ai.api.RequestExtras
 
hasContexts() - Method in class ai.api.RequestExtras
 
hasEntities() - Method in class ai.api.RequestExtras
 
HttpClient - Class in ai.api.http
 
HttpClient(HttpURLConnection) - Constructor for class ai.api.http.HttpClient
 

I

IOUtils - Class in ai.api.util
Small subset of IO helping functions
IOUtils() - Constructor for class ai.api.util.IOUtils
 
isActionIncomplete() - Method in class ai.api.model.Result
 
isEmpty(CharSequence) - Static method in class ai.api.util.StringUtils
Checks if a CharSequence is null or has no characters.
isEnum() - Method in class ai.api.model.Entity
 
isError() - Method in class ai.api.model.AIResponse
 
isWebhookUsed() - Method in class ai.api.model.Metadata
Indicates wheather webhook functionaly is enabled in the triggered intent.
isWriteSoundLog() - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.
Item() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 

L

Location - Class in ai.api.model
 
Location(double, double) - Constructor for class ai.api.model.Location
 

M

Metadata - Class in ai.api.model
 
Metadata() - Constructor for class ai.api.model.Metadata
 

O

OpenUrlAction() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.OpenUrlAction
 
OptionInfo() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.OptionInfo
 

P

ParametersConverter - Class in ai.api.util
Helper to extract possible response parameters values
parseDate(String) - Static method in class ai.api.util.ParametersConverter
 
parseDateTime(String) - Static method in class ai.api.util.ParametersConverter
 
parseFloat(String) - Static method in class ai.api.util.ParametersConverter
 
parseInteger(String) - Static method in class ai.api.util.ParametersConverter
 
parsePartialDate(String) - Static method in class ai.api.util.ParametersConverter
 
parseTime(String) - Static method in class ai.api.util.ParametersConverter
 
PartialDate - Class in ai.api.util
Class representing date with some unknown field values.
PartialDate() - Constructor for class ai.api.util.PartialDate
 
PartialDate(Calendar) - Constructor for class ai.api.util.PartialDate
 
PartialDate(Date) - Constructor for class ai.api.util.PartialDate
 
PROTOCOL_DATE_FORMAT - Static variable in class ai.api.util.ParametersConverter
 
PROTOCOL_DATE_TIME_FORMAT - Static variable in class ai.api.util.ParametersConverter
 
PROTOCOL_TIME_FORMAT - Static variable in class ai.api.util.ParametersConverter
 

Q

QUESTION_ENDPOINT - Static variable in class ai.api.AIConfiguration
 
QuestionMetadata - Class in ai.api.model
 
QuestionMetadata() - Constructor for class ai.api.model.QuestionMetadata
 

R

readAll(InputStream, Charset) - Static method in class ai.api.util.IOUtils
Read all stream byte data into String
readAll(InputStream, String) - Static method in class ai.api.util.IOUtils
Read all stream byte data into String
readAll(InputStream) - Static method in class ai.api.util.IOUtils
Read all stream byte data into String
readAll(InputStreamReader) - Static method in class ai.api.util.IOUtils
Read all chars into String
removeActiveContext(String) - Method in class ai.api.AIDataService
Deletes the specified context for a session
removeActiveContext(String, AIServiceContext) - Method in class ai.api.AIDataService
Deletes the specified context for a session
request(AIRequest) - Method in class ai.api.AIDataService
Make request to the AI service.
request(AIRequest, AIServiceContext) - Method in class ai.api.AIDataService
Make request to the AI service.
request(AIRequest, RequestExtras) - Method in class ai.api.AIDataService
Make request to the AI service.
request(AIRequest, RequestExtras, AIServiceContext) - Method in class ai.api.AIDataService
Make request to the AI service.
RequestExtras - Class in ai.api
Extra data for request
RequestExtras() - Constructor for class ai.api.RequestExtras
 
RequestExtras(List<AIContext>, List<Entity>) - Constructor for class ai.api.RequestExtras
 
resetActiveContexts() - Method in class ai.api.AIDataService
Deletes all active contexts for a session
resetActiveContexts(AIServiceContext) - Method in class ai.api.AIDataService
Deletes all active contexts for a session
resetContexts() - Method in class ai.api.AIDataService
Deprecated.
ResponseBasicCard() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
ResponseCard() - Constructor for class ai.api.model.ResponseMessage.ResponseCard
 
ResponseCarouselCard() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseCarouselCard
 
ResponseChatBubble() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble
 
ResponseImage() - Constructor for class ai.api.model.ResponseMessage.ResponseImage
 
ResponseLinkOutChip() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseLinkOutChip
 
ResponseListCard() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseListCard
 
ResponseMessage - Class in ai.api.model
Base model class for response message objects.
ResponseMessage(ResponseMessage.MessageType) - Constructor for class ai.api.model.ResponseMessage
Constructor initializing message type code
ResponseMessage(ResponseMessage.MessageType, ResponseMessage.Platform) - Constructor for class ai.api.model.ResponseMessage
Constructor initializing message type code and platform
ResponseMessage.MessageType - Enum in ai.api.model
Holds the message type integer code and related Type
ResponseMessage.Platform - Enum in ai.api.model
 
ResponseMessage.ResponseCard - Class in ai.api.model
ResponseMessage.ResponseCard.Button - Class in ai.api.model
Card button object
ResponseMessage.ResponseImage - Class in ai.api.model
Image message object
ResponseMessage.ResponsePayload - Class in ai.api.model
Custom payload message object that holds an object passed through without modification
ResponseMessage.ResponseQuickReply - Class in ai.api.model
Quick replies message object
ResponseMessage.ResponseSpeech - Class in ai.api.model
Text response message object
ResponsePayload() - Constructor for class ai.api.model.ResponseMessage.ResponsePayload
 
ResponseQuickReply() - Constructor for class ai.api.model.ResponseMessage.ResponseQuickReply
 
ResponseSpeech() - Constructor for class ai.api.model.ResponseMessage.ResponseSpeech
 
ResponseSuggestionChips() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseSuggestionChips
 
Result - Class in ai.api.model
 
Result() - Constructor for class ai.api.model.Result
 

S

set(int, Integer) - Method in class ai.api.util.PartialDate
 
setAction(String) - Method in class ai.api.model.Result
 
setActionIncomplete(boolean) - Method in class ai.api.model.Result
 
setAdditionalHeaders(Map<String, String>) - Method in class ai.api.RequestExtras
Additional headers to be passed to API.AI service.
setButtons(List<GoogleAssistantResponseMessages.ResponseBasicCard.Button>) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
setButtons(List<ResponseMessage.ResponseCard.Button>) - Method in class ai.api.model.ResponseMessage.ResponseCard
Set list of objects corresponding to card buttons.
setButtons(ResponseMessage.ResponseCard.Button...) - Method in class ai.api.model.ResponseMessage.ResponseCard
Set sequence of objects corresponding to card buttons.
setCode(Integer) - Method in class ai.api.model.Status
 
setConfidence(float[]) - Method in class ai.api.model.AIRequest
 
setContextOut(List<AIOutputContext>) - Method in class ai.api.model.Fulfillment
Set list of context objects set after intent completion.
setContextOut(AIOutputContext...) - Method in class ai.api.model.Fulfillment
Set sequence of context objects set after intent completion.
setContexts(List<AIContext>) - Method in class ai.api.model.AIRequest
 
setContexts(List<AIContext>) - Method in class ai.api.RequestExtras
 
setCustomizeAudio(Boolean) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble
 
setData(Map<String, String>) - Method in class ai.api.model.AIEvent
 
setData(Map<String, ? extends Object>) - Method in class ai.api.model.AIOriginalRequest
Set map of additional data values
setData(Map<String, JsonElement>) - Method in class ai.api.model.Fulfillment
Set additional data required for performing the action on the client side.
setDescription(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
setDestinationName(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseLinkOutChip
 
setDisplayText(String) - Method in class ai.api.model.Fulfillment
Set text displayed on the user device screen.
setDisplayText(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 
setEntities(List<Entity>) - Method in class ai.api.model.QuestionMetadata
 
setEntities(List<Entity>) - Method in class ai.api.RequestExtras
 
setEntries(List<EntityEntry>) - Method in class ai.api.model.Entity
 
setErrorDetails(String) - Method in class ai.api.model.Status
 
setErrorID(String) - Method in class ai.api.model.Status
 
setErrorType(String) - Method in class ai.api.model.Status
 
setEvent(AIEvent) - Method in class ai.api.model.AIRequest
 
setExtend(boolean) - Method in class ai.api.model.Entity
 
setFollowupEvent(AIEvent) - Method in class ai.api.model.Fulfillment
Set follow up event to be triggered
setFormattedText(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
setFulfillment(Fulfillment) - Method in class ai.api.model.Result
 
setId(String) - Method in class ai.api.model.AIResponse
 
setImage(GoogleAssistantResponseMessages.CardImage) - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
setImage(GoogleAssistantResponseMessages.CardImage) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
setImageUrl(String) - Method in class ai.api.model.ResponseMessage.ResponseCard
Set image url
setImageUrl(String) - Method in class ai.api.model.ResponseMessage.ResponseImage
Set image url
setIntentId(String) - Method in class ai.api.model.Metadata
 
setIntentName(String) - Method in class ai.api.model.Metadata
 
setIsEnum(Boolean) - Method in class ai.api.model.Entity
 
setItems(List<GoogleAssistantResponseMessages.CardItem>) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseCarouselCard
 
setItems(List<GoogleAssistantResponseMessages.ResponseChatBubble.Item>) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble
 
setItems(List<GoogleAssistantResponseMessages.CardItem>) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseListCard
 
setKey(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.OptionInfo
 
setLang(String) - Method in class ai.api.model.AIResponse
 
setLanguage(String) - Method in class ai.api.model.QuestionMetadata
 
setLifespan(Integer) - Method in class ai.api.model.AIContext
Lifespan of the context measured in requests
setLifespan(Integer) - Method in class ai.api.model.AIOutputContext
Lifespan of the context measured in requests
setLocation(Location) - Method in class ai.api.model.QuestionMetadata
 
setLocation(Location) - Method in class ai.api.RequestExtras
 
setMessages(List<ResponseMessage>) - Method in class ai.api.model.Fulfillment
Set list of ResponseMessage objects
setMessages(ResponseMessage...) - Method in class ai.api.model.Fulfillment
Set sequence of ResponseMessage objects
setMetadata(Metadata) - Method in class ai.api.model.Result
 
setName(String) - Method in class ai.api.model.AIContext
 
setName(String) - Method in class ai.api.model.AIEvent
 
setName(String) - Method in class ai.api.model.AIOutputContext
 
setName(String) - Method in class ai.api.model.Entity
 
setOpenUrlAction(GoogleAssistantResponseMessages.ResponseBasicCard.OpenUrlAction) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.Button
 
setOptionInfo(GoogleAssistantResponseMessages.OptionInfo) - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
setOriginalRequest(AIOriginalRequest) - Method in class ai.api.model.AIRequest
Set full request coming from the integrated platform (Facebook Messenger, Slack, etc.)
setParameters(Map<String, String>) - Method in class ai.api.model.AIContext
 
setParameters(Map<String, JsonElement>) - Method in class ai.api.model.AIOutputContext
 
setPayload(JsonObject) - Method in class ai.api.model.ResponseMessage.ResponsePayload
Set custom defined JSON.
setPostback(String) - Method in class ai.api.model.ResponseMessage.ResponseCard.Button
Set a text sent back to API.AI or a URL to open.
setProtocolVersion(String) - Method in class ai.api.AIConfiguration
Set protocol version for API queries.
setProxy(Proxy) - Method in class ai.api.AIConfiguration
Set connection proxy information.
setQuery(String) - Method in class ai.api.model.AIRequest
 
setQuery(String[], float[]) - Method in class ai.api.model.AIRequest
 
setReplies(List<String>) - Method in class ai.api.model.ResponseMessage.ResponseQuickReply
Set list of text replies
setReplies(String...) - Method in class ai.api.model.ResponseMessage.ResponseQuickReply
Set sequence of text replies
setResetContexts(Boolean) - Method in class ai.api.model.AIRequest
 
setResetContexts(boolean) - Method in class ai.api.RequestExtras
 
setResolvedQuery(String) - Method in class ai.api.model.Result
 
setResult(Result) - Method in class ai.api.model.AIResponse
 
setScore(float) - Method in class ai.api.model.Result
 
setServiceUrl(String) - Method in class ai.api.AIConfiguration
Set API service url.
setSessionId(String) - Method in class ai.api.AIServiceContextBuilder
Replace current session id with given value
setSessionId(TimeZone) - Method in class ai.api.AIServiceContextBuilder
Deprecated.
setSessionId(String) - Method in class ai.api.model.AIResponse
 
setSessionId(String) - Method in class ai.api.model.QuestionMetadata
 
setSource(String) - Method in class ai.api.model.AIOriginalRequest
Set the request source name (Facebook Messenger, Slack, etc.)
setSource(String) - Method in class ai.api.model.Fulfillment
Set a data source
setSource(String) - Method in class ai.api.model.Result
 
setSpeech(String) - Method in class ai.api.model.Fulfillment
Set voice response to the request
setSpeech(List<String>) - Method in class ai.api.model.ResponseMessage.ResponseSpeech
Set agent's text replies.
setSpeech(String...) - Method in class ai.api.model.ResponseMessage.ResponseSpeech
Set agent's text replies.
setSsml(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 
setStatus(Status) - Method in class ai.api.model.AIResponse
 
setSubtitle(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
setSubtitle(String) - Method in class ai.api.model.ResponseMessage.ResponseCard
Set card subtitle.
setSuggestions(List<GoogleAssistantResponseMessages.ResponseSuggestionChips.Suggestion>) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseSuggestionChips
 
setSynonyms(List<String>) - Method in class ai.api.model.EntityEntry
 
setSynonyms(List<String>) - Method in class ai.api.model.GoogleAssistantResponseMessages.OptionInfo
 
setText(String) - Method in class ai.api.model.ResponseMessage.ResponseCard.Button
Set button text
setTextToSpeech(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseChatBubble.Item
 
setTimestamp(Date) - Method in class ai.api.model.AIResponse
 
setTimeZone(TimeZone) - Method in class ai.api.AIServiceContextBuilder
Replace current time zone with given value
setTimezone(String) - Method in class ai.api.model.QuestionMetadata
 
setTitle(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.CardItem
 
setTitle(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.Button
 
setTitle(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard
 
setTitle(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseListCard
 
setTitle(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseSuggestionChips.Suggestion
 
setTitle(String) - Method in class ai.api.model.ResponseMessage.ResponseCard
Set card title.
setTitle(String) - Method in class ai.api.model.ResponseMessage.ResponseQuickReply
Set quick replies title.
setUrl(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.CardImage
 
setUrl(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseBasicCard.OpenUrlAction
 
setUrl(String) - Method in class ai.api.model.GoogleAssistantResponseMessages.ResponseLinkOutChip
 
setValue(String) - Method in class ai.api.model.EntityEntry
 
setWebhookUsed(boolean) - Method in class ai.api.model.Metadata
 
setWriteSoundLog(boolean) - Method in class ai.api.AIConfiguration
This flag is for testing purposes ONLY.
setWriteSoundLog(boolean) - Method in class ai.api.http.HttpClient
 
speech - Variable in class ai.api.model.ResponseMessage.ResponseSpeech
 
Status - Class in ai.api.model
 
Status() - Constructor for class ai.api.model.Status
 
StringUtils - Class in ai.api.util
A small set of string utils functions
StringUtils() - Constructor for class ai.api.util.StringUtils
 
Suggestion() - Constructor for class ai.api.model.GoogleAssistantResponseMessages.ResponseSuggestionChips.Suggestion
 

T

toString() - Method in class ai.api.model.AIError
 
toString() - Method in class ai.api.model.AIRequest
 
toString() - Method in class ai.api.model.AIResponse
 
toString() - Method in class ai.api.model.QuestionMetadata
 
toString() - Method in class ai.api.model.Result
 
toString() - Method in class ai.api.model.Status
 
toString() - Method in class ai.api.util.PartialDate
 

U

UNSPECIFIED_VALUE - Static variable in class ai.api.util.PartialDate
 
uploadUserEntities(Collection<Entity>) - Method in class ai.api.AIDataService
Add a bunch of new entity to an agent entity list
uploadUserEntities(Collection<Entity>, AIServiceContext) - Method in class ai.api.AIDataService
Add a bunch of new entity to an agent entity list
uploadUserEntity(Entity) - Method in class ai.api.AIDataService
Add new entity to an agent entity list
uploadUserEntity(Entity, AIServiceContext) - Method in class ai.api.AIDataService
Add new entity to an agent entity list
USER_ENTITIES_ENDPOINT - Static variable in class ai.api.AIConfiguration
 

V

valueOf(String) - Static method in enum ai.api.AIConfiguration.SupportedLanguages
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.api.model.ResponseMessage.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.api.model.ResponseMessage.Platform
Returns the enum constant of this type with the specified name.
values() - Static method in enum ai.api.AIConfiguration.SupportedLanguages
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.api.model.ResponseMessage.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.api.model.ResponseMessage.Platform
Returns an array containing the constants of this enum type, in the order they are declared.
voiceRequest(InputStream) - Method in class ai.api.AIDataService
Make requests to the AI service with voice data.
voiceRequest(InputStream, List<AIContext>) - Method in class ai.api.AIDataService
Make requests to the AI service with voice data.
voiceRequest(InputStream, RequestExtras) - Method in class ai.api.AIDataService
Make requests to the AI service with voice data.
voiceRequest(InputStream, RequestExtras, AIServiceContext) - Method in class ai.api.AIDataService
Make requests to the AI service with voice data.

W

writeAll(String, OutputStream, Charset) - Static method in class ai.api.util.IOUtils
Write string to byte stream
writeAll(String, OutputStream, String) - Static method in class ai.api.util.IOUtils
Write string to byte stream
writeAll(String, OutputStream) - Static method in class ai.api.util.IOUtils
Write string to byte stream
A B C D E F G H I L M O P Q R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.