- 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 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnalyzeContentRequest.Builder |
build()
public AnalyzeContentRequest build()
Type | Description |
AnalyzeContentRequest |
buildPartial()
public AnalyzeContentRequest buildPartial()
Type | Description |
AnalyzeContentRequest |
clear()
public AnalyzeContentRequest.Builder clear()
Type | Description |
AnalyzeContentRequest.Builder |
clearAssistQueryParams()
public AnalyzeContentRequest.Builder clearAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Type | Description |
AnalyzeContentRequest.Builder |
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;
Type | Description |
AnalyzeContentRequest.Builder |
clearEventInput()
public AnalyzeContentRequest.Builder clearEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Type | Description |
AnalyzeContentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AnalyzeContentRequest.Builder |
clearInput()
public AnalyzeContentRequest.Builder clearInput()
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;
Type | Description |
AnalyzeContentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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) = { ... }
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;
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;
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;
Type | Description |
AnalyzeContentRequest.Builder | This builder for chaining. |
clearTextInput()
public AnalyzeContentRequest.Builder clearTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Type | Description |
AnalyzeContentRequest.Builder |
clone()
public AnalyzeContentRequest.Builder clone()
Type | Description |
AnalyzeContentRequest.Builder |
getAssistQueryParams()
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
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;
Type | Description |
AssistQueryParameters.Builder |
getAssistQueryParamsOrBuilder()
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Type | Description |
AssistQueryParametersOrBuilder |
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;
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;
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;
Type | Description |
StructOrBuilder |
getDefaultInstanceForType()
public AnalyzeContentRequest getDefaultInstanceForType()
Type | Description |
AnalyzeContentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEventInput()
public EventInput getEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
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;
Type | Description |
EventInput.Builder |
getEventInputOrBuilder()
public EventInputOrBuilder getEventInputOrBuilder()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
Type | Description |
EventInputOrBuilder |
getInputCase()
public AnalyzeContentRequest.InputCase getInputCase()
Type | Description |
AnalyzeContentRequest.InputCase |
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;
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;
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;
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) = { ... }
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 = 9;
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;
Type | Description |
QueryParameters.Builder |
getQueryParamsOrBuilder()
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
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;
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for requestId. |
getTextInput()
public TextInput getTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
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;
Type | Description |
TextInput.Builder |
getTextInputOrBuilder()
public TextInputOrBuilder getTextInputOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Type | Description |
TextInputOrBuilder |
hasAssistQueryParams()
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
Type | Description |
boolean | Whether the assistQueryParams 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;
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;
Type | Description |
boolean | Whether the eventInput 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;
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;
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;
Type | Description |
boolean | Whether the replyAudioConfig field is set. |
hasTextInput()
public boolean hasTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Type | Description |
boolean | Whether the textInput field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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;
Name | Description |
value | AssistQueryParameters |
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;
Name | Description |
value | Struct |
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;
Name | Description |
value | EventInput |
Type | Description |
AnalyzeContentRequest.Builder |
mergeFrom(AnalyzeContentRequest other)
public AnalyzeContentRequest.Builder mergeFrom(AnalyzeContentRequest other)
Name | Description |
other | AnalyzeContentRequest |
Type | Description |
AnalyzeContentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AnalyzeContentRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzeContentRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
value | QueryParameters |
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;
Name | Description |
value | OutputAudioConfig |
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;
Name | Description |
value | TextInput |
Type | Description |
AnalyzeContentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | AssistQueryParameters |
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;
Name | Description |
builderForValue | AssistQueryParameters.Builder |
Type | Description |
AnalyzeContentRequest.Builder |
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;
Name | Description |
value | Struct |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | EventInput |
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;
Name | Description |
builderForValue | EventInput.Builder |
Type | Description |
AnalyzeContentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
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) = { ... }
Name | Description |
value | String The participant to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for participant to set. |
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;
Name | Description |
value | QueryParameters |
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;
Name | Description |
builderForValue | QueryParameters.Builder |
Type | Description |
AnalyzeContentRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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;
Name | Description |
value | OutputAudioConfig |
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;
Name | Description |
builderForValue | OutputAudioConfig.Builder |
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;
Name | Description |
value | String The requestId to set. |
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;
Name | Description |
value | ByteString The bytes for requestId to set. |
Type | Description |
AnalyzeContentRequest.Builder | This builder for chaining. |
setTextInput(TextInput value)
public AnalyzeContentRequest.Builder setTextInput(TextInput value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
Name | Description |
value | TextInput |
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;
Name | Description |
builderForValue | TextInput.Builder |
Type | Description |
AnalyzeContentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnalyzeContentRequest.Builder |