Package com.google.cloud.dialogflow.v2
Interface QueryParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryParameters,QueryParameters.Builder
@Generated
public interface QueryParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThis field can be used to pass HTTP headers for a webhook call.getContexts(int index) The collection of contexts to be activated before this query is executed.intThe collection of contexts to be activated before this query is executed.The collection of contexts to be activated before this query is executed.getContextsOrBuilder(int index) The collection of contexts to be activated before this query is executed.List<? extends ContextOrBuilder>The collection of contexts to be activated before this query is executed.The geo location of this conversational query.The geo location of this conversational query.com.google.protobuf.StructThis field can be used to pass custom data to your webhook.com.google.protobuf.StructOrBuilderThis field can be used to pass custom data to your webhook.The platform of the virtual agent response messages.com.google.protobuf.ByteStringThe platform of the virtual agent response messages.booleanSpecifies whether to delete all contexts in the current session before the new ones are activated.Configures the type of sentiment analysis to perform.Configures the type of sentiment analysis to perform.getSessionEntityTypes(int index) Additional session entity types to replace or extend developer entity types with.intAdditional session entity types to replace or extend developer entity types with.Additional session entity types to replace or extend developer entity types with.getSessionEntityTypesOrBuilder(int index) Additional session entity types to replace or extend developer entity types with.List<? extends SessionEntityTypeOrBuilder>Additional session entity types to replace or extend developer entity types with.The time zone of this conversational query from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.com.google.protobuf.ByteStringThe time zone of this conversational query from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.Deprecated.intThis field can be used to pass HTTP headers for a webhook call.This field can be used to pass HTTP headers for a webhook call.getWebhookHeadersOrDefault(String key, String defaultValue) This field can be used to pass HTTP headers for a webhook call.This field can be used to pass HTTP headers for a webhook call.booleanThe geo location of this conversational query.booleanThis field can be used to pass custom data to your webhook.booleanConfigures the type of sentiment analysis to perform.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTimeZone
String getTimeZone()The time zone of this conversational query from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.
string time_zone = 1;- Returns:
- The timeZone.
-
getTimeZoneBytes
com.google.protobuf.ByteString getTimeZoneBytes()The time zone of this conversational query from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.
string time_zone = 1;- Returns:
- The bytes for timeZone.
-
hasGeoLocation
boolean hasGeoLocation()The geo location of this conversational query.
.google.type.LatLng geo_location = 2;- Returns:
- Whether the geoLocation field is set.
-
getGeoLocation
LatLng getGeoLocation()The geo location of this conversational query.
.google.type.LatLng geo_location = 2;- Returns:
- The geoLocation.
-
getGeoLocationOrBuilder
LatLngOrBuilder getGeoLocationOrBuilder()The geo location of this conversational query.
.google.type.LatLng geo_location = 2; -
getContextsList
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getContextsCount
int getContextsCount()The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getContextsOrBuilderList
List<? extends ContextOrBuilder> getContextsOrBuilderList()The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getContextsOrBuilder
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getResetContexts
boolean getResetContexts()Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;- Returns:
- The resetContexts.
-
getSessionEntityTypesList
List<SessionEntityType> getSessionEntityTypesList()Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 5; -
getSessionEntityTypes
Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 5; -
getSessionEntityTypesCount
int getSessionEntityTypesCount()Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 5; -
getSessionEntityTypesOrBuilderList
List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 5; -
getSessionEntityTypesOrBuilder
Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 5; -
hasPayload
boolean hasPayload()This field can be used to pass custom data to your webhook. Arbitrary JSON objects are supported. If supplied, the value is used to populate the `WebhookRequest.original_detect_intent_request.payload` field sent to your webhook.
.google.protobuf.Struct payload = 6;- Returns:
- Whether the payload field is set.
-
getPayload
com.google.protobuf.Struct getPayload()This field can be used to pass custom data to your webhook. Arbitrary JSON objects are supported. If supplied, the value is used to populate the `WebhookRequest.original_detect_intent_request.payload` field sent to your webhook.
.google.protobuf.Struct payload = 6;- Returns:
- The payload.
-
getPayloadOrBuilder
com.google.protobuf.StructOrBuilder getPayloadOrBuilder()This field can be used to pass custom data to your webhook. Arbitrary JSON objects are supported. If supplied, the value is used to populate the `WebhookRequest.original_detect_intent_request.payload` field sent to your webhook.
.google.protobuf.Struct payload = 6; -
hasSentimentAnalysisRequestConfig
boolean hasSentimentAnalysisRequestConfig()Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;- Returns:
- Whether the sentimentAnalysisRequestConfig field is set.
-
getSentimentAnalysisRequestConfig
SentimentAnalysisRequestConfig getSentimentAnalysisRequestConfig()Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;- Returns:
- The sentimentAnalysisRequestConfig.
-
getSentimentAnalysisRequestConfigOrBuilder
SentimentAnalysisRequestConfigOrBuilder getSentimentAnalysisRequestConfigOrBuilder()Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10; -
getWebhookHeadersCount
int getWebhookHeadersCount()This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
map<string, string> webhook_headers = 14; -
containsWebhookHeaders
This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
map<string, string> webhook_headers = 14; -
getWebhookHeaders
Deprecated.UsegetWebhookHeadersMap()instead. -
getWebhookHeadersMap
This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
map<string, string> webhook_headers = 14; -
getWebhookHeadersOrDefault
This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
map<string, string> webhook_headers = 14; -
getWebhookHeadersOrThrow
This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
map<string, string> webhook_headers = 14; -
getPlatform
String getPlatform()The platform of the virtual agent response messages. If not empty, only emits messages from this platform in the response. Valid values are the enum names of [platform][google.cloud.dialogflow.v2.Intent.Message.platform].
string platform = 18;- Returns:
- The platform.
-
getPlatformBytes
com.google.protobuf.ByteString getPlatformBytes()The platform of the virtual agent response messages. If not empty, only emits messages from this platform in the response. Valid values are the enum names of [platform][google.cloud.dialogflow.v2.Intent.Message.platform].
string platform = 18;- Returns:
- The bytes for platform.
-