- 4.59.0 (latest)
- 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 StreamingAnalyzeContentRequest.Builder extends GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder> implements StreamingAnalyzeContentRequestOrBuilder
The top-level message sent by the client to the Participants.StreamingAnalyzeContent method. Multiple request messages should be sent in order:
- The first message must contain participant, config and optionally query_params. If you want to receive an audio response, it should also contain reply_audio_config. The message must not contain input.
- If config in the first message
was set to audio_config,
all subsequent messages must contain
input_audio to continue
with Speech recognition.
If you decide to rather analyze text input after you already started
Speech recognition, please send a message with
StreamingAnalyzeContentRequest.input_text.
However, note that:
- Dialogflow will bill you for the audio so far.
- Dialogflow discards all Speech recognition results in favor of the text input.
- If StreamingAnalyzeContentRequest.config in the first message was set to StreamingAnalyzeContentRequest.text_config, then the second message must contain only input_text. Moreover, you must not send more than two messages. After you sent all input, you must half-close or abort the request stream.
Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingAnalyzeContentRequest.BuilderImplements
StreamingAnalyzeContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnalyzeContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
build()
public StreamingAnalyzeContentRequest build()
Type | Description |
StreamingAnalyzeContentRequest |
buildPartial()
public StreamingAnalyzeContentRequest buildPartial()
Type | Description |
StreamingAnalyzeContentRequest |
clear()
public StreamingAnalyzeContentRequest.Builder clear()
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearAssistQueryParams()
public StreamingAnalyzeContentRequest.Builder clearAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearAudioConfig()
public StreamingAnalyzeContentRequest.Builder clearAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearConfig()
public StreamingAnalyzeContentRequest.Builder clearConfig()
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearCxCurrentPage()
public StreamingAnalyzeContentRequest.Builder clearCxCurrentPage()
The unique identifier of the CX page to override the current_page
in the
session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
If cx_current_page
is specified, the previous state of the session will
be ignored by Dialogflow CX, including the previous
page and the previous session
parameters. In most cases, cx_current_page
and
cx_parameters
should be configured together to direct a session to a
specific state.
Note: this field should only be used if you are connecting to a Dialogflow
CX agent.
string cx_current_page = 15;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
clearCxParameters()
public StreamingAnalyzeContentRequest.Builder clearCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearEnablePartialAutomatedAgentReply()
public StreamingAnalyzeContentRequest.Builder clearEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses. If this flag is not enabled,
response stream still contains only one final response even if some
Fulfillment
s in Dialogflow virtual agent have been configured to return
partial responses.
bool enable_partial_automated_agent_reply = 12;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StreamingAnalyzeContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearInput()
public StreamingAnalyzeContentRequest.Builder clearInput()
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearInputAudio()
public StreamingAnalyzeContentRequest.Builder clearInputAudio()
The input audio content to be recognized. Must be sent if audio_config
is set in the first message. The complete audio over all streaming
messages must not exceed 1 minute.
bytes input_audio = 5;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
clearInputDtmf()
public StreamingAnalyzeContentRequest.Builder clearInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearInputText()
public StreamingAnalyzeContentRequest.Builder clearInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if
text_config
is set in the first message. Text length must not exceed
256 bytes for virtual agent interactions. The input_text
field can be
only sent once.
string input_text = 6;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingAnalyzeContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearParticipant()
public StreamingAnalyzeContentRequest.Builder clearParticipant()
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
clearQueryParams()
public StreamingAnalyzeContentRequest.Builder clearQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearReplyAudioConfig()
public StreamingAnalyzeContentRequest.Builder clearReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clearTextConfig()
public StreamingAnalyzeContentRequest.Builder clearTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Type | Description |
StreamingAnalyzeContentRequest.Builder |
clone()
public StreamingAnalyzeContentRequest.Builder clone()
Type | Description |
StreamingAnalyzeContentRequest.Builder |
getAssistQueryParams()
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Type | Description |
AssistQueryParameters |
The assistQueryParams. |
getAssistQueryParamsBuilder()
public AssistQueryParameters.Builder getAssistQueryParamsBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Type | Description |
AssistQueryParameters.Builder |
getAssistQueryParamsOrBuilder()
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Type | Description |
AssistQueryParametersOrBuilder |
getAudioConfig()
public InputAudioConfig getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
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 = 2;
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 = 2;
Type | Description |
InputAudioConfigOrBuilder |
getConfigCase()
public StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
Type | Description |
StreamingAnalyzeContentRequest.ConfigCase |
getCxCurrentPage()
public String getCxCurrentPage()
The unique identifier of the CX page to override the current_page
in the
session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
If cx_current_page
is specified, the previous state of the session will
be ignored by Dialogflow CX, including the previous
page and the previous session
parameters. In most cases, cx_current_page
and
cx_parameters
should be configured together to direct a session to a
specific state.
Note: this field should only be used if you are connecting to a Dialogflow
CX agent.
string cx_current_page = 15;
Type | Description |
String |
The cxCurrentPage. |
getCxCurrentPageBytes()
public ByteString getCxCurrentPageBytes()
The unique identifier of the CX page to override the current_page
in the
session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
If cx_current_page
is specified, the previous state of the session will
be ignored by Dialogflow CX, including the previous
page and the previous session
parameters. In most cases, cx_current_page
and
cx_parameters
should be configured together to direct a session to a
specific state.
Note: this field should only be used if you are connecting to a Dialogflow
CX agent.
string cx_current_page = 15;
Type | Description |
ByteString |
The bytes for cxCurrentPage. |
getCxParameters()
public Struct getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Type | Description |
Struct |
The cxParameters. |
getCxParametersBuilder()
public Struct.Builder getCxParametersBuilder()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Type | Description |
Builder |
getCxParametersOrBuilder()
public StructOrBuilder getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Type | Description |
StructOrBuilder |
getDefaultInstanceForType()
public StreamingAnalyzeContentRequest getDefaultInstanceForType()
Type | Description |
StreamingAnalyzeContentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnablePartialAutomatedAgentReply()
public boolean getEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses. If this flag is not enabled,
response stream still contains only one final response even if some
Fulfillment
s in Dialogflow virtual agent have been configured to return
partial responses.
bool enable_partial_automated_agent_reply = 12;
Type | Description |
boolean |
The enablePartialAutomatedAgentReply. |
getInputAudio()
public ByteString getInputAudio()
The input audio content to be recognized. Must be sent if audio_config
is set in the first message. The complete audio over all streaming
messages must not exceed 1 minute.
bytes input_audio = 5;
Type | Description |
ByteString |
The inputAudio. |
getInputCase()
public StreamingAnalyzeContentRequest.InputCase getInputCase()
Type | Description |
StreamingAnalyzeContentRequest.InputCase |
getInputDtmf()
public TelephonyDtmfEvents getInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Type | Description |
TelephonyDtmfEvents |
The inputDtmf. |
getInputDtmfBuilder()
public TelephonyDtmfEvents.Builder getInputDtmfBuilder()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Type | Description |
TelephonyDtmfEvents.Builder |
getInputDtmfOrBuilder()
public TelephonyDtmfEventsOrBuilder getInputDtmfOrBuilder()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Type | Description |
TelephonyDtmfEventsOrBuilder |
getInputText()
public String getInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if
text_config
is set in the first message. Text length must not exceed
256 bytes for virtual agent interactions. The input_text
field can be
only sent once.
string input_text = 6;
Type | Description |
String |
The inputText. |
getInputTextBytes()
public ByteString getInputTextBytes()
The UTF-8 encoded natural language text to be processed. Must be sent if
text_config
is set in the first message. Text length must not exceed
256 bytes for virtual agent interactions. The input_text
field can be
only sent once.
string input_text = 6;
Type | Description |
ByteString |
The bytes for inputText. |
getParticipant()
public String getParticipant()
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String |
The participant. |
getParticipantBytes()
public ByteString getParticipantBytes()
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString |
The bytes for participant. |
getQueryParams()
public QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Type | Description |
QueryParameters |
The queryParams. |
getQueryParamsBuilder()
public QueryParameters.Builder getQueryParamsBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Type | Description |
QueryParameters.Builder |
getQueryParamsOrBuilder()
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Type | Description |
QueryParametersOrBuilder |
getReplyAudioConfig()
public OutputAudioConfig getReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Type | Description |
OutputAudioConfig |
The replyAudioConfig. |
getReplyAudioConfigBuilder()
public OutputAudioConfig.Builder getReplyAudioConfigBuilder()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Type | Description |
OutputAudioConfig.Builder |
getReplyAudioConfigOrBuilder()
public OutputAudioConfigOrBuilder getReplyAudioConfigOrBuilder()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Type | Description |
OutputAudioConfigOrBuilder |
getTextConfig()
public InputTextConfig getTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Type | Description |
InputTextConfig |
The textConfig. |
getTextConfigBuilder()
public InputTextConfig.Builder getTextConfigBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Type | Description |
InputTextConfig.Builder |
getTextConfigOrBuilder()
public InputTextConfigOrBuilder getTextConfigOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Type | Description |
InputTextConfigOrBuilder |
hasAssistQueryParams()
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Type | Description |
boolean |
Whether the assistQueryParams field is set. |
hasAudioConfig()
public boolean hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
Type | Description |
boolean |
Whether the audioConfig field is set. |
hasCxParameters()
public boolean hasCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Type | Description |
boolean |
Whether the cxParameters field is set. |
hasInputAudio()
public boolean hasInputAudio()
The input audio content to be recognized. Must be sent if audio_config
is set in the first message. The complete audio over all streaming
messages must not exceed 1 minute.
bytes input_audio = 5;
Type | Description |
boolean |
Whether the inputAudio field is set. |
hasInputDtmf()
public boolean hasInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Type | Description |
boolean |
Whether the inputDtmf field is set. |
hasInputText()
public boolean hasInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if
text_config
is set in the first message. Text length must not exceed
256 bytes for virtual agent interactions. The input_text
field can be
only sent once.
string input_text = 6;
Type | Description |
boolean |
Whether the inputText field is set. |
hasQueryParams()
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Type | Description |
boolean |
Whether the queryParams field is set. |
hasReplyAudioConfig()
public boolean hasReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Type | Description |
boolean |
Whether the replyAudioConfig field is set. |
hasTextConfig()
public boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Type | Description |
boolean |
Whether the textConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAssistQueryParams(AssistQueryParameters value)
public StreamingAnalyzeContentRequest.Builder mergeAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Name | Description |
value |
AssistQueryParameters |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeAudioConfig(InputAudioConfig value)
public StreamingAnalyzeContentRequest.Builder mergeAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
Name | Description |
value |
InputAudioConfig |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeCxParameters(Struct value)
public StreamingAnalyzeContentRequest.Builder mergeCxParameters(Struct value)
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Name | Description |
value |
Struct |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeFrom(StreamingAnalyzeContentRequest other)
public StreamingAnalyzeContentRequest.Builder mergeFrom(StreamingAnalyzeContentRequest other)
Name | Description |
other |
StreamingAnalyzeContentRequest |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingAnalyzeContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingAnalyzeContentRequest.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeInputDtmf(TelephonyDtmfEvents value)
public StreamingAnalyzeContentRequest.Builder mergeInputDtmf(TelephonyDtmfEvents value)
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Name | Description |
value |
TelephonyDtmfEvents |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeQueryParams(QueryParameters value)
public StreamingAnalyzeContentRequest.Builder mergeQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Name | Description |
value |
QueryParameters |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeReplyAudioConfig(OutputAudioConfig value)
public StreamingAnalyzeContentRequest.Builder mergeReplyAudioConfig(OutputAudioConfig value)
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Name | Description |
value |
OutputAudioConfig |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeTextConfig(InputTextConfig value)
public StreamingAnalyzeContentRequest.Builder mergeTextConfig(InputTextConfig value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Name | Description |
value |
InputTextConfig |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnalyzeContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setAssistQueryParams(AssistQueryParameters value)
public StreamingAnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Name | Description |
value |
AssistQueryParameters |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
Name | Description |
builderForValue |
AssistQueryParameters.Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setAudioConfig(InputAudioConfig value)
public StreamingAnalyzeContentRequest.Builder setAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
Name | Description |
value |
InputAudioConfig |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setAudioConfig(InputAudioConfig.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setAudioConfig(InputAudioConfig.Builder builderForValue)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
Name | Description |
builderForValue |
InputAudioConfig.Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setCxCurrentPage(String value)
public StreamingAnalyzeContentRequest.Builder setCxCurrentPage(String value)
The unique identifier of the CX page to override the current_page
in the
session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
If cx_current_page
is specified, the previous state of the session will
be ignored by Dialogflow CX, including the previous
page and the previous session
parameters. In most cases, cx_current_page
and
cx_parameters
should be configured together to direct a session to a
specific state.
Note: this field should only be used if you are connecting to a Dialogflow
CX agent.
string cx_current_page = 15;
Name | Description |
value |
String The cxCurrentPage to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setCxCurrentPageBytes(ByteString value)
public StreamingAnalyzeContentRequest.Builder setCxCurrentPageBytes(ByteString value)
The unique identifier of the CX page to override the current_page
in the
session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
If cx_current_page
is specified, the previous state of the session will
be ignored by Dialogflow CX, including the previous
page and the previous session
parameters. In most cases, cx_current_page
and
cx_parameters
should be configured together to direct a session to a
specific state.
Note: this field should only be used if you are connecting to a Dialogflow
CX agent.
string cx_current_page = 15;
Name | Description |
value |
ByteString The bytes for cxCurrentPage to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setCxParameters(Struct value)
public StreamingAnalyzeContentRequest.Builder setCxParameters(Struct value)
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Name | Description |
value |
Struct |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setCxParameters(Struct.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setCxParameters(Struct.Builder builderForValue)
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Name | Description |
builderForValue |
Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setEnablePartialAutomatedAgentReply(boolean value)
public StreamingAnalyzeContentRequest.Builder setEnablePartialAutomatedAgentReply(boolean value)
Enable partial virtual agent responses. If this flag is not enabled,
response stream still contains only one final response even if some
Fulfillment
s in Dialogflow virtual agent have been configured to return
partial responses.
bool enable_partial_automated_agent_reply = 12;
Name | Description |
value |
boolean The enablePartialAutomatedAgentReply to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnalyzeContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setInputAudio(ByteString value)
public StreamingAnalyzeContentRequest.Builder setInputAudio(ByteString value)
The input audio content to be recognized. Must be sent if audio_config
is set in the first message. The complete audio over all streaming
messages must not exceed 1 minute.
bytes input_audio = 5;
Name | Description |
value |
ByteString The inputAudio to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setInputDtmf(TelephonyDtmfEvents value)
public StreamingAnalyzeContentRequest.Builder setInputDtmf(TelephonyDtmfEvents value)
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Name | Description |
value |
TelephonyDtmfEvents |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setInputDtmf(TelephonyDtmfEvents.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setInputDtmf(TelephonyDtmfEvents.Builder builderForValue)
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
Name | Description |
builderForValue |
TelephonyDtmfEvents.Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setInputText(String value)
public StreamingAnalyzeContentRequest.Builder setInputText(String value)
The UTF-8 encoded natural language text to be processed. Must be sent if
text_config
is set in the first message. Text length must not exceed
256 bytes for virtual agent interactions. The input_text
field can be
only sent once.
string input_text = 6;
Name | Description |
value |
String The inputText to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setInputTextBytes(ByteString value)
public StreamingAnalyzeContentRequest.Builder setInputTextBytes(ByteString value)
The UTF-8 encoded natural language text to be processed. Must be sent if
text_config
is set in the first message. Text length must not exceed
256 bytes for virtual agent interactions. The input_text
field can be
only sent once.
string input_text = 6;
Name | Description |
value |
ByteString The bytes for inputText to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setParticipant(String value)
public StreamingAnalyzeContentRequest.Builder setParticipant(String value)
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value |
String The participant to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setParticipantBytes(ByteString value)
public StreamingAnalyzeContentRequest.Builder setParticipantBytes(ByteString value)
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value |
ByteString The bytes for participant to set. |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
This builder for chaining. |
setQueryParams(QueryParameters value)
public StreamingAnalyzeContentRequest.Builder setQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Name | Description |
value |
QueryParameters |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setQueryParams(QueryParameters.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
Name | Description |
builderForValue |
QueryParameters.Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingAnalyzeContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setReplyAudioConfig(OutputAudioConfig value)
public StreamingAnalyzeContentRequest.Builder setReplyAudioConfig(OutputAudioConfig value)
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Name | Description |
value |
OutputAudioConfig |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setReplyAudioConfig(OutputAudioConfig.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setReplyAudioConfig(OutputAudioConfig.Builder builderForValue)
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
Name | Description |
builderForValue |
OutputAudioConfig.Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setTextConfig(InputTextConfig value)
public StreamingAnalyzeContentRequest.Builder setTextConfig(InputTextConfig value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Name | Description |
value |
InputTextConfig |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setTextConfig(InputTextConfig.Builder builderForValue)
public StreamingAnalyzeContentRequest.Builder setTextConfig(InputTextConfig.Builder builderForValue)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
Name | Description |
builderForValue |
InputTextConfig.Builder |
Type | Description |
StreamingAnalyzeContentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnalyzeContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
StreamingAnalyzeContentRequest.Builder |