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 class
StreamingAnalyzeContentRequest.Builder
The top-level message sent by the client to the [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] method.static class
StreamingAnalyzeContentRequest.ConfigCase
static class
StreamingAnalyzeContentRequest.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 int
ASSIST_QUERY_PARAMS_FIELD_NUMBER
static int
AUDIO_CONFIG_FIELD_NUMBER
static int
CX_PARAMETERS_FIELD_NUMBER
static int
ENABLE_DEBUGGING_INFO_FIELD_NUMBER
static int
ENABLE_PARTIAL_AUTOMATED_AGENT_REPLY_FIELD_NUMBER
static int
INPUT_AUDIO_FIELD_NUMBER
static int
INPUT_DTMF_FIELD_NUMBER
static int
INPUT_TEXT_FIELD_NUMBER
static int
PARTICIPANT_FIELD_NUMBER
static int
QUERY_PARAMS_FIELD_NUMBER
static int
REPLY_AUDIO_CONFIG_FIELD_NUMBER
static int
TEXT_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AssistQueryParameters
getAssistQueryParams()
Parameters for a human assist query.AssistQueryParametersOrBuilder
getAssistQueryParamsOrBuilder()
Parameters for a human assist query.InputAudioConfig
getAudioConfig()
Instructs the speech recognizer how to process the speech audio.InputAudioConfigOrBuilder
getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.ConfigCase
getConfigCase()
com.google.protobuf.Struct
getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.StructOrBuilder
getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters.static StreamingAnalyzeContentRequest
getDefaultInstance()
StreamingAnalyzeContentRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getEnableDebuggingInfo()
If true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.boolean
getEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses.com.google.protobuf.ByteString
getInputAudio()
The input audio content to be recognized.StreamingAnalyzeContentRequest.InputCase
getInputCase()
TelephonyDtmfEvents
getInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value.TelephonyDtmfEventsOrBuilder
getInputDtmfOrBuilder()
The DTMF digits used to invoke intent and fill in parameter value.String
getInputText()
The UTF-8 encoded natural language text to be processed.com.google.protobuf.ByteString
getInputTextBytes()
The UTF-8 encoded natural language text to be processed.com.google.protobuf.Parser<StreamingAnalyzeContentRequest>
getParserForType()
String
getParticipant()
Required.com.google.protobuf.ByteString
getParticipantBytes()
Required.QueryParameters
getQueryParams()
Parameters for a Dialogflow virtual-agent query.QueryParametersOrBuilder
getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.OutputAudioConfig
getReplyAudioConfig()
Speech synthesis configuration.OutputAudioConfigOrBuilder
getReplyAudioConfigOrBuilder()
Speech synthesis configuration.int
getSerializedSize()
InputTextConfig
getTextConfig()
The natural language text to be processed.InputTextConfigOrBuilder
getTextConfigOrBuilder()
The natural language text to be processed.boolean
hasAssistQueryParams()
Parameters for a human assist query.boolean
hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.boolean
hasCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.int
hashCode()
boolean
hasInputAudio()
The input audio content to be recognized.boolean
hasInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value.boolean
hasInputText()
The UTF-8 encoded natural language text to be processed.boolean
hasQueryParams()
Parameters for a Dialogflow virtual-agent query.boolean
hasReplyAudioConfig()
Speech synthesis configuration.boolean
hasTextConfig()
The natural language text to be processed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static StreamingAnalyzeContentRequest.Builder
newBuilder()
static StreamingAnalyzeContentRequest.Builder
newBuilder(StreamingAnalyzeContentRequest prototype)
StreamingAnalyzeContentRequest.Builder
newBuilderForType()
protected StreamingAnalyzeContentRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static StreamingAnalyzeContentRequest
parseDelimitedFrom(InputStream input)
static StreamingAnalyzeContentRequest
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentRequest
parseFrom(byte[] data)
static StreamingAnalyzeContentRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentRequest
parseFrom(com.google.protobuf.ByteString data)
static StreamingAnalyzeContentRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static StreamingAnalyzeContentRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentRequest
parseFrom(InputStream input)
static StreamingAnalyzeContentRequest
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentRequest
parseFrom(ByteBuffer data)
static StreamingAnalyzeContentRequest
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<StreamingAnalyzeContentRequest>
parser()
StreamingAnalyzeContentRequest.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getConfigCase
public StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
- Specified by:
getConfigCase
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
getInputCase
public StreamingAnalyzeContentRequest.InputCase getInputCase()
- Specified by:
getInputCase
in 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:
getParticipant
in 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:
getParticipantBytes
in 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:
hasAudioConfig
in 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:
getAudioConfig
in 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:
getAudioConfigOrBuilder
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasTextConfig
public boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2.InputTextConfig text_config = 3;
- Specified by:
hasTextConfig
in 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:
getTextConfig
in 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:
getTextConfigOrBuilder
in 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:
hasReplyAudioConfig
in 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:
getReplyAudioConfig
in 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:
getReplyAudioConfigOrBuilder
in 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:
hasInputAudio
in 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:
getInputAudio
in 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:
hasInputText
in 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:
getInputText
in 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:
getInputTextBytes
in 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:
hasInputDtmf
in 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:
getInputDtmf
in 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:
getInputDtmfOrBuilder
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 7;
- Specified by:
hasQueryParams
in 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:
getQueryParams
in 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:
getQueryParamsOrBuilder
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 8;
- Specified by:
hasAssistQueryParams
in 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:
getAssistQueryParams
in 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:
getAssistQueryParamsOrBuilder
in 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:
hasCxParameters
in 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:
getCxParameters
in 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:
getCxParametersOrBuilder
in 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:
getEnablePartialAutomatedAgentReply
in interfaceStreamingAnalyzeContentRequestOrBuilder
- Returns:
- The enablePartialAutomatedAgentReply.
-
getEnableDebuggingInfo
public boolean getEnableDebuggingInfo()
If true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;
- Specified by:
getEnableDebuggingInfo
in interfaceStreamingAnalyzeContentRequestOrBuilder
- Returns:
- The enableDebuggingInfo.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamingAnalyzeContentRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamingAnalyzeContentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-