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.QueryParametersgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<QueryParameters.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic QueryParameters build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic QueryParameters buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic QueryParameters.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<QueryParameters.Builder>public QueryParameters.Builder mergeFrom(QueryParameters other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<QueryParameters.Builder>public QueryParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<QueryParameters.Builder>java.io.IOExceptionpublic java.lang.String getTimeZone()
Optional. 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 ByteString getTimeZoneBytes()
Optional. 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(java.lang.String value)
Optional. 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 clearTimeZone()
Optional. 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)
Optional. 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 boolean hasGeoLocation()
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;hasGeoLocation in interface QueryParametersOrBuilderpublic LatLng getGeoLocation()
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;getGeoLocation in interface QueryParametersOrBuilderpublic QueryParameters.Builder setGeoLocation(LatLng value)
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder setGeoLocation(LatLng.Builder builderForValue)
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder mergeGeoLocation(LatLng value)
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder clearGeoLocation()
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public LatLng.Builder getGeoLocationBuilder()
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public LatLngOrBuilder getGeoLocationOrBuilder()
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;getGeoLocationOrBuilder in interface QueryParametersOrBuilderpublic java.util.List<Context> getContextsList()
Optional. 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()
Optional. 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)
Optional. 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)
Optional. 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)
Optional. 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)
Optional. 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)
Optional. 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)
Optional. 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)
Optional. The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder addAllContexts(java.lang.Iterable<? extends Context> values)
Optional. The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public QueryParameters.Builder clearContexts()
Optional. 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)
Optional. 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)
Optional. 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)
Optional. The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;getContextsOrBuilder in interface QueryParametersOrBuilderpublic java.util.List<? extends ContextOrBuilder> getContextsOrBuilderList()
Optional. 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()
Optional. 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)
Optional. The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public java.util.List<Context.Builder> getContextsBuilderList()
Optional. The collection of contexts to be activated before this query is executed.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 3;public boolean getResetContexts()
Optional. 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)
Optional. Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;public QueryParameters.Builder clearResetContexts()
Optional. Specifies whether to delete all contexts in the current session before the new ones are activated.
bool reset_contexts = 4;public java.util.List<SessionEntityType> getSessionEntityTypesList()
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;getSessionEntityTypesList in interface QueryParametersOrBuilderpublic int getSessionEntityTypesCount()
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;getSessionEntityTypesCount in interface QueryParametersOrBuilderpublic SessionEntityType getSessionEntityTypes(int index)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;getSessionEntityTypes in interface QueryParametersOrBuilderpublic QueryParameters.Builder setSessionEntityTypes(int index, SessionEntityType value)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder setSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder addSessionEntityTypes(SessionEntityType value)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder addSessionEntityTypes(int index, SessionEntityType value)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder addSessionEntityTypes(SessionEntityType.Builder builderForValue)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder addSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder addAllSessionEntityTypes(java.lang.Iterable<? extends SessionEntityType> values)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder clearSessionEntityTypes()
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public QueryParameters.Builder removeSessionEntityTypes(int index)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public SessionEntityType.Builder getSessionEntityTypesBuilder(int index)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;getSessionEntityTypesOrBuilder in interface QueryParametersOrBuilderpublic java.util.List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;getSessionEntityTypesOrBuilderList in interface QueryParametersOrBuilderpublic SessionEntityType.Builder addSessionEntityTypesBuilder()
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public SessionEntityType.Builder addSessionEntityTypesBuilder(int index)
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public java.util.List<SessionEntityType.Builder> getSessionEntityTypesBuilderList()
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 5;public boolean hasPayload()
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;hasPayload in interface QueryParametersOrBuilderpublic Struct getPayload()
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;getPayload in interface QueryParametersOrBuilderpublic QueryParameters.Builder setPayload(Struct value)
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;public QueryParameters.Builder setPayload(Struct.Builder builderForValue)
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;public QueryParameters.Builder mergePayload(Struct value)
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;public QueryParameters.Builder clearPayload()
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;public Struct.Builder getPayloadBuilder()
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;public StructOrBuilder getPayloadOrBuilder()
Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.
.google.protobuf.Struct payload = 6;getPayloadOrBuilder in interface QueryParametersOrBuilderpublic final QueryParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<QueryParameters.Builder>public final QueryParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<QueryParameters.Builder>