- 0.89.0 (latest)
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class QueryInput.Builder extends GeneratedMessageV3.Builder<QueryInput.Builder> implements QueryInputOrBuilderRepresents the query input. It can contain one of:
- A conversational query in the form of text. 
- An intent query that specifies which intent to trigger. 
- Natural language speech audio to be processed. 
- An event to be triggered. 
- DTMF digits to invoke an intent and fill in parameter value. 
- The results of a tool executed by the client. 
 Protobuf type google.cloud.dialogflow.cx.v3beta1.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 | |
clearAudio()
public QueryInput.Builder clearAudio()The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
clearDtmf()
public QueryInput.Builder clearDtmf()The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
clearEvent()
public QueryInput.Builder clearEvent()The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| 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 | |
clearIntent()
public QueryInput.Builder clearIntent()The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
clearLanguageCode()
public QueryInput.Builder clearLanguageCode()Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
 string language_code = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | This builder for chaining. | 
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.cx.v3beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
clearToolCallResult()
public QueryInput.Builder clearToolCallResult()The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
clone()
public QueryInput.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
getAudio()
public AudioInput getAudio()The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Returns | |
|---|---|
| Type | Description | 
| AudioInput | The audio. | 
getAudioBuilder()
public AudioInput.Builder getAudioBuilder()The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Returns | |
|---|---|
| Type | Description | 
| AudioInput.Builder | |
getAudioOrBuilder()
public AudioInputOrBuilder getAudioOrBuilder()The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Returns | |
|---|---|
| Type | Description | 
| AudioInputOrBuilder | |
getDefaultInstanceForType()
public QueryInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| QueryInput | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDtmf()
public DtmfInput getDtmf()The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Returns | |
|---|---|
| Type | Description | 
| DtmfInput | The dtmf. | 
getDtmfBuilder()
public DtmfInput.Builder getDtmfBuilder()The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Returns | |
|---|---|
| Type | Description | 
| DtmfInput.Builder | |
getDtmfOrBuilder()
public DtmfInputOrBuilder getDtmfOrBuilder()The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Returns | |
|---|---|
| Type | Description | 
| DtmfInputOrBuilder | |
getEvent()
public EventInput getEvent()The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| Returns | |
|---|---|
| Type | Description | 
| EventInput | The event. | 
getEventBuilder()
public EventInput.Builder getEventBuilder()The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| Returns | |
|---|---|
| Type | Description | 
| EventInput.Builder | |
getEventOrBuilder()
public EventInputOrBuilder getEventOrBuilder()The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| Returns | |
|---|---|
| Type | Description | 
| EventInputOrBuilder | |
getInputCase()
public QueryInput.InputCase getInputCase()| Returns | |
|---|---|
| Type | Description | 
| QueryInput.InputCase | |
getIntent()
public IntentInput getIntent()The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Returns | |
|---|---|
| Type | Description | 
| IntentInput | The intent. | 
getIntentBuilder()
public IntentInput.Builder getIntentBuilder()The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Returns | |
|---|---|
| Type | Description | 
| IntentInput.Builder | |
getIntentOrBuilder()
public IntentInputOrBuilder getIntentOrBuilder()The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Returns | |
|---|---|
| Type | Description | 
| IntentInputOrBuilder | |
getLanguageCode()
public String getLanguageCode()Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
 string language_code = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The languageCode. | 
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
 string language_code = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for languageCode. | 
getText()
public TextInput getText()The natural language text to be processed.
 .google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
| TextInput | The text. | 
getTextBuilder()
public TextInput.Builder getTextBuilder()The natural language text to be processed.
 .google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
| TextInput.Builder | |
getTextOrBuilder()
public TextInputOrBuilder getTextOrBuilder()The natural language text to be processed.
 .google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
| TextInputOrBuilder | |
getToolCallResult()
public ToolCallResult getToolCallResult()The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult | The toolCallResult. | 
getToolCallResultBuilder()
public ToolCallResult.Builder getToolCallResultBuilder()The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResult.Builder | |
getToolCallResultOrBuilder()
public ToolCallResultOrBuilder getToolCallResultOrBuilder()The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Returns | |
|---|---|
| Type | Description | 
| ToolCallResultOrBuilder | |
hasAudio()
public boolean hasAudio()The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the audio field is set. | 
hasDtmf()
public boolean hasDtmf()The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the dtmf field is set. | 
hasEvent()
public boolean hasEvent()The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the event field is set. | 
hasIntent()
public boolean hasIntent()The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the intent field is set. | 
hasText()
public boolean hasText()The natural language text to be processed.
 .google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the text field is set. | 
hasToolCallResult()
public boolean hasToolCallResult()The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the toolCallResult field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeAudio(AudioInput value)
public QueryInput.Builder mergeAudio(AudioInput value)The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | AudioInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
mergeDtmf(DtmfInput value)
public QueryInput.Builder mergeDtmf(DtmfInput value)The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | DtmfInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
mergeEvent(EventInput value)
public QueryInput.Builder mergeEvent(EventInput value)The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| 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 | |
mergeIntent(IntentInput value)
public QueryInput.Builder mergeIntent(IntentInput value)The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | IntentInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
mergeText(TextInput value)
public QueryInput.Builder mergeText(TextInput value)The natural language text to be processed.
 .google.cloud.dialogflow.cx.v3beta1.TextInput text = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | TextInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
mergeToolCallResult(ToolCallResult value)
public QueryInput.Builder mergeToolCallResult(ToolCallResult value)The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Parameter | |
|---|---|
| Name | Description | 
| value | ToolCallResult | 
| 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 | |
setAudio(AudioInput value)
public QueryInput.Builder setAudio(AudioInput value)The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | AudioInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setAudio(AudioInput.Builder builderForValue)
public QueryInput.Builder setAudio(AudioInput.Builder builderForValue)The natural language speech audio to be processed.
 .google.cloud.dialogflow.cx.v3beta1.AudioInput audio = 5;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | AudioInput.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setDtmf(DtmfInput value)
public QueryInput.Builder setDtmf(DtmfInput value)The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | DtmfInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setDtmf(DtmfInput.Builder builderForValue)
public QueryInput.Builder setDtmf(DtmfInput.Builder builderForValue)The DTMF event to be handled.
 .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 7;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | DtmfInput.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setEvent(EventInput value)
public QueryInput.Builder setEvent(EventInput value)The event to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| 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 triggered.
 .google.cloud.dialogflow.cx.v3beta1.EventInput event = 6;
| 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 | |
setIntent(IntentInput value)
public QueryInput.Builder setIntent(IntentInput value)The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | IntentInput | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setIntent(IntentInput.Builder builderForValue)
public QueryInput.Builder setIntent(IntentInput.Builder builderForValue)The intent to be triggered.
 .google.cloud.dialogflow.cx.v3beta1.IntentInput intent = 3;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | IntentInput.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setLanguageCode(String value)
public QueryInput.Builder setLanguageCode(String value)Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
 string language_code = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe languageCode to set. | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | This builder for chaining. | 
setLanguageCodeBytes(ByteString value)
public QueryInput.Builder setLanguageCodeBytes(ByteString value)Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
 string language_code = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for languageCode to set. | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | This builder for chaining. | 
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.cx.v3beta1.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.cx.v3beta1.TextInput text = 2;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | TextInput.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setToolCallResult(ToolCallResult value)
public QueryInput.Builder setToolCallResult(ToolCallResult value)The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Parameter | |
|---|---|
| Name | Description | 
| value | ToolCallResult | 
| Returns | |
|---|---|
| Type | Description | 
| QueryInput.Builder | |
setToolCallResult(ToolCallResult.Builder builderForValue)
public QueryInput.Builder setToolCallResult(ToolCallResult.Builder builderForValue)The results of a tool executed by the client.
 .google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ToolCallResult.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 | |