Package com.google.cloud.dialogflow.v2
Interface AnalyzeContentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeContentRequest,AnalyzeContentRequest.Builder
public interface AnalyzeContentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssistQueryParametersgetAssistQueryParams()Parameters for a human assist query.AssistQueryParametersOrBuildergetAssistQueryParamsOrBuilder()Parameters for a human assist query.com.google.protobuf.StructgetCxParameters()Additional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.StructOrBuildergetCxParametersOrBuilder()Additional parameters to be put into Dialogflow CX session parameters.EventInputgetEventInput()An input event to send to Dialogflow.EventInputOrBuildergetEventInputOrBuilder()An input event to send to Dialogflow.AnalyzeContentRequest.InputCasegetInputCase()StringgetParticipant()Required.com.google.protobuf.ByteStringgetParticipantBytes()Required.QueryParametersgetQueryParams()Parameters for a Dialogflow virtual-agent query.QueryParametersOrBuildergetQueryParamsOrBuilder()Parameters for a Dialogflow virtual-agent query.OutputAudioConfiggetReplyAudioConfig()Speech synthesis configuration.OutputAudioConfigOrBuildergetReplyAudioConfigOrBuilder()Speech synthesis configuration.StringgetRequestId()A unique identifier for this request.com.google.protobuf.ByteStringgetRequestIdBytes()A unique identifier for this request.SuggestionInputgetSuggestionInput()An input representing the selection of a suggestion.SuggestionInputOrBuildergetSuggestionInputOrBuilder()An input representing the selection of a suggestion.TextInputgetTextInput()The natural language text to be processed.TextInputOrBuildergetTextInputOrBuilder()The natural language text to be processed.booleanhasAssistQueryParams()Parameters for a human assist query.booleanhasCxParameters()Additional parameters to be put into Dialogflow CX session parameters.booleanhasEventInput()An input event to send to Dialogflow.booleanhasQueryParams()Parameters for a Dialogflow virtual-agent query.booleanhasReplyAudioConfig()Speech synthesis configuration.booleanhasSuggestionInput()An input representing the selection of a suggestion.booleanhasTextInput()The natural language text to be processed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParticipant
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:
- The participant.
-
getParticipantBytes
com.google.protobuf.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:
- The bytes for participant.
-
hasTextInput
boolean hasTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2.TextInput text_input = 6;- Returns:
- Whether the textInput field is set.
-
getTextInput
TextInput getTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2.TextInput text_input = 6;- Returns:
- The textInput.
-
getTextInputOrBuilder
TextInputOrBuilder getTextInputOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2.TextInput text_input = 6;
-
hasEventInput
boolean hasEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2.EventInput event_input = 8;- Returns:
- Whether the eventInput field is set.
-
getEventInput
EventInput getEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2.EventInput event_input = 8;- Returns:
- The eventInput.
-
getEventInputOrBuilder
EventInputOrBuilder getEventInputOrBuilder()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2.EventInput event_input = 8;
-
hasSuggestionInput
boolean hasSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;- Returns:
- Whether the suggestionInput field is set.
-
getSuggestionInput
SuggestionInput getSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;- Returns:
- The suggestionInput.
-
getSuggestionInputOrBuilder
SuggestionInputOrBuilder getSuggestionInputOrBuilder()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;
-
hasReplyAudioConfig
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:
- Whether the replyAudioConfig field is set.
-
getReplyAudioConfig
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:
- The replyAudioConfig.
-
getReplyAudioConfigOrBuilder
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;
-
hasQueryParams
boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 9;- Returns:
- Whether the queryParams field is set.
-
getQueryParams
QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 9;- Returns:
- The queryParams.
-
getQueryParamsOrBuilder
QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 9;
-
hasAssistQueryParams
boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;- Returns:
- The assistQueryParams.
-
getAssistQueryParamsOrBuilder
AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;
-
hasCxParameters
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:
- Whether the cxParameters field is set.
-
getCxParameters
com.google.protobuf.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:
- The cxParameters.
-
getCxParametersOrBuilder
com.google.protobuf.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;
-
getRequestId
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:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.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:
- The bytes for requestId.
-
getInputCase
AnalyzeContentRequest.InputCase getInputCase()
-
-