Class AnalyzeContentRequest.Builder (4.43.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
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.v2.AssistQueryParameters assist_query_params = 14;

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

Returns
Type Description
AnalyzeContentRequest.Builder

clearEventInput()

public AnalyzeContentRequest.Builder clearEventInput()

An input event to send to Dialogflow.

.google.cloud.dialogflow.v2.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

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

Returns
Type Description
AnalyzeContentRequest.Builder

clearRequestId()

public AnalyzeContentRequest.Builder clearRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a request_id is provided.

string request_id = 11;

Returns
Type Description
AnalyzeContentRequest.Builder

This builder for chaining.

clearSuggestionInput()

public AnalyzeContentRequest.Builder clearSuggestionInput()

An input representing the selection of a suggestion.

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

Returns
Type Description
AnalyzeContentRequest.Builder

clearTextInput()

public AnalyzeContentRequest.Builder clearTextInput()

The natural language text to be processed.

.google.cloud.dialogflow.v2.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.v2.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.v2.AssistQueryParameters assist_query_params = 14;

Returns
Type Description
AssistQueryParameters.Builder

getAssistQueryParamsOrBuilder()

public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()

Parameters for a human assist query.

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

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

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.v2.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.v2.EventInput event_input = 8;

Returns
Type Description
EventInput.Builder

getEventInputOrBuilder()

public EventInputOrBuilder getEventInputOrBuilder()

An input event to send to Dialogflow.

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

Returns
Type Description
EventInputOrBuilder

getInputCase()

public AnalyzeContentRequest.InputCase getInputCase()
Returns
Type Description
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
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.v2.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.v2.QueryParameters query_params = 9;

Returns
Type Description
QueryParameters.Builder

getQueryParamsOrBuilder()

public QueryParametersOrBuilder getQueryParamsOrBuilder()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2.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.v2.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.v2.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.v2.OutputAudioConfig reply_audio_config = 5;

Returns
Type Description
OutputAudioConfigOrBuilder

getRequestId()

public String getRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a request_id is provided.

string request_id = 11;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a request_id is provided.

string request_id = 11;

Returns
Type Description
ByteString

The bytes for requestId.

getSuggestionInput()

public SuggestionInput getSuggestionInput()

An input representing the selection of a suggestion.

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

Returns
Type Description
SuggestionInput

The suggestionInput.

getSuggestionInputBuilder()

public SuggestionInput.Builder getSuggestionInputBuilder()

An input representing the selection of a suggestion.

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

Returns
Type Description
SuggestionInput.Builder

getSuggestionInputOrBuilder()

public SuggestionInputOrBuilder getSuggestionInputOrBuilder()

An input representing the selection of a suggestion.

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

Returns
Type Description
SuggestionInputOrBuilder

getTextInput()

public TextInput getTextInput()

The natural language text to be processed.

.google.cloud.dialogflow.v2.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.v2.TextInput text_input = 6;

Returns
Type Description
TextInput.Builder

getTextInputOrBuilder()

public TextInputOrBuilder getTextInputOrBuilder()

The natural language text to be processed.

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

Returns
Type Description
TextInputOrBuilder

hasAssistQueryParams()

public boolean hasAssistQueryParams()

Parameters for a human assist query.

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

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

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

Returns
Type Description
boolean

Whether the replyAudioConfig field is set.

hasSuggestionInput()

public boolean hasSuggestionInput()

An input representing the selection of a suggestion.

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

Returns
Type Description
boolean

Whether the suggestionInput field is set.

hasTextInput()

public boolean hasTextInput()

The natural language text to be processed.

.google.cloud.dialogflow.v2.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.v2.AssistQueryParameters assist_query_params = 14;

Parameter
Name Description
value AssistQueryParameters
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.v2.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

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

Parameter
Name Description
value OutputAudioConfig
Returns
Type Description
AnalyzeContentRequest.Builder

mergeSuggestionInput(SuggestionInput value)

public AnalyzeContentRequest.Builder mergeSuggestionInput(SuggestionInput value)

An input representing the selection of a suggestion.

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

Parameter
Name Description
value SuggestionInput
Returns
Type Description
AnalyzeContentRequest.Builder

mergeTextInput(TextInput value)

public AnalyzeContentRequest.Builder mergeTextInput(TextInput value)

The natural language text to be processed.

.google.cloud.dialogflow.v2.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.v2.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.v2.AssistQueryParameters assist_query_params = 14;

Parameter
Name Description
builderForValue AssistQueryParameters.Builder
Returns
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;

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.v2.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.v2.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

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

Parameter
Name Description
builderForValue OutputAudioConfig.Builder
Returns
Type Description
AnalyzeContentRequest.Builder

setRequestId(String value)

public AnalyzeContentRequest.Builder setRequestId(String value)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a request_id is provided.

string request_id = 11;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
AnalyzeContentRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public AnalyzeContentRequest.Builder setRequestIdBytes(ByteString value)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a request_id is provided.

string request_id = 11;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
AnalyzeContentRequest.Builder

This builder for chaining.

setSuggestionInput(SuggestionInput value)

public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput value)

An input representing the selection of a suggestion.

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

Parameter
Name Description
value SuggestionInput
Returns
Type Description
AnalyzeContentRequest.Builder

setSuggestionInput(SuggestionInput.Builder builderForValue)

public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput.Builder builderForValue)

An input representing the selection of a suggestion.

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

Parameter
Name Description
builderForValue SuggestionInput.Builder
Returns
Type Description
AnalyzeContentRequest.Builder

setTextInput(TextInput value)

public AnalyzeContentRequest.Builder setTextInput(TextInput value)

The natural language text to be processed.

.google.cloud.dialogflow.v2.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.v2.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