- 4.61.0 (latest)
- 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 AnalyzeContentRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeContentRequest.Builder> implements AnalyzeContentRequestOrBuilder
The request message for Participants.AnalyzeContent.
Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeContentRequest.BuilderImplements
AnalyzeContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
build()
public AnalyzeContentRequest build()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest |
buildPartial()
public AnalyzeContentRequest buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest |
clear()
public AnalyzeContentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearAssistQueryParams()
public AnalyzeContentRequest.Builder clearAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearAudioInput()
public AnalyzeContentRequest.Builder clearAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearCxCurrentPage()
public AnalyzeContentRequest.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 = 20;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
clearCxParameters()
public AnalyzeContentRequest.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 = 18;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearEventInput()
public AnalyzeContentRequest.Builder clearEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearInput()
public AnalyzeContentRequest.Builder clearInput()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearIntentInput()
public AnalyzeContentRequest.Builder clearIntentInput()
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearMessageSendTime()
public AnalyzeContentRequest.Builder clearMessageSendTime()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearParticipant()
public AnalyzeContentRequest.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) = { ... }
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
clearQueryParams()
public AnalyzeContentRequest.Builder clearQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearReplyAudioConfig()
public AnalyzeContentRequest.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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearRequestId()
public AnalyzeContentRequest.Builder clearRequestId()
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if a request_id
is provided.
string request_id = 11;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
clearSuggestionInput()
public AnalyzeContentRequest.Builder clearSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clearTextInput()
public AnalyzeContentRequest.Builder clearTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
clone()
public AnalyzeContentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
getAssistQueryParams()
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Returns | |
---|---|
Type | Description |
AssistQueryParameters |
The assistQueryParams. |
getAssistQueryParamsBuilder()
public AssistQueryParameters.Builder getAssistQueryParamsBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Returns | |
---|---|
Type | Description |
AssistQueryParameters.Builder |
getAssistQueryParamsOrBuilder()
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Returns | |
---|---|
Type | Description |
AssistQueryParametersOrBuilder |
getAudioInput()
public AudioInput getAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Returns | |
---|---|
Type | Description |
AudioInput |
The audioInput. |
getAudioInputBuilder()
public AudioInput.Builder getAudioInputBuilder()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Returns | |
---|---|
Type | Description |
AudioInput.Builder |
getAudioInputOrBuilder()
public AudioInputOrBuilder getAudioInputOrBuilder()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Returns | |
---|---|
Type | Description |
AudioInputOrBuilder |
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 = 20;
Returns | |
---|---|
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 = 20;
Returns | |
---|---|
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 = 18;
Returns | |
---|---|
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 = 18;
Returns | |
---|---|
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 = 18;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getDefaultInstanceForType()
public AnalyzeContentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEventInput()
public EventInput getEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Returns | |
---|---|
Type | Description |
EventInput |
The eventInput. |
getEventInputBuilder()
public EventInput.Builder getEventInputBuilder()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Returns | |
---|---|
Type | Description |
EventInput.Builder |
getEventInputOrBuilder()
public EventInputOrBuilder getEventInputOrBuilder()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Returns | |
---|---|
Type | Description |
EventInputOrBuilder |
getInputCase()
public AnalyzeContentRequest.InputCase getInputCase()
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.InputCase |
getIntentInput()
public IntentInput getIntentInput()
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Returns | |
---|---|
Type | Description |
IntentInput |
The intentInput. |
getIntentInputBuilder()
public IntentInput.Builder getIntentInputBuilder()
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Returns | |
---|---|
Type | Description |
IntentInput.Builder |
getIntentInputOrBuilder()
public IntentInputOrBuilder getIntentInputOrBuilder()
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Returns | |
---|---|
Type | Description |
IntentInputOrBuilder |
getMessageSendTime()
public Timestamp getMessageSendTime()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Timestamp |
The messageSendTime. |
getMessageSendTimeBuilder()
public Timestamp.Builder getMessageSendTimeBuilder()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getMessageSendTimeOrBuilder()
public TimestampOrBuilder getMessageSendTimeOrBuilder()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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 = 9;
Returns | |
---|---|
Type | Description |
QueryParameters |
The queryParams. |
getQueryParamsBuilder()
public QueryParameters.Builder getQueryParamsBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Returns | |
---|---|
Type | Description |
QueryParameters.Builder |
getQueryParamsOrBuilder()
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Returns | |
---|---|
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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Returns | |
---|---|
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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Returns | |
---|---|
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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Returns | |
---|---|
Type | Description |
OutputAudioConfigOrBuilder |
getRequestId()
public String getRequestId()
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if a request_id
is provided.
string request_id = 11;
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if a request_id
is provided.
string request_id = 11;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getSuggestionInput()
public SuggestionInput getSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Returns | |
---|---|
Type | Description |
SuggestionInput |
The suggestionInput. |
getSuggestionInputBuilder()
public SuggestionInput.Builder getSuggestionInputBuilder()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Returns | |
---|---|
Type | Description |
SuggestionInput.Builder |
getSuggestionInputOrBuilder()
public SuggestionInputOrBuilder getSuggestionInputOrBuilder()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Returns | |
---|---|
Type | Description |
SuggestionInputOrBuilder |
getTextInput()
public TextInput getTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Returns | |
---|---|
Type | Description |
TextInput |
The textInput. |
getTextInputBuilder()
public TextInput.Builder getTextInputBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Returns | |
---|---|
Type | Description |
TextInput.Builder |
getTextInputOrBuilder()
public TextInputOrBuilder getTextInputOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Returns | |
---|---|
Type | Description |
TextInputOrBuilder |
hasAssistQueryParams()
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the assistQueryParams field is set. |
hasAudioInput()
public boolean hasAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the audioInput 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 = 18;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cxParameters field is set. |
hasEventInput()
public boolean hasEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the eventInput field is set. |
hasIntentInput()
public boolean hasIntentInput()
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the intentInput field is set. |
hasMessageSendTime()
public boolean hasMessageSendTime()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the messageSendTime field is set. |
hasQueryParams()
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Returns | |
---|---|
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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the replyAudioConfig field is set. |
hasSuggestionInput()
public boolean hasSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the suggestionInput field is set. |
hasTextInput()
public boolean hasTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the textInput field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAssistQueryParams(AssistQueryParameters value)
public AnalyzeContentRequest.Builder mergeAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Parameter | |
---|---|
Name | Description |
value |
AssistQueryParameters |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeAudioInput(AudioInput value)
public AnalyzeContentRequest.Builder mergeAudioInput(AudioInput value)
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Parameter | |
---|---|
Name | Description |
value |
AudioInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeCxParameters(Struct value)
public AnalyzeContentRequest.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 = 18;
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeEventInput(EventInput value)
public AnalyzeContentRequest.Builder mergeEventInput(EventInput value)
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Parameter | |
---|---|
Name | Description |
value |
EventInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeFrom(AnalyzeContentRequest other)
public AnalyzeContentRequest.Builder mergeFrom(AnalyzeContentRequest other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzeContentRequest |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzeContentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeIntentInput(IntentInput value)
public AnalyzeContentRequest.Builder mergeIntentInput(IntentInput value)
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Parameter | |
---|---|
Name | Description |
value |
IntentInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeMessageSendTime(Timestamp value)
public AnalyzeContentRequest.Builder mergeMessageSendTime(Timestamp value)
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeQueryParams(QueryParameters value)
public AnalyzeContentRequest.Builder mergeQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Parameter | |
---|---|
Name | Description |
value |
QueryParameters |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeReplyAudioConfig(OutputAudioConfig value)
public AnalyzeContentRequest.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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Parameter | |
---|---|
Name | Description |
value |
OutputAudioConfig |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeSuggestionInput(SuggestionInput value)
public AnalyzeContentRequest.Builder mergeSuggestionInput(SuggestionInput value)
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Parameter | |
---|---|
Name | Description |
value |
SuggestionInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeTextInput(TextInput value)
public AnalyzeContentRequest.Builder mergeTextInput(TextInput value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Parameter | |
---|---|
Name | Description |
value |
TextInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setAssistQueryParams(AssistQueryParameters value)
public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Parameter | |
---|---|
Name | Description |
value |
AssistQueryParameters |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Parameter | |
---|---|
Name | Description |
builderForValue |
AssistQueryParameters.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setAudioInput(AudioInput value)
public AnalyzeContentRequest.Builder setAudioInput(AudioInput value)
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Parameter | |
---|---|
Name | Description |
value |
AudioInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setAudioInput(AudioInput.Builder builderForValue)
public AnalyzeContentRequest.Builder setAudioInput(AudioInput.Builder builderForValue)
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
AudioInput.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setCxCurrentPage(String value)
public AnalyzeContentRequest.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 = 20;
Parameter | |
---|---|
Name | Description |
value |
String The cxCurrentPage to set. |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
setCxCurrentPageBytes(ByteString value)
public AnalyzeContentRequest.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 = 20;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cxCurrentPage to set. |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
setCxParameters(Struct value)
public AnalyzeContentRequest.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 = 18;
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setCxParameters(Struct.Builder builderForValue)
public AnalyzeContentRequest.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 = 18;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setEventInput(EventInput value)
public AnalyzeContentRequest.Builder setEventInput(EventInput value)
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Parameter | |
---|---|
Name | Description |
value |
EventInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setEventInput(EventInput.Builder builderForValue)
public AnalyzeContentRequest.Builder setEventInput(EventInput.Builder builderForValue)
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
EventInput.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setIntentInput(IntentInput value)
public AnalyzeContentRequest.Builder setIntentInput(IntentInput value)
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Parameter | |
---|---|
Name | Description |
value |
IntentInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setIntentInput(IntentInput.Builder builderForValue)
public AnalyzeContentRequest.Builder setIntentInput(IntentInput.Builder builderForValue)
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
Parameter | |
---|---|
Name | Description |
builderForValue |
IntentInput.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setMessageSendTime(Timestamp value)
public AnalyzeContentRequest.Builder setMessageSendTime(Timestamp value)
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setMessageSendTime(Timestamp.Builder builderForValue)
public AnalyzeContentRequest.Builder setMessageSendTime(Timestamp.Builder builderForValue)
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setParticipant(String value)
public AnalyzeContentRequest.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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The participant to set. |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
setParticipantBytes(ByteString value)
public AnalyzeContentRequest.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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for participant to set. |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
setQueryParams(QueryParameters value)
public AnalyzeContentRequest.Builder setQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Parameter | |
---|---|
Name | Description |
value |
QueryParameters |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setQueryParams(QueryParameters.Builder builderForValue)
public AnalyzeContentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
QueryParameters.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setReplyAudioConfig(OutputAudioConfig value)
public AnalyzeContentRequest.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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Parameter | |
---|---|
Name | Description |
value |
OutputAudioConfig |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setReplyAudioConfig(OutputAudioConfig.Builder builderForValue)
public AnalyzeContentRequest.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 AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
OutputAudioConfig.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setRequestId(String value)
public AnalyzeContentRequest.Builder setRequestId(String value)
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if a request_id
is provided.
string request_id = 11;
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public AnalyzeContentRequest.Builder setRequestIdBytes(ByteString value)
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if a request_id
is provided.
string request_id = 11;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
This builder for chaining. |
setSuggestionInput(SuggestionInput value)
public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput value)
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Parameter | |
---|---|
Name | Description |
value |
SuggestionInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setSuggestionInput(SuggestionInput.Builder builderForValue)
public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput.Builder builderForValue)
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
Parameter | |
---|---|
Name | Description |
builderForValue |
SuggestionInput.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setTextInput(TextInput value)
public AnalyzeContentRequest.Builder setTextInput(TextInput value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Parameter | |
---|---|
Name | Description |
value |
TextInput |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setTextInput(TextInput.Builder builderForValue)
public AnalyzeContentRequest.Builder setTextInput(TextInput.Builder builderForValue)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
TextInput.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeContentRequest.Builder |