Class AnalyzeContentRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder>
com.google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.Builder
- All Implemented Interfaces:
AnalyzeContentRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzeContentRequest
public static final class AnalyzeContentRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder>
implements AnalyzeContentRequestOrBuilder
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].Protobuf type
google.cloud.dialogflow.v2beta1.AnalyzeContentRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Parameters for a human assist query.The natural language speech audio to be processed.The unique identifier of the Dialogflow CX page to override the `current_page` in the session.Additional parameters to be put into Dialogflow CX session parameters.An input event to send to Dialogflow.The intent to be triggered on V3 agent.Optional.Required.Parameters for a Dialogflow virtual-agent query.Speech synthesis configuration.A unique identifier for this request.An input representing the selection of a suggestion.The natural language text to be processed.Parameters for a human assist query.Parameters for a human assist query.Parameters for a human assist query.The natural language speech audio to be processed.The natural language speech audio to be processed.The natural language speech audio to be processed.The unique identifier of the Dialogflow CX page to override the `current_page` in the session.com.google.protobuf.ByteStringThe unique identifier of the Dialogflow CX page to override the `current_page` in the session.com.google.protobuf.StructAdditional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.Struct.BuilderAdditional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.StructOrBuilderAdditional parameters to be put into Dialogflow CX session parameters.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAn input event to send to Dialogflow.An input event to send to Dialogflow.An input event to send to Dialogflow.The intent to be triggered on V3 agent.The intent to be triggered on V3 agent.The intent to be triggered on V3 agent.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.Required.com.google.protobuf.ByteStringRequired.Parameters for a Dialogflow virtual-agent query.Parameters for a Dialogflow virtual-agent query.Parameters for a Dialogflow virtual-agent query.Speech synthesis configuration.Speech synthesis configuration.Speech synthesis configuration.A unique identifier for this request.com.google.protobuf.ByteStringA unique identifier for this request.An input representing the selection of a suggestion.An input representing the selection of a suggestion.An input representing the selection of a suggestion.The natural language text to be processed.The natural language text to be processed.The natural language text to be processed.booleanParameters for a human assist query.booleanThe natural language speech audio to be processed.booleanAdditional parameters to be put into Dialogflow CX session parameters.booleanAn input event to send to Dialogflow.booleanThe intent to be triggered on V3 agent.booleanOptional.booleanParameters for a Dialogflow virtual-agent query.booleanSpeech synthesis configuration.booleanAn input representing the selection of a suggestion.booleanThe natural language text to be processed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanParameters for a human assist query.mergeAudioInput(AudioInput value) The natural language speech audio to be processed.mergeCxParameters(com.google.protobuf.Struct value) Additional parameters to be put into Dialogflow CX session parameters.mergeEventInput(EventInput value) An input event to send to Dialogflow.mergeFrom(AnalyzeContentRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIntentInput(IntentInput value) The intent to be triggered on V3 agent.mergeMessageSendTime(com.google.protobuf.Timestamp value) Optional.mergeQueryParams(QueryParameters value) Parameters for a Dialogflow virtual-agent query.Speech synthesis configuration.An input representing the selection of a suggestion.mergeTextInput(TextInput value) The natural language text to be processed.Parameters for a human assist query.setAssistQueryParams(AssistQueryParameters.Builder builderForValue) Parameters for a human assist query.setAudioInput(AudioInput value) The natural language speech audio to be processed.setAudioInput(AudioInput.Builder builderForValue) The natural language speech audio to be processed.setCxCurrentPage(String value) The unique identifier of the Dialogflow CX page to override the `current_page` in the session.setCxCurrentPageBytes(com.google.protobuf.ByteString value) The unique identifier of the Dialogflow CX page to override the `current_page` in the session.setCxParameters(com.google.protobuf.Struct value) Additional parameters to be put into Dialogflow CX session parameters.setCxParameters(com.google.protobuf.Struct.Builder builderForValue) Additional parameters to be put into Dialogflow CX session parameters.setEventInput(EventInput value) An input event to send to Dialogflow.setEventInput(EventInput.Builder builderForValue) An input event to send to Dialogflow.setIntentInput(IntentInput value) The intent to be triggered on V3 agent.setIntentInput(IntentInput.Builder builderForValue) The intent to be triggered on V3 agent.setMessageSendTime(com.google.protobuf.Timestamp value) Optional.setMessageSendTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.setParticipant(String value) Required.setParticipantBytes(com.google.protobuf.ByteString value) Required.setQueryParams(QueryParameters value) Parameters for a Dialogflow virtual-agent query.setQueryParams(QueryParameters.Builder builderForValue) Parameters for a Dialogflow virtual-agent query.Speech synthesis configuration.setReplyAudioConfig(OutputAudioConfig.Builder builderForValue) Speech synthesis configuration.setRequestId(String value) A unique identifier for this request.setRequestIdBytes(com.google.protobuf.ByteString value) A unique identifier for this request.An input representing the selection of a suggestion.setSuggestionInput(SuggestionInput.Builder builderForValue) An input representing the selection of a suggestion.setTextInput(TextInput value) The natural language text to be processed.setTextInput(TextInput.Builder builderForValue) The natural language text to be processed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeContentRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder>
-
mergeFrom
public AnalyzeContentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeContentRequest.Builder>- Throws:
IOException
-
getInputCase
- Specified by:
getInputCasein interfaceAnalyzeContentRequestOrBuilder
-
clearInput
-
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) = { ... }- Specified by:
getParticipantin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The participant.
-
getParticipantBytes
public 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) = { ... }- Specified by:
getParticipantBytesin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The bytes for participant.
-
setParticipant
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) = { ... }- Parameters:
value- The participant to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParticipantBytes
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) = { ... }- Parameters:
value- The bytes for participant to set.- Returns:
- This builder for chaining.
-
hasTextInput
public boolean hasTextInput()The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;- Specified by:
hasTextInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the textInput field is set.
-
getTextInput
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;- Specified by:
getTextInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The textInput.
-
setTextInput
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6; -
setTextInput
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6; -
mergeTextInput
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6; -
clearTextInput
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6; -
getTextInputBuilder
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6; -
getTextInputOrBuilder
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;- Specified by:
getTextInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasAudioInput
public boolean hasAudioInput()The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;- Specified by:
hasAudioInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the audioInput field is set.
-
getAudioInput
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;- Specified by:
getAudioInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The audioInput.
-
setAudioInput
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7; -
setAudioInput
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7; -
mergeAudioInput
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7; -
clearAudioInput
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7; -
getAudioInputBuilder
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7; -
getAudioInputOrBuilder
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;- Specified by:
getAudioInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasEventInput
public boolean hasEventInput()An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;- Specified by:
hasEventInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the eventInput field is set.
-
getEventInput
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;- Specified by:
getEventInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The eventInput.
-
setEventInput
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8; -
setEventInput
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8; -
mergeEventInput
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8; -
clearEventInput
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8; -
getEventInputBuilder
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8; -
getEventInputOrBuilder
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;- Specified by:
getEventInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasSuggestionInput
public boolean hasSuggestionInput()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;- Specified by:
hasSuggestionInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the suggestionInput field is set.
-
getSuggestionInput
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;- Specified by:
getSuggestionInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The suggestionInput.
-
setSuggestionInput
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12; -
setSuggestionInput
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12; -
mergeSuggestionInput
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12; -
clearSuggestionInput
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12; -
getSuggestionInputBuilder
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12; -
getSuggestionInputOrBuilder
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;- Specified by:
getSuggestionInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasIntentInput
public boolean hasIntentInput()The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;- Specified by:
hasIntentInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the intentInput field is set.
-
getIntentInput
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;- Specified by:
getIntentInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The intentInput.
-
setIntentInput
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13; -
setIntentInput
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13; -
mergeIntentInput
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13; -
clearIntentInput
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13; -
getIntentInputBuilder
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13; -
getIntentInputOrBuilder
The intent to be triggered on V3 agent.
.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;- Specified by:
getIntentInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
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;- Specified by:
hasReplyAudioConfigin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the replyAudioConfig field is set.
-
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;- Specified by:
getReplyAudioConfigin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The replyAudioConfig.
-
setReplyAudioConfig
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; -
setReplyAudioConfig
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; -
mergeReplyAudioConfig
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; -
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; -
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; -
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;- Specified by:
getReplyAudioConfigOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;- Specified by:
hasQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the queryParams field is set.
-
getQueryParams
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;- Specified by:
getQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The queryParams.
-
setQueryParams
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9; -
setQueryParams
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9; -
mergeQueryParams
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9; -
clearQueryParams
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9; -
getQueryParamsBuilder
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9; -
getQueryParamsOrBuilder
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;- Specified by:
getQueryParamsOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;- Specified by:
hasAssistQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;- Specified by:
getAssistQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The assistQueryParams.
-
setAssistQueryParams
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14; -
setAssistQueryParams
public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue) Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14; -
mergeAssistQueryParams
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14; -
clearAssistQueryParams
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14; -
getAssistQueryParamsBuilder
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14; -
getAssistQueryParamsOrBuilder
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;- Specified by:
getAssistQueryParamsOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
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;- Specified by:
hasCxParametersin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the cxParameters field is set.
-
getCxParameters
public 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;- Specified by:
getCxParametersin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The cxParameters.
-
setCxParameters
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; -
setCxParameters
public AnalyzeContentRequest.Builder setCxParameters(com.google.protobuf.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; -
mergeCxParameters
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; -
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; -
getCxParametersBuilder
public com.google.protobuf.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; -
getCxParametersOrBuilder
public 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;- Specified by:
getCxParametersOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
getCxCurrentPage
The unique identifier of the Dialogflow 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][QueryResult.current_page] and the [previous session parameters][QueryResult.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;- Specified by:
getCxCurrentPagein interfaceAnalyzeContentRequestOrBuilder- Returns:
- The cxCurrentPage.
-
getCxCurrentPageBytes
public com.google.protobuf.ByteString getCxCurrentPageBytes()The unique identifier of the Dialogflow 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][QueryResult.current_page] and the [previous session parameters][QueryResult.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;- Specified by:
getCxCurrentPageBytesin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The bytes for cxCurrentPage.
-
setCxCurrentPage
The unique identifier of the Dialogflow 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][QueryResult.current_page] and the [previous session parameters][QueryResult.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;- Parameters:
value- The cxCurrentPage to set.- Returns:
- This builder for chaining.
-
clearCxCurrentPage
The unique identifier of the Dialogflow 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][QueryResult.current_page] and the [previous session parameters][QueryResult.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:
- This builder for chaining.
-
setCxCurrentPageBytes
The unique identifier of the Dialogflow 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][QueryResult.current_page] and the [previous session parameters][QueryResult.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;- Parameters:
value- The bytes for cxCurrentPage to set.- Returns:
- This builder for chaining.
-
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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMessageSendTimein interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the messageSendTime field is set.
-
getMessageSendTime
public com.google.protobuf.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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessageSendTimein interfaceAnalyzeContentRequestOrBuilder- Returns:
- The messageSendTime.
-
setMessageSendTime
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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL]; -
setMessageSendTime
public AnalyzeContentRequest.Builder setMessageSendTime(com.google.protobuf.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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL]; -
mergeMessageSendTime
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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL]; -
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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL]; -
getMessageSendTimeBuilder
public com.google.protobuf.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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL]; -
getMessageSendTimeOrBuilder
public com.google.protobuf.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. For BatchCreateMessages API only: 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessageSendTimeOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
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;- Specified by:
getRequestIdin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public 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;- Specified by:
getRequestIdBytesin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
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;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setRequestIdBytes
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;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-