public static final class QueryParameters.Builder extends 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(ByteString value)
KnowledgeBases to get alternative results from.
|
QueryParameters.Builder |
addRepeatedField(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(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(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 Descriptors.Descriptor |
getDescriptor() |
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.
|
ByteString |
getKnowledgeBaseNamesBytes(int index)
KnowledgeBases to get alternative results from.
|
int |
getKnowledgeBaseNamesCount()
KnowledgeBases to get alternative results from.
|
ProtocolStringList |
getKnowledgeBaseNamesList()
KnowledgeBases to get alternative results from.
|
Map<String,String> |
getMutableWebhookHeaders()
Deprecated.
|
Struct |
getPayload()
This field can be used to pass custom data to your webhook.
|
Struct.Builder |
getPayloadBuilder()
This field can be used to pass custom data to your webhook.
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
QueryParameters.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
QueryParameters.Builder |
mergeFrom(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(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(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(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(Struct.Builder builderForValue)
This field can be used to pass custom data to your webhook.
|
QueryParameters.Builder |
setPayload(Struct value)
This field can be used to pass custom data to your webhook.
|
QueryParameters.Builder |
setRepeatedField(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(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(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public QueryParameters build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public QueryParameters buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public QueryParameters.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<QueryParameters.Builder>
public QueryParameters.Builder mergeFrom(QueryParameters other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public QueryParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<QueryParameters.Builder>
IOException
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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(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 QueryParametersOrBuilder
public com.google.type.LatLng getGeoLocation()
The geo location of this conversational query.
.google.type.LatLng geo_location = 2;
getGeoLocation
in interface QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
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.v2beta1.SessionEntityType session_entity_types = 5;
getSessionEntityTypesCount
in interface QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public QueryParameters.Builder setPayload(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(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(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 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 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
index
- The index of the element to return.public 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 QueryParametersOrBuilder
index
- 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(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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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()
QueryParametersOrBuilder
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;
getWebhookHeadersCount
in interface QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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 QueryParametersOrBuilder
public 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
public final QueryParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<QueryParameters.Builder>
Copyright © 2022 Google LLC. All rights reserved.