public static final class QueryParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder> implements QueryParametersOrBuilder
Represents the parameters of the conversational query.Protobuf type
google.cloud.dialogflow.v2beta1.QueryParameters| Modifier and Type | Method and Description |
|---|---|
QueryParameters.Builder |
addAllContexts(Iterable<? extends Context> values)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
addAllKnowledgeBaseNames(Iterable<String> values)
KnowledgeBases to get alternative results from.
|
QueryParameters.Builder |
addAllSessionEntityTypes(Iterable<? extends SessionEntityType> values)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
addAllSubAgents(Iterable<? extends SubAgent> values)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
addContexts(Context.Builder builderForValue)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
addContexts(Context value)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
addContexts(int index,
Context.Builder builderForValue)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
addContexts(int index,
Context value)
The collection of contexts to be activated before this query is
executed.
|
Context.Builder |
addContextsBuilder()
The collection of contexts to be activated before this query is
executed.
|
Context.Builder |
addContextsBuilder(int index)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
addKnowledgeBaseNames(String value)
KnowledgeBases to get alternative results from.
|
QueryParameters.Builder |
addKnowledgeBaseNamesBytes(com.google.protobuf.ByteString value)
KnowledgeBases to get alternative results from.
|
QueryParameters.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryParameters.Builder |
addSessionEntityTypes(int index,
SessionEntityType.Builder builderForValue)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
addSessionEntityTypes(int index,
SessionEntityType value)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
addSessionEntityTypes(SessionEntityType.Builder builderForValue)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
addSessionEntityTypes(SessionEntityType value)
Additional session entity types to replace or extend developer
entity types with.
|
SessionEntityType.Builder |
addSessionEntityTypesBuilder()
Additional session entity types to replace or extend developer
entity types with.
|
SessionEntityType.Builder |
addSessionEntityTypesBuilder(int index)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
addSubAgents(int index,
SubAgent.Builder builderForValue)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
addSubAgents(int index,
SubAgent value)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
addSubAgents(SubAgent.Builder builderForValue)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
addSubAgents(SubAgent value)
For mega agent query, directly specify which sub agents to query.
|
SubAgent.Builder |
addSubAgentsBuilder()
For mega agent query, directly specify which sub agents to query.
|
SubAgent.Builder |
addSubAgentsBuilder(int index)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters |
build() |
QueryParameters |
buildPartial() |
QueryParameters.Builder |
clear() |
QueryParameters.Builder |
clearContexts()
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QueryParameters.Builder |
clearGeoLocation()
The geo location of this conversational query.
|
QueryParameters.Builder |
clearKnowledgeBaseNames()
KnowledgeBases to get alternative results from.
|
QueryParameters.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QueryParameters.Builder |
clearPayload()
This field can be used to pass custom data to your webhook.
|
QueryParameters.Builder |
clearResetContexts()
Specifies whether to delete all contexts in the current session
before the new ones are activated.
|
QueryParameters.Builder |
clearSentimentAnalysisRequestConfig()
Configures the type of sentiment analysis to perform.
|
QueryParameters.Builder |
clearSessionEntityTypes()
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
clearSubAgents()
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
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.
|
QueryParameters.Builder |
clearWebhookHeaders() |
QueryParameters.Builder |
clone() |
boolean |
containsWebhookHeaders(String key)
This field can be used to pass HTTP headers for a webhook
call.
|
Context |
getContexts(int index)
The collection of contexts to be activated before this query is
executed.
|
Context.Builder |
getContextsBuilder(int index)
The collection of contexts to be activated before this query is
executed.
|
List<Context.Builder> |
getContextsBuilderList()
The collection of contexts to be activated before this query is
executed.
|
int |
getContextsCount()
The collection of contexts to be activated before this query is
executed.
|
List<Context> |
getContextsList()
The collection of contexts to be activated before this query is
executed.
|
ContextOrBuilder |
getContextsOrBuilder(int index)
The collection of contexts to be activated before this query is
executed.
|
List<? extends ContextOrBuilder> |
getContextsOrBuilderList()
The collection of contexts to be activated before this query is
executed.
|
QueryParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.type.LatLng |
getGeoLocation()
The geo location of this conversational query.
|
com.google.type.LatLng.Builder |
getGeoLocationBuilder()
The geo location of this conversational query.
|
com.google.type.LatLngOrBuilder |
getGeoLocationOrBuilder()
The geo location of this conversational query.
|
String |
getKnowledgeBaseNames(int index)
KnowledgeBases to get alternative results from.
|
com.google.protobuf.ByteString |
getKnowledgeBaseNamesBytes(int index)
KnowledgeBases to get alternative results from.
|
int |
getKnowledgeBaseNamesCount()
KnowledgeBases to get alternative results from.
|
com.google.protobuf.ProtocolStringList |
getKnowledgeBaseNamesList()
KnowledgeBases to get alternative results from.
|
Map<String,String> |
getMutableWebhookHeaders()
Deprecated.
|
com.google.protobuf.Struct |
getPayload()
This field can be used to pass custom data to your webhook.
|
com.google.protobuf.Struct.Builder |
getPayloadBuilder()
This field can be used to pass custom data to your webhook.
|
com.google.protobuf.StructOrBuilder |
getPayloadOrBuilder()
This field can be used to pass custom data to your webhook.
|
boolean |
getResetContexts()
Specifies whether to delete all contexts in the current session
before the new ones are activated.
|
SentimentAnalysisRequestConfig |
getSentimentAnalysisRequestConfig()
Configures the type of sentiment analysis to perform.
|
SentimentAnalysisRequestConfig.Builder |
getSentimentAnalysisRequestConfigBuilder()
Configures the type of sentiment analysis to perform.
|
SentimentAnalysisRequestConfigOrBuilder |
getSentimentAnalysisRequestConfigOrBuilder()
Configures the type of sentiment analysis to perform.
|
SessionEntityType |
getSessionEntityTypes(int index)
Additional session entity types to replace or extend developer
entity types with.
|
SessionEntityType.Builder |
getSessionEntityTypesBuilder(int index)
Additional session entity types to replace or extend developer
entity types with.
|
List<SessionEntityType.Builder> |
getSessionEntityTypesBuilderList()
Additional session entity types to replace or extend developer
entity types with.
|
int |
getSessionEntityTypesCount()
Additional session entity types to replace or extend developer
entity types with.
|
List<SessionEntityType> |
getSessionEntityTypesList()
Additional session entity types to replace or extend developer
entity types with.
|
SessionEntityTypeOrBuilder |
getSessionEntityTypesOrBuilder(int index)
Additional session entity types to replace or extend developer
entity types with.
|
List<? extends SessionEntityTypeOrBuilder> |
getSessionEntityTypesOrBuilderList()
Additional session entity types to replace or extend developer
entity types with.
|
SubAgent |
getSubAgents(int index)
For mega agent query, directly specify which sub agents to query.
|
SubAgent.Builder |
getSubAgentsBuilder(int index)
For mega agent query, directly specify which sub agents to query.
|
List<SubAgent.Builder> |
getSubAgentsBuilderList()
For mega agent query, directly specify which sub agents to query.
|
int |
getSubAgentsCount()
For mega agent query, directly specify which sub agents to query.
|
List<SubAgent> |
getSubAgentsList()
For mega agent query, directly specify which sub agents to query.
|
SubAgentOrBuilder |
getSubAgentsOrBuilder(int index)
For mega agent query, directly specify which sub agents to query.
|
List<? extends SubAgentOrBuilder> |
getSubAgentsOrBuilderList()
For mega agent query, directly specify which sub agents to query.
|
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.
|
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.
|
Map<String,String> |
getWebhookHeaders()
Deprecated.
|
int |
getWebhookHeadersCount()
This field can be used to pass HTTP headers for a webhook
call.
|
Map<String,String> |
getWebhookHeadersMap()
This field can be used to pass HTTP headers for a webhook
call.
|
String |
getWebhookHeadersOrDefault(String key,
String defaultValue)
This field can be used to pass HTTP headers for a webhook
call.
|
String |
getWebhookHeadersOrThrow(String key)
This field can be used to pass HTTP headers for a webhook
call.
|
boolean |
hasGeoLocation()
The geo location of this conversational query.
|
boolean |
hasPayload()
This field can be used to pass custom data to your webhook.
|
boolean |
hasSentimentAnalysisRequestConfig()
Configures the type of sentiment analysis to perform.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
QueryParameters.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QueryParameters.Builder |
mergeFrom(com.google.protobuf.Message other) |
QueryParameters.Builder |
mergeFrom(QueryParameters other) |
QueryParameters.Builder |
mergeGeoLocation(com.google.type.LatLng value)
The geo location of this conversational query.
|
QueryParameters.Builder |
mergePayload(com.google.protobuf.Struct value)
This field can be used to pass custom data to your webhook.
|
QueryParameters.Builder |
mergeSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig value)
Configures the type of sentiment analysis to perform.
|
QueryParameters.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QueryParameters.Builder |
putAllWebhookHeaders(Map<String,String> values)
This field can be used to pass HTTP headers for a webhook
call.
|
QueryParameters.Builder |
putWebhookHeaders(String key,
String value)
This field can be used to pass HTTP headers for a webhook
call.
|
QueryParameters.Builder |
removeContexts(int index)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
removeSessionEntityTypes(int index)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
removeSubAgents(int index)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
removeWebhookHeaders(String key)
This field can be used to pass HTTP headers for a webhook
call.
|
QueryParameters.Builder |
setContexts(int index,
Context.Builder builderForValue)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
setContexts(int index,
Context value)
The collection of contexts to be activated before this query is
executed.
|
QueryParameters.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryParameters.Builder |
setGeoLocation(com.google.type.LatLng.Builder builderForValue)
The geo location of this conversational query.
|
QueryParameters.Builder |
setGeoLocation(com.google.type.LatLng value)
The geo location of this conversational query.
|
QueryParameters.Builder |
setKnowledgeBaseNames(int index,
String value)
KnowledgeBases to get alternative results from.
|
QueryParameters.Builder |
setPayload(com.google.protobuf.Struct.Builder builderForValue)
This field can be used to pass custom data to your webhook.
|
QueryParameters.Builder |
setPayload(com.google.protobuf.Struct value)
This field can be used to pass custom data to your webhook.
|
QueryParameters.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QueryParameters.Builder |
setResetContexts(boolean value)
Specifies whether to delete all contexts in the current session
before the new ones are activated.
|
QueryParameters.Builder |
setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig.Builder builderForValue)
Configures the type of sentiment analysis to perform.
|
QueryParameters.Builder |
setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig value)
Configures the type of sentiment analysis to perform.
|
QueryParameters.Builder |
setSessionEntityTypes(int index,
SessionEntityType.Builder builderForValue)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
setSessionEntityTypes(int index,
SessionEntityType value)
Additional session entity types to replace or extend developer
entity types with.
|
QueryParameters.Builder |
setSubAgents(int index,
SubAgent.Builder builderForValue)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
setSubAgents(int index,
SubAgent value)
For mega agent query, directly specify which sub agents to query.
|
QueryParameters.Builder |
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.
|
QueryParameters.Builder |
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.
|
QueryParameters.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QueryParameters build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QueryParameters buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QueryParameters.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryParameters.Builder>public QueryParameters.Builder mergeFrom(QueryParameters other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryParameters.Builder>IOExceptionpublic 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;getTimeZone in interface QueryParametersOrBuilderpublic 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;getTimeZoneBytes in interface QueryParametersOrBuilderpublic QueryParameters.Builder 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. If not provided, the time zone specified in agent settings is used.
string time_zone = 1;value - The timeZone to set.public QueryParameters.Builder 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;public QueryParameters.Builder 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. If not provided, the time zone specified in agent settings is used.
string time_zone = 1;value - The bytes for timeZone to set.public boolean hasGeoLocation()
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;hasGeoLocation in interface QueryParametersOrBuilderpublic com.google.type.LatLng getGeoLocation()
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;getGeoLocation in interface QueryParametersOrBuilderpublic QueryParameters.Builder setGeoLocation(com.google.type.LatLng value)
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder setGeoLocation(com.google.type.LatLng.Builder builderForValue)
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder mergeGeoLocation(com.google.type.LatLng value)
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder clearGeoLocation()
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public com.google.type.LatLng.Builder getGeoLocationBuilder()
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public com.google.type.LatLngOrBuilder getGeoLocationOrBuilder()
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;getGeoLocationOrBuilder in interface QueryParametersOrBuilderpublic List<Context> getContextsList()
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;getContextsList in interface QueryParametersOrBuilderpublic int getContextsCount()
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;getContextsCount in interface QueryParametersOrBuilderpublic Context getContexts(int index)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;getContexts in interface QueryParametersOrBuilderpublic QueryParameters.Builder setContexts(int index, Context value)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder setContexts(int index, Context.Builder builderForValue)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder addContexts(Context value)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder addContexts(int index, Context value)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder addContexts(Context.Builder builderForValue)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder addContexts(int index, Context.Builder builderForValue)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder addAllContexts(Iterable<? extends Context> values)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder clearContexts()
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder removeContexts(int index)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public Context.Builder getContextsBuilder(int index)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public ContextOrBuilder getContextsOrBuilder(int index)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;getContextsOrBuilder in interface QueryParametersOrBuilderpublic List<? extends ContextOrBuilder> getContextsOrBuilderList()
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;getContextsOrBuilderList in interface QueryParametersOrBuilderpublic Context.Builder addContextsBuilder()
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public Context.Builder addContextsBuilder(int index)
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public List<Context.Builder> getContextsBuilderList()
The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public boolean getResetContexts()
Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;getResetContexts in interface QueryParametersOrBuilderpublic QueryParameters.Builder setResetContexts(boolean value)
Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;value - The resetContexts to set.public QueryParameters.Builder clearResetContexts()
Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;public 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.v2beta1.SessionEntityType session_entity_types = 5;
getSessionEntityTypesList in interface QueryParametersOrBuilderpublic 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.v2beta1.SessionEntityType session_entity_types = 5;
getSessionEntityTypesCount in interface QueryParametersOrBuilderpublic SessionEntityType getSessionEntityTypes(int index)
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.v2beta1.SessionEntityType session_entity_types = 5;
getSessionEntityTypes in interface QueryParametersOrBuilderpublic QueryParameters.Builder setSessionEntityTypes(int index, SessionEntityType value)
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.v2beta1.SessionEntityType session_entity_types = 5;
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.v2beta1.SessionEntityType session_entity_types = 5;
public QueryParameters.Builder addSessionEntityTypes(SessionEntityType value)
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.v2beta1.SessionEntityType session_entity_types = 5;
public QueryParameters.Builder addSessionEntityTypes(int index, SessionEntityType value)
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.v2beta1.SessionEntityType session_entity_types = 5;
public QueryParameters.Builder addSessionEntityTypes(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.v2beta1.SessionEntityType session_entity_types = 5;
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.v2beta1.SessionEntityType session_entity_types = 5;
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.v2beta1.SessionEntityType session_entity_types = 5;
public QueryParameters.Builder 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.v2beta1.SessionEntityType session_entity_types = 5;
public QueryParameters.Builder removeSessionEntityTypes(int index)
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.v2beta1.SessionEntityType session_entity_types = 5;
public SessionEntityType.Builder getSessionEntityTypesBuilder(int index)
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.v2beta1.SessionEntityType session_entity_types = 5;
public SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)
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.v2beta1.SessionEntityType session_entity_types = 5;
getSessionEntityTypesOrBuilder in interface QueryParametersOrBuilderpublic 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.v2beta1.SessionEntityType session_entity_types = 5;
getSessionEntityTypesOrBuilderList in interface QueryParametersOrBuilderpublic SessionEntityType.Builder 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.v2beta1.SessionEntityType session_entity_types = 5;
public SessionEntityType.Builder addSessionEntityTypesBuilder(int index)
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.v2beta1.SessionEntityType session_entity_types = 5;
public List<SessionEntityType.Builder> 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.v2beta1.SessionEntityType session_entity_types = 5;
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;hasPayload in interface QueryParametersOrBuilderpublic 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;getPayload in interface QueryParametersOrBuilderpublic QueryParameters.Builder setPayload(com.google.protobuf.Struct value)
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;public QueryParameters.Builder setPayload(com.google.protobuf.Struct.Builder builderForValue)
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;public QueryParameters.Builder mergePayload(com.google.protobuf.Struct value)
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;public QueryParameters.Builder 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;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;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;getPayloadOrBuilder in interface QueryParametersOrBuilderpublic com.google.protobuf.ProtocolStringList getKnowledgeBaseNamesList()
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;getKnowledgeBaseNamesList in interface QueryParametersOrBuilderpublic int getKnowledgeBaseNamesCount()
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;getKnowledgeBaseNamesCount in interface QueryParametersOrBuilderpublic String getKnowledgeBaseNames(int index)
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;getKnowledgeBaseNames in interface QueryParametersOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getKnowledgeBaseNamesBytes(int index)
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;getKnowledgeBaseNamesBytes in interface QueryParametersOrBuilderindex - The index of the value to return.public QueryParameters.Builder setKnowledgeBaseNames(int index, String value)
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;index - The index to set the value at.value - The knowledgeBaseNames to set.public QueryParameters.Builder addKnowledgeBaseNames(String value)
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;value - The knowledgeBaseNames to add.public QueryParameters.Builder addAllKnowledgeBaseNames(Iterable<String> values)
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;values - The knowledgeBaseNames to add.public QueryParameters.Builder clearKnowledgeBaseNames()
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;public QueryParameters.Builder addKnowledgeBaseNamesBytes(com.google.protobuf.ByteString value)
KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
repeated string knowledge_base_names = 12;value - The bytes of the knowledgeBaseNames to add.public boolean hasSentimentAnalysisRequestConfig()
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
hasSentimentAnalysisRequestConfig in interface QueryParametersOrBuilderpublic SentimentAnalysisRequestConfig getSentimentAnalysisRequestConfig()
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
getSentimentAnalysisRequestConfig in interface QueryParametersOrBuilderpublic QueryParameters.Builder setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig value)
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
public QueryParameters.Builder setSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig.Builder builderForValue)
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
public QueryParameters.Builder mergeSentimentAnalysisRequestConfig(SentimentAnalysisRequestConfig value)
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
public QueryParameters.Builder clearSentimentAnalysisRequestConfig()
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
public SentimentAnalysisRequestConfig.Builder getSentimentAnalysisRequestConfigBuilder()
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
public SentimentAnalysisRequestConfigOrBuilder getSentimentAnalysisRequestConfigOrBuilder()
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Essentials Edition agents.
.google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig sentiment_analysis_request_config = 10;
getSentimentAnalysisRequestConfigOrBuilder in interface QueryParametersOrBuilderpublic List<SubAgent> getSubAgentsList()
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;getSubAgentsList in interface QueryParametersOrBuilderpublic int getSubAgentsCount()
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;getSubAgentsCount in interface QueryParametersOrBuilderpublic SubAgent getSubAgents(int index)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;getSubAgents in interface QueryParametersOrBuilderpublic QueryParameters.Builder setSubAgents(int index, SubAgent value)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder setSubAgents(int index, SubAgent.Builder builderForValue)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder addSubAgents(SubAgent value)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder addSubAgents(int index, SubAgent value)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder addSubAgents(SubAgent.Builder builderForValue)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder addSubAgents(int index, SubAgent.Builder builderForValue)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder addAllSubAgents(Iterable<? extends SubAgent> values)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder clearSubAgents()
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public QueryParameters.Builder removeSubAgents(int index)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public SubAgent.Builder getSubAgentsBuilder(int index)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public SubAgentOrBuilder getSubAgentsOrBuilder(int index)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;getSubAgentsOrBuilder in interface QueryParametersOrBuilderpublic List<? extends SubAgentOrBuilder> getSubAgentsOrBuilderList()
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;getSubAgentsOrBuilderList in interface QueryParametersOrBuilderpublic SubAgent.Builder addSubAgentsBuilder()
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public SubAgent.Builder addSubAgentsBuilder(int index)
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public List<SubAgent.Builder> getSubAgentsBuilderList()
For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.
repeated .google.cloud.dialogflow.v2beta1.SubAgent sub_agents = 13;public int getWebhookHeadersCount()
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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;getWebhookHeadersCount in interface QueryParametersOrBuilderpublic boolean containsWebhookHeaders(String key)
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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 in interface QueryParametersOrBuilder@Deprecated public Map<String,String> getWebhookHeaders()
getWebhookHeadersMap() instead.getWebhookHeaders in interface QueryParametersOrBuilderpublic Map<String,String> 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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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;getWebhookHeadersMap in interface QueryParametersOrBuilderpublic String getWebhookHeadersOrDefault(String key, String defaultValue)
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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 in interface QueryParametersOrBuilderpublic String getWebhookHeadersOrThrow(String key)
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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 in interface QueryParametersOrBuilderpublic QueryParameters.Builder clearWebhookHeaders()
public QueryParameters.Builder removeWebhookHeaders(String key)
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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;@Deprecated public Map<String,String> getMutableWebhookHeaders()
public QueryParameters.Builder putWebhookHeaders(String key, String value)
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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;public QueryParameters.Builder putAllWebhookHeaders(Map<String,String> values)
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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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;public final QueryParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>public final QueryParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameters.Builder>Copyright © 2023 Google LLC. All rights reserved.