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.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, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
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, java.lang.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, java.lang.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, java.lang.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 java.io.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>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 com.google.protobuf.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(com.google.protobuf.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 com.google.type.LatLng getGeoLocation()
Optional. 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)
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder setGeoLocation(com.google.type.LatLng.Builder builderForValue)
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public QueryParameters.Builder mergeGeoLocation(com.google.type.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 com.google.type.LatLng.Builder getGeoLocationBuilder()
Optional. The geo location of this conversational query.
.google.type.LatLng geo_location = 2;public com.google.type.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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(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>