Package com.google.cloud.dialogflow.v2
Class QueryParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
com.google.cloud.dialogflow.v2.QueryParameters.Builder
- All Implemented Interfaces:
QueryParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueryParameters
public static final class QueryParameters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
implements QueryParametersOrBuilder
Represents the parameters of the conversational query.Protobuf type
google.cloud.dialogflow.v2.QueryParameters-
Method Summary
Modifier and TypeMethodDescriptionaddAllContexts(Iterable<? extends Context> values) The collection of contexts to be activated before this query is executed.addAllSessionEntityTypes(Iterable<? extends SessionEntityType> values) Additional session entity types to replace or extend developer entity types with.addContexts(int index, Context value) The collection of contexts to be activated before this query is executed.addContexts(int index, Context.Builder builderForValue) The collection of contexts to be activated before this query is executed.addContexts(Context value) The collection of contexts to be activated before this query is executed.addContexts(Context.Builder builderForValue) The collection of contexts to be activated before this query is executed.The collection of contexts to be activated before this query is executed.addContextsBuilder(int index) The collection of contexts to be activated before this query is executed.addSessionEntityTypes(int index, SessionEntityType value) Additional session entity types to replace or extend developer entity types with.addSessionEntityTypes(int index, SessionEntityType.Builder builderForValue) Additional session entity types to replace or extend developer entity types with.Additional session entity types to replace or extend developer entity types with.addSessionEntityTypes(SessionEntityType.Builder builderForValue) Additional session entity types to replace or extend developer entity types with.Additional session entity types to replace or extend developer entity types with.addSessionEntityTypesBuilder(int index) Additional session entity types to replace or extend developer entity types with.build()clear()The collection of contexts to be activated before this query is executed.The geo location of this conversational query.This field can be used to pass custom data to your webhook.The platform of the virtual agent response messages.Specifies whether to delete all contexts in the current session before the new ones are activated.Configures the type of sentiment analysis to perform.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.booleanThis 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.getContextsBuilder(int index) The collection of contexts to be activated before this query is executed.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe geo location of this conversational query.The geo location of this conversational query.The geo location of this conversational query.Deprecated.com.google.protobuf.StructThis field can be used to pass custom data to your webhook.com.google.protobuf.Struct.BuilderThis 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.Configures the type of sentiment analysis to perform.getSessionEntityTypes(int index) Additional session entity types to replace or extend developer entity types with.getSessionEntityTypesBuilder(int index) Additional session entity types to replace or extend developer entity types with.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(QueryParameters other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGeoLocation(LatLng value) The geo location of this conversational query.mergePayload(com.google.protobuf.Struct value) This field can be used to pass custom data to your webhook.Configures the type of sentiment analysis to perform.putAllWebhookHeaders(Map<String, String> values) This field can be used to pass HTTP headers for a webhook call.putWebhookHeaders(String key, String value) This field can be used to pass HTTP headers for a webhook call.removeContexts(int index) The collection of contexts to be activated before this query is executed.removeSessionEntityTypes(int index) Additional session entity types to replace or extend developer entity types with.This field can be used to pass HTTP headers for a webhook call.setContexts(int index, Context value) The collection of contexts to be activated before this query is executed.setContexts(int index, Context.Builder builderForValue) The collection of contexts to be activated before this query is executed.setGeoLocation(LatLng value) The geo location of this conversational query.setGeoLocation(LatLng.Builder builderForValue) The geo location of this conversational query.setPayload(com.google.protobuf.Struct value) This field can be used to pass custom data to your webhook.setPayload(com.google.protobuf.Struct.Builder builderForValue) This field can be used to pass custom data to your webhook.setPlatform(String value) The platform of the virtual agent response messages.setPlatformBytes(com.google.protobuf.ByteString value) The platform of the virtual agent response messages.setResetContexts(boolean value) Specifies whether to delete all contexts in the current session before the new ones are activated.Configures the type of sentiment analysis to perform.setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig.Builder builderForValue) Configures the type of sentiment analysis to perform.setSessionEntityTypes(int index, SessionEntityType value) Additional session entity types to replace or extend developer entity types with.setSessionEntityTypes(int index, SessionEntityType.Builder builderForValue) Additional session entity types to replace or extend developer entity types with.setTimeZone(String value) 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.setTimeZoneBytes(com.google.protobuf.ByteString value) 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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryParameters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QueryParameters.Builder>
-
mergeFrom
public QueryParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryParameters.Builder>- Throws:
IOException
-
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;- Specified by:
getTimeZonein interfaceQueryParametersOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public 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;- Specified by:
getTimeZoneBytesin interfaceQueryParametersOrBuilder- Returns:
- The bytes for timeZone.
-
setTimeZone
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;- Parameters:
value- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
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:
- This builder for chaining.
-
setTimeZoneBytes
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;- Parameters:
value- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
hasGeoLocation
public boolean hasGeoLocation()The geo location of this conversational query.
.google.type.LatLng geo_location = 2;- Specified by:
hasGeoLocationin interfaceQueryParametersOrBuilder- Returns:
- Whether the geoLocation field is set.
-
getGeoLocation
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;- Specified by:
getGeoLocationin interfaceQueryParametersOrBuilder- Returns:
- The geoLocation.
-
setGeoLocation
The geo location of this conversational query.
.google.type.LatLng geo_location = 2; -
setGeoLocation
The geo location of this conversational query.
.google.type.LatLng geo_location = 2; -
mergeGeoLocation
The geo location of this conversational query.
.google.type.LatLng geo_location = 2; -
clearGeoLocation
The geo location of this conversational query.
.google.type.LatLng geo_location = 2; -
getGeoLocationBuilder
The geo location of this conversational query.
.google.type.LatLng geo_location = 2; -
getGeoLocationOrBuilder
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;- Specified by:
getGeoLocationOrBuilderin interfaceQueryParametersOrBuilder
-
getContextsList
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3;- Specified by:
getContextsListin interfaceQueryParametersOrBuilder
-
getContextsCount
public int getContextsCount()The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3;- Specified by:
getContextsCountin interfaceQueryParametersOrBuilder
-
getContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3;- Specified by:
getContextsin interfaceQueryParametersOrBuilder
-
setContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
setContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
addContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
addContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
addContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
addContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
addAllContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
clearContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
removeContexts
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getContextsBuilder
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;- Specified by:
getContextsOrBuilderin interfaceQueryParametersOrBuilder
-
getContextsOrBuilderList
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3;- Specified by:
getContextsOrBuilderListin interfaceQueryParametersOrBuilder
-
addContextsBuilder
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
addContextsBuilder
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getContextsBuilderList
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2.Context contexts = 3; -
getResetContexts
public boolean getResetContexts()Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;- Specified by:
getResetContextsin interfaceQueryParametersOrBuilder- Returns:
- The resetContexts.
-
setResetContexts
Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;- Parameters:
value- The resetContexts to set.- Returns:
- This builder for chaining.
-
clearResetContexts
Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;- Returns:
- This builder for chaining.
-
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;- Specified by:
getSessionEntityTypesListin interfaceQueryParametersOrBuilder
-
getSessionEntityTypesCount
public 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;- Specified by:
getSessionEntityTypesCountin interfaceQueryParametersOrBuilder
-
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;- Specified by:
getSessionEntityTypesin interfaceQueryParametersOrBuilder
-
setSessionEntityTypes
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; -
setSessionEntityTypes
public QueryParameters.Builder setSessionEntityTypes(int index, SessionEntityType.Builder builderForValue) 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; -
addSessionEntityTypes
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; -
addSessionEntityTypes
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; -
addSessionEntityTypes
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; -
addSessionEntityTypes
public QueryParameters.Builder addSessionEntityTypes(int index, SessionEntityType.Builder builderForValue) 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; -
addAllSessionEntityTypes
public QueryParameters.Builder addAllSessionEntityTypes(Iterable<? extends SessionEntityType> values) 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; -
clearSessionEntityTypes
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; -
removeSessionEntityTypes
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; -
getSessionEntityTypesBuilder
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;- Specified by:
getSessionEntityTypesOrBuilderin interfaceQueryParametersOrBuilder
-
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;- Specified by:
getSessionEntityTypesOrBuilderListin interfaceQueryParametersOrBuilder
-
addSessionEntityTypesBuilder
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; -
addSessionEntityTypesBuilder
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; -
getSessionEntityTypesBuilderList
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
public 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;- Specified by:
hasPayloadin interfaceQueryParametersOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public 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;- Specified by:
getPayloadin interfaceQueryParametersOrBuilder- Returns:
- The payload.
-
setPayload
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; -
setPayload
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; -
mergePayload
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; -
clearPayload
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; -
getPayloadBuilder
public com.google.protobuf.Struct.Builder getPayloadBuilder()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; -
getPayloadOrBuilder
public 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;- Specified by:
getPayloadOrBuilderin interfaceQueryParametersOrBuilder
-
hasSentimentAnalysisRequestConfig
public 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;- Specified by:
hasSentimentAnalysisRequestConfigin interfaceQueryParametersOrBuilder- Returns:
- Whether the sentimentAnalysisRequestConfig field is set.
-
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;- Specified by:
getSentimentAnalysisRequestConfigin interfaceQueryParametersOrBuilder- Returns:
- The sentimentAnalysisRequestConfig.
-
setSentimentAnalysisRequestConfig
public QueryParameters.Builder setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig value) 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; -
setSentimentAnalysisRequestConfig
public QueryParameters.Builder setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig.Builder builderForValue) 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; -
mergeSentimentAnalysisRequestConfig
public QueryParameters.Builder mergeSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig value) 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; -
clearSentimentAnalysisRequestConfig
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; -
getSentimentAnalysisRequestConfigBuilder
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; -
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;- Specified by:
getSentimentAnalysisRequestConfigOrBuilderin interfaceQueryParametersOrBuilder
-
getWebhookHeadersCount
public int getWebhookHeadersCount()Description copied from interface:QueryParametersOrBuilderThis 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;- Specified by:
getWebhookHeadersCountin interfaceQueryParametersOrBuilder
-
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;- Specified by:
containsWebhookHeadersin interfaceQueryParametersOrBuilder
-
getWebhookHeaders
Deprecated.UsegetWebhookHeadersMap()instead.- Specified by:
getWebhookHeadersin interfaceQueryParametersOrBuilder
-
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;- Specified by:
getWebhookHeadersMapin interfaceQueryParametersOrBuilder
-
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;- Specified by:
getWebhookHeadersOrDefaultin interfaceQueryParametersOrBuilder
-
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;- Specified by:
getWebhookHeadersOrThrowin interfaceQueryParametersOrBuilder
-
clearWebhookHeaders
-
removeWebhookHeaders
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; -
getMutableWebhookHeaders
Deprecated.Use alternate mutation accessors instead. -
putWebhookHeaders
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; -
putAllWebhookHeaders
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
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;- Specified by:
getPlatformin interfaceQueryParametersOrBuilder- Returns:
- The platform.
-
getPlatformBytes
public 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;- Specified by:
getPlatformBytesin interfaceQueryParametersOrBuilder- Returns:
- The bytes for platform.
-
setPlatform
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;- Parameters:
value- The platform to set.- Returns:
- This builder for chaining.
-
clearPlatform
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:
- This builder for chaining.
-
setPlatformBytes
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;- Parameters:
value- The bytes for platform to set.- Returns:
- This builder for chaining.
-