Package com.google.cloud.dialogflow.v2
Class StreamingAnalyzeContentRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest
-
- All Implemented Interfaces:
StreamingAnalyzeContentRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class StreamingAnalyzeContentRequest extends com.google.protobuf.GeneratedMessageV3 implements StreamingAnalyzeContentRequestOrBuilder
The top-level message sent by the client to the [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] method. Multiple request messages should be sent in order: 1. The first message must contain [participant][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.participant], [config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] and optionally [query_params][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.query_params]. If you want to receive an audio response, it should also contain [reply_audio_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.reply_audio_config]. The message must not contain [input][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input]. 2. If [config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] in the first message was set to [audio_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.audio_config], all subsequent messages must contain [input_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_audio] to continue with Speech recognition. However, note that: * Dialogflow will bill you for the audio so far. * Dialogflow discards all Speech recognition results in favor of the text input. 3. If [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.config] in the first message was set to [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.text_config], then the second message must contain only [input_text][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.input_text]. Moreover, you must not send more than two messages. After you sent all input, you must half-close or abort the request stream.Protobuf typegoogle.cloud.dialogflow.v2.StreamingAnalyzeContentRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamingAnalyzeContentRequest.BuilderThe top-level message sent by the client to the [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] method.static classStreamingAnalyzeContentRequest.ConfigCasestatic classStreamingAnalyzeContentRequest.InputCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSIST_QUERY_PARAMS_FIELD_NUMBERstatic intAUDIO_CONFIG_FIELD_NUMBERstatic intCX_PARAMETERS_FIELD_NUMBERstatic intENABLE_DEBUGGING_INFO_FIELD_NUMBERstatic intENABLE_PARTIAL_AUTOMATED_AGENT_REPLY_FIELD_NUMBERstatic intINPUT_AUDIO_FIELD_NUMBERstatic intINPUT_DTMF_FIELD_NUMBERstatic intINPUT_TEXT_FIELD_NUMBERstatic intPARTICIPANT_FIELD_NUMBERstatic intQUERY_PARAMS_FIELD_NUMBERstatic intREPLY_AUDIO_CONFIG_FIELD_NUMBERstatic intTEXT_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AssistQueryParametersgetAssistQueryParams()Parameters for a human assist query.AssistQueryParametersOrBuildergetAssistQueryParamsOrBuilder()Parameters for a human assist query.InputAudioConfiggetAudioConfig()Instructs the speech recognizer how to process the speech audio.InputAudioConfigOrBuildergetAudioConfigOrBuilder()Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.ConfigCasegetConfigCase()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.static StreamingAnalyzeContentRequestgetDefaultInstance()StreamingAnalyzeContentRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnableDebuggingInfo()If true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.booleangetEnablePartialAutomatedAgentReply()Enable partial virtual agent responses.com.google.protobuf.ByteStringgetInputAudio()The input audio content to be recognized.StreamingAnalyzeContentRequest.InputCasegetInputCase()TelephonyDtmfEventsgetInputDtmf()The DTMF digits used to invoke intent and fill in parameter value.TelephonyDtmfEventsOrBuildergetInputDtmfOrBuilder()The DTMF digits used to invoke intent and fill in parameter value.StringgetInputText()The UTF-8 encoded natural language text to be processed.com.google.protobuf.ByteStringgetInputTextBytes()The UTF-8 encoded natural language text to be processed.com.google.protobuf.Parser<StreamingAnalyzeContentRequest>getParserForType()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.intgetSerializedSize()InputTextConfiggetTextConfig()The natural language text to be processed.InputTextConfigOrBuildergetTextConfigOrBuilder()The natural language text to be processed.booleanhasAssistQueryParams()Parameters for a human assist query.booleanhasAudioConfig()Instructs the speech recognizer how to process the speech audio.booleanhasCxParameters()Additional parameters to be put into Dialogflow CX session parameters.inthashCode()booleanhasInputAudio()The input audio content to be recognized.booleanhasInputDtmf()The DTMF digits used to invoke intent and fill in parameter value.booleanhasInputText()The UTF-8 encoded natural language text to be processed.booleanhasQueryParams()Parameters for a Dialogflow virtual-agent query.booleanhasReplyAudioConfig()Speech synthesis configuration.booleanhasTextConfig()The natural language text to be processed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamingAnalyzeContentRequest.BuildernewBuilder()static StreamingAnalyzeContentRequest.BuildernewBuilder(StreamingAnalyzeContentRequest prototype)StreamingAnalyzeContentRequest.BuildernewBuilderForType()protected StreamingAnalyzeContentRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamingAnalyzeContentRequestparseDelimitedFrom(InputStream input)static StreamingAnalyzeContentRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnalyzeContentRequestparseFrom(byte[] data)static StreamingAnalyzeContentRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnalyzeContentRequestparseFrom(com.google.protobuf.ByteString data)static StreamingAnalyzeContentRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnalyzeContentRequestparseFrom(com.google.protobuf.CodedInputStream input)static StreamingAnalyzeContentRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnalyzeContentRequestparseFrom(InputStream input)static StreamingAnalyzeContentRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnalyzeContentRequestparseFrom(ByteBuffer data)static StreamingAnalyzeContentRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamingAnalyzeContentRequest>parser()StreamingAnalyzeContentRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARTICIPANT_FIELD_NUMBER
public static final int PARTICIPANT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUDIO_CONFIG_FIELD_NUMBER
public static final int AUDIO_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_CONFIG_FIELD_NUMBER
public static final int TEXT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLY_AUDIO_CONFIG_FIELD_NUMBER
public static final int REPLY_AUDIO_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_AUDIO_FIELD_NUMBER
public static final int INPUT_AUDIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_TEXT_FIELD_NUMBER
public static final int INPUT_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_DTMF_FIELD_NUMBER
public static final int INPUT_DTMF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_PARAMS_FIELD_NUMBER
public static final int QUERY_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSIST_QUERY_PARAMS_FIELD_NUMBER
public static final int ASSIST_QUERY_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CX_PARAMETERS_FIELD_NUMBER
public static final int CX_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_PARTIAL_AUTOMATED_AGENT_REPLY_FIELD_NUMBER
public static final int ENABLE_PARTIAL_AUTOMATED_AGENT_REPLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_DEBUGGING_INFO_FIELD_NUMBER
public static final int ENABLE_DEBUGGING_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConfigCase
public StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
- Specified by:
getConfigCasein interfaceStreamingAnalyzeContentRequestOrBuilder
-
getInputCase
public StreamingAnalyzeContentRequest.InputCase getInputCase()
- Specified by:
getInputCasein interfaceStreamingAnalyzeContentRequestOrBuilder
-
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) = { ... }- Specified by:
getParticipantin interfaceStreamingAnalyzeContentRequestOrBuilder- 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 interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The bytes for participant.
-
hasAudioConfig
public boolean hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 2;- Specified by:
hasAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the audioConfig field is set.
-
getAudioConfig
public InputAudioConfig getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 2;- Specified by:
getAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The audioConfig.
-
getAudioConfigOrBuilder
public InputAudioConfigOrBuilder getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2.InputAudioConfig audio_config = 2;- Specified by:
getAudioConfigOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasTextConfig
public boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2.InputTextConfig text_config = 3;- Specified by:
hasTextConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the textConfig field is set.
-
getTextConfig
public InputTextConfig getTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2.InputTextConfig text_config = 3;- Specified by:
getTextConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The textConfig.
-
getTextConfigOrBuilder
public InputTextConfigOrBuilder getTextConfigOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2.InputTextConfig text_config = 3;- Specified by:
getTextConfigOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
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 StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 4;- Specified by:
hasReplyAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the replyAudioConfig field is set.
-
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 StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 4;- Specified by:
getReplyAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The replyAudioConfig.
-
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 StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 4;- Specified by:
getReplyAudioConfigOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasInputAudio
public boolean hasInputAudio()
The input audio content to be recognized. Must be sent if `audio_config` is set in the first message. The complete audio over all streaming messages must not exceed 1 minute.
bytes input_audio = 5;- Specified by:
hasInputAudioin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the inputAudio field is set.
-
getInputAudio
public com.google.protobuf.ByteString getInputAudio()
The input audio content to be recognized. Must be sent if `audio_config` is set in the first message. The complete audio over all streaming messages must not exceed 1 minute.
bytes input_audio = 5;- Specified by:
getInputAudioin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The inputAudio.
-
hasInputText
public boolean hasInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if `text_config` is set in the first message. Text length must not exceed 256 bytes for virtual agent interactions. The `input_text` field can be only sent once, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Specified by:
hasInputTextin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the inputText field is set.
-
getInputText
public String getInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if `text_config` is set in the first message. Text length must not exceed 256 bytes for virtual agent interactions. The `input_text` field can be only sent once, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Specified by:
getInputTextin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The inputText.
-
getInputTextBytes
public com.google.protobuf.ByteString getInputTextBytes()
The UTF-8 encoded natural language text to be processed. Must be sent if `text_config` is set in the first message. Text length must not exceed 256 bytes for virtual agent interactions. The `input_text` field can be only sent once, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Specified by:
getInputTextBytesin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The bytes for inputText.
-
hasInputDtmf
public boolean hasInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2.TelephonyDtmfEvents input_dtmf = 9;- Specified by:
hasInputDtmfin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the inputDtmf field is set.
-
getInputDtmf
public TelephonyDtmfEvents getInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2.TelephonyDtmfEvents input_dtmf = 9;- Specified by:
getInputDtmfin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The inputDtmf.
-
getInputDtmfOrBuilder
public TelephonyDtmfEventsOrBuilder getInputDtmfOrBuilder()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2.TelephonyDtmfEvents input_dtmf = 9;- Specified by:
getInputDtmfOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 7;- Specified by:
hasQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the queryParams field is set.
-
getQueryParams
public QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 7;- Specified by:
getQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The queryParams.
-
getQueryParamsOrBuilder
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 7;- Specified by:
getQueryParamsOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 8;- Specified by:
hasAssistQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 8;- Specified by:
getAssistQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The assistQueryParams.
-
getAssistQueryParamsOrBuilder
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 8;- Specified by:
getAssistQueryParamsOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
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 = 13;- Specified by:
hasCxParametersin interfaceStreamingAnalyzeContentRequestOrBuilder- 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 = 13;- Specified by:
getCxParametersin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The cxParameters.
-
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 = 13;- Specified by:
getCxParametersOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
getEnablePartialAutomatedAgentReply
public boolean getEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses. If this flag is not enabled, response stream still contains only one final response even if some `Fulfillment`s in Dialogflow virtual agent have been configured to return partial responses.
bool enable_partial_automated_agent_reply = 12;- Specified by:
getEnablePartialAutomatedAgentReplyin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The enablePartialAutomatedAgentReply.
-
getEnableDebuggingInfo
public boolean getEnableDebuggingInfo()
If true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;- Specified by:
getEnableDebuggingInfoin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The enableDebuggingInfo.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamingAnalyzeContentRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamingAnalyzeContentRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingAnalyzeContentRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StreamingAnalyzeContentRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamingAnalyzeContentRequest.Builder newBuilder()
-
newBuilder
public static StreamingAnalyzeContentRequest.Builder newBuilder(StreamingAnalyzeContentRequest prototype)
-
toBuilder
public StreamingAnalyzeContentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamingAnalyzeContentRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamingAnalyzeContentRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamingAnalyzeContentRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamingAnalyzeContentRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamingAnalyzeContentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-