Class AnalyzeContentRequest.Builder (4.47.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.v2.AnalyzeContentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

build()

public AnalyzeContentRequest build()
Returns
TypeDescription
AnalyzeContentRequest

buildPartial()

public AnalyzeContentRequest buildPartial()
Returns
TypeDescription
AnalyzeContentRequest

clear()

public AnalyzeContentRequest.Builder clear()
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

clearAssistQueryParams()

public AnalyzeContentRequest.Builder clearAssistQueryParams()

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Returns
TypeDescription
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;

Returns
TypeDescription
AnalyzeContentRequest.Builder

clearEventInput()

public AnalyzeContentRequest.Builder clearEventInput()

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Returns
TypeDescription
AnalyzeContentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

clearInput()

public AnalyzeContentRequest.Builder clearInput()
Returns
TypeDescription
AnalyzeContentRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AnalyzeContentRequest.Builder

This builder for chaining.

clearQueryParams()

public AnalyzeContentRequest.Builder clearQueryParams()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Returns
TypeDescription
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
TypeDescription
AnalyzeContentRequest.Builder

This builder for chaining.

clearSuggestionInput()

public AnalyzeContentRequest.Builder clearSuggestionInput()

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Returns
TypeDescription
AnalyzeContentRequest.Builder

clearTextInput()

public AnalyzeContentRequest.Builder clearTextInput()

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Returns
TypeDescription
AnalyzeContentRequest.Builder

clone()

public AnalyzeContentRequest.Builder clone()
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

getAssistQueryParams()

public AssistQueryParameters getAssistQueryParams()

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Returns
TypeDescription
AssistQueryParameters

The assistQueryParams.

getAssistQueryParamsBuilder()

public AssistQueryParameters.Builder getAssistQueryParamsBuilder()

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Returns
TypeDescription
AssistQueryParameters.Builder

getAssistQueryParamsOrBuilder()

public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Returns
TypeDescription
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;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public AnalyzeContentRequest getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeContentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEventInput()

public EventInput getEventInput()

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Returns
TypeDescription
EventInput

The eventInput.

getEventInputBuilder()

public EventInput.Builder getEventInputBuilder()

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Returns
TypeDescription
EventInput.Builder

getEventInputOrBuilder()

public EventInputOrBuilder getEventInputOrBuilder()

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Returns
TypeDescription
EventInputOrBuilder

getInputCase()

public AnalyzeContentRequest.InputCase getInputCase()
Returns
TypeDescription
AnalyzeContentRequest.InputCase

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
TypeDescription
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
TypeDescription
ByteString

The bytes for participant.

getQueryParams()

public QueryParameters getQueryParams()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Returns
TypeDescription
QueryParameters

The queryParams.

getQueryParamsBuilder()

public QueryParameters.Builder getQueryParamsBuilder()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Returns
TypeDescription
QueryParameters.Builder

getQueryParamsOrBuilder()

public QueryParametersOrBuilder getQueryParamsOrBuilder()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for requestId.

getSuggestionInput()

public SuggestionInput getSuggestionInput()

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Returns
TypeDescription
SuggestionInput

The suggestionInput.

getSuggestionInputBuilder()

public SuggestionInput.Builder getSuggestionInputBuilder()

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Returns
TypeDescription
SuggestionInput.Builder

getSuggestionInputOrBuilder()

public SuggestionInputOrBuilder getSuggestionInputOrBuilder()

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Returns
TypeDescription
SuggestionInputOrBuilder

getTextInput()

public TextInput getTextInput()

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Returns
TypeDescription
TextInput

The textInput.

getTextInputBuilder()

public TextInput.Builder getTextInputBuilder()

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Returns
TypeDescription
TextInput.Builder

getTextInputOrBuilder()

public TextInputOrBuilder getTextInputOrBuilder()

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Returns
TypeDescription
TextInputOrBuilder

hasAssistQueryParams()

public boolean hasAssistQueryParams()

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the cxParameters field is set.

hasEventInput()

public boolean hasEventInput()

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Returns
TypeDescription
boolean

Whether the eventInput field is set.

hasQueryParams()

public boolean hasQueryParams()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Returns
TypeDescription
boolean

Whether the replyAudioConfig field is set.

hasSuggestionInput()

public boolean hasSuggestionInput()

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Returns
TypeDescription
boolean

Whether the suggestionInput field is set.

hasTextInput()

public boolean hasTextInput()

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Returns
TypeDescription
boolean

Whether the textInput field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAssistQueryParams(AssistQueryParameters value)

public AnalyzeContentRequest.Builder mergeAssistQueryParams(AssistQueryParameters value)

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Parameter
NameDescription
valueAssistQueryParameters
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
AnalyzeContentRequest.Builder

mergeEventInput(EventInput value)

public AnalyzeContentRequest.Builder mergeEventInput(EventInput value)

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Parameter
NameDescription
valueEventInput
Returns
TypeDescription
AnalyzeContentRequest.Builder

mergeFrom(AnalyzeContentRequest other)

public AnalyzeContentRequest.Builder mergeFrom(AnalyzeContentRequest other)
Parameter
NameDescription
otherAnalyzeContentRequest
Returns
TypeDescription
AnalyzeContentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AnalyzeContentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

mergeQueryParams(QueryParameters value)

public AnalyzeContentRequest.Builder mergeQueryParams(QueryParameters value)

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Parameter
NameDescription
valueQueryParameters
Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Parameter
NameDescription
valueOutputAudioConfig
Returns
TypeDescription
AnalyzeContentRequest.Builder

mergeSuggestionInput(SuggestionInput value)

public AnalyzeContentRequest.Builder mergeSuggestionInput(SuggestionInput value)

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Parameter
NameDescription
valueSuggestionInput
Returns
TypeDescription
AnalyzeContentRequest.Builder

mergeTextInput(TextInput value)

public AnalyzeContentRequest.Builder mergeTextInput(TextInput value)

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Parameter
NameDescription
valueTextInput
Returns
TypeDescription
AnalyzeContentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

setAssistQueryParams(AssistQueryParameters value)

public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters value)

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Parameter
NameDescription
valueAssistQueryParameters
Returns
TypeDescription
AnalyzeContentRequest.Builder

setAssistQueryParams(AssistQueryParameters.Builder builderForValue)

public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue)

Parameters for a human assist query.

.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;

Parameter
NameDescription
builderForValueAssistQueryParameters.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AnalyzeContentRequest.Builder

setEventInput(EventInput value)

public AnalyzeContentRequest.Builder setEventInput(EventInput value)

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Parameter
NameDescription
valueEventInput
Returns
TypeDescription
AnalyzeContentRequest.Builder

setEventInput(EventInput.Builder builderForValue)

public AnalyzeContentRequest.Builder setEventInput(EventInput.Builder builderForValue)

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.EventInput event_input = 8;

Parameter
NameDescription
builderForValueEventInput.Builder
Returns
TypeDescription
AnalyzeContentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides

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
NameDescription
valueString

The participant to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for participant to set.

Returns
TypeDescription
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.v2.QueryParameters query_params = 9;

Parameter
NameDescription
valueQueryParameters
Returns
TypeDescription
AnalyzeContentRequest.Builder

setQueryParams(QueryParameters.Builder builderForValue)

public AnalyzeContentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.QueryParameters query_params = 9;

Parameter
NameDescription
builderForValueQueryParameters.Builder
Returns
TypeDescription
AnalyzeContentRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Parameter
NameDescription
valueOutputAudioConfig
Returns
TypeDescription
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.v2.OutputAudioConfig reply_audio_config = 5;

Parameter
NameDescription
builderForValueOutputAudioConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
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.v2.SuggestionInput suggestion_input = 12;

Parameter
NameDescription
valueSuggestionInput
Returns
TypeDescription
AnalyzeContentRequest.Builder

setSuggestionInput(SuggestionInput.Builder builderForValue)

public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput.Builder builderForValue)

An input representing the selection of a suggestion.

.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;

Parameter
NameDescription
builderForValueSuggestionInput.Builder
Returns
TypeDescription
AnalyzeContentRequest.Builder

setTextInput(TextInput value)

public AnalyzeContentRequest.Builder setTextInput(TextInput value)

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Parameter
NameDescription
valueTextInput
Returns
TypeDescription
AnalyzeContentRequest.Builder

setTextInput(TextInput.Builder builderForValue)

public AnalyzeContentRequest.Builder setTextInput(TextInput.Builder builderForValue)

The natural language text to be processed.

.google.cloud.dialogflow.v2.TextInput text_input = 6;

Parameter
NameDescription
builderForValueTextInput.Builder
Returns
TypeDescription
AnalyzeContentRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeContentRequest.Builder
Overrides