Class AnalyzeContentRequest.Builder (4.20.0)

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

Static 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
Overrides

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
Overrides

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
Overrides

clearInput()

public AnalyzeContentRequest.Builder clearInput()
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;

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
Overrides

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.

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
Overrides

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
Overrides

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

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;

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;

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;

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.

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.

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;

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.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeContentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeContentRequest.Builder
Overrides

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;

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

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
Overrides

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
Overrides

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;

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;

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
Overrides

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.

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
Overrides