- 4.84.0 (latest)
 - 4.82.0
 - 4.81.0
 - 4.80.0
 - 4.79.0
 - 4.78.0
 - 4.76.0
 - 4.74.0
 - 4.73.0
 - 4.70.0
 - 4.69.0
 - 4.68.0
 - 4.66.0
 - 4.65.0
 - 4.64.0
 - 4.63.0
 - 4.62.0
 - 4.61.0
 - 4.60.0
 - 4.59.0
 - 4.58.0
 - 4.57.0
 - 4.55.0
 - 4.54.0
 - 4.53.0
 - 4.52.0
 - 4.51.0
 - 4.50.0
 - 4.49.0
 - 4.48.0
 - 4.47.0
 - 4.46.0
 - 4.45.0
 - 4.43.0
 - 4.42.0
 - 4.41.0
 - 4.40.0
 - 4.39.0
 - 4.38.0
 - 4.37.0
 - 4.36.0
 - 4.35.0
 - 4.34.0
 - 4.33.0
 - 4.30.0
 - 4.29.0
 - 4.28.0
 - 4.27.0
 - 4.26.0
 - 4.25.0
 - 4.24.0
 - 4.23.0
 - 4.22.0
 - 4.21.0
 - 4.20.0
 - 4.19.0
 - 4.18.0
 - 4.17.0
 - 4.15.0
 - 4.14.0
 - 4.13.0
 - 4.12.0
 - 4.11.0
 - 4.10.0
 - 4.9.1
 - 4.8.6
 - 4.7.5
 - 4.6.0
 - 4.5.11
 - 4.4.0
 - 4.3.1
 
public static final class QueryInput.Builder extends GeneratedMessageV3.Builder<QueryInput.Builder> implements QueryInputOrBuilderRepresents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text.
An event that specifies which intent to trigger.
 Protobuf type google.cloud.dialogflow.v2beta1.QueryInput
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueryInput.BuilderImplements
QueryInputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
build()
public QueryInput build()| Returns | |
|---|---|
| Type | Description | 
QueryInput | 
        |
buildPartial()
public QueryInput buildPartial()| Returns | |
|---|---|
| Type | Description | 
QueryInput | 
        |
clear()
public QueryInput.Builder clear()| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearAudioConfig()
public QueryInput.Builder clearAudioConfig()Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearDtmf()
public QueryInput.Builder clearDtmf()The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearEvent()
public QueryInput.Builder clearEvent()The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public QueryInput.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearInput()
public QueryInput.Builder clearInput()| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clearText()
public QueryInput.Builder clearText()The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
clone()
public QueryInput.Builder clone()| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
getAudioConfig()
public InputAudioConfig getAudioConfig()Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Returns | |
|---|---|
| Type | Description | 
InputAudioConfig | 
        The audioConfig.  | 
      
getAudioConfigBuilder()
public InputAudioConfig.Builder getAudioConfigBuilder()Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Returns | |
|---|---|
| Type | Description | 
InputAudioConfig.Builder | 
        |
getAudioConfigOrBuilder()
public InputAudioConfigOrBuilder getAudioConfigOrBuilder()Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Returns | |
|---|---|
| Type | Description | 
InputAudioConfigOrBuilder | 
        |
getDefaultInstanceForType()
public QueryInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
QueryInput | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getDtmf()
public TelephonyDtmfEvents getDtmf()The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Returns | |
|---|---|
| Type | Description | 
TelephonyDtmfEvents | 
        The dtmf.  | 
      
getDtmfBuilder()
public TelephonyDtmfEvents.Builder getDtmfBuilder()The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Returns | |
|---|---|
| Type | Description | 
TelephonyDtmfEvents.Builder | 
        |
getDtmfOrBuilder()
public TelephonyDtmfEventsOrBuilder getDtmfOrBuilder()The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Returns | |
|---|---|
| Type | Description | 
TelephonyDtmfEventsOrBuilder | 
        |
getEvent()
public EventInput getEvent()The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Returns | |
|---|---|
| Type | Description | 
EventInput | 
        The event.  | 
      
getEventBuilder()
public EventInput.Builder getEventBuilder()The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Returns | |
|---|---|
| Type | Description | 
EventInput.Builder | 
        |
getEventOrBuilder()
public EventInputOrBuilder getEventOrBuilder()The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Returns | |
|---|---|
| Type | Description | 
EventInputOrBuilder | 
        |
getInputCase()
public QueryInput.InputCase getInputCase()| Returns | |
|---|---|
| Type | Description | 
QueryInput.InputCase | 
        |
getText()
public TextInput getText()The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
TextInput | 
        The text.  | 
      
getTextBuilder()
public TextInput.Builder getTextBuilder()The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
TextInput.Builder | 
        |
getTextOrBuilder()
public TextInputOrBuilder getTextOrBuilder()The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
TextInputOrBuilder | 
        |
hasAudioConfig()
public boolean hasAudioConfig()Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the audioConfig field is set.  | 
      
hasDtmf()
public boolean hasDtmf()The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the dtmf field is set.  | 
      
hasEvent()
public boolean hasEvent()The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the event field is set.  | 
      
hasText()
public boolean hasText()The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the text field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeAudioConfig(InputAudioConfig value)
public QueryInput.Builder mergeAudioConfig(InputAudioConfig value)Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        InputAudioConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
mergeDtmf(TelephonyDtmfEvents value)
public QueryInput.Builder mergeDtmf(TelephonyDtmfEvents value)The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        TelephonyDtmfEvents | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
mergeEvent(EventInput value)
public QueryInput.Builder mergeEvent(EventInput value)The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        EventInput | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
mergeFrom(QueryInput other)
public QueryInput.Builder mergeFrom(QueryInput other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        QueryInput | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public QueryInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
mergeText(TextInput value)
public QueryInput.Builder mergeText(TextInput value)The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        TextInput | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setAudioConfig(InputAudioConfig value)
public QueryInput.Builder setAudioConfig(InputAudioConfig value)Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        InputAudioConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setAudioConfig(InputAudioConfig.Builder builderForValue)
public QueryInput.Builder setAudioConfig(InputAudioConfig.Builder builderForValue)Instructs the speech recognizer how to process the speech audio.
 .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 1;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        InputAudioConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setDtmf(TelephonyDtmfEvents value)
public QueryInput.Builder setDtmf(TelephonyDtmfEvents value)The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        TelephonyDtmfEvents | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setDtmf(TelephonyDtmfEvents.Builder builderForValue)
public QueryInput.Builder setDtmf(TelephonyDtmfEvents.Builder builderForValue)The DTMF digits used to invoke intent and fill in parameter value.
 .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 4;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        TelephonyDtmfEvents.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setEvent(EventInput value)
public QueryInput.Builder setEvent(EventInput value)The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        EventInput | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setEvent(EventInput.Builder builderForValue)
public QueryInput.Builder setEvent(EventInput.Builder builderForValue)The event to be processed.
 .google.cloud.dialogflow.v2beta1.EventInput event = 3;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        EventInput.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public QueryInput.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setText(TextInput value)
public QueryInput.Builder setText(TextInput value)The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        TextInput | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setText(TextInput.Builder builderForValue)
public QueryInput.Builder setText(TextInput.Builder builderForValue)The natural language text to be processed.
 .google.cloud.dialogflow.v2beta1.TextInput text = 2;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        TextInput.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryInput.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
QueryInput.Builder | 
        |