Package com.google.cloud.dialogflow.v2
Class StreamingAnalyzeContentResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse
- All Implemented Interfaces:
StreamingAnalyzeContentResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class StreamingAnalyzeContentResponse
extends com.google.protobuf.GeneratedMessage
implements StreamingAnalyzeContentResponseOrBuilder
The top-level message returned from the `StreamingAnalyzeContent` method. Multiple response messages can be returned in order: 1. If the input was set to streaming audio, the first one or more messages contain `recognition_result`. Each `recognition_result` represents a more complete transcript of what the user said. The last `recognition_result` has `is_final` set to `true`. 2. In virtual agent stage: if `enable_partial_automated_agent_reply` is true, the following N (currently 1 <= N <= 4) messages contain `automated_agent_reply` and optionally `reply_audio` returned by the virtual agent. The first (N-1) `automated_agent_reply`s will have `automated_agent_reply_type` set to `PARTIAL`. The last `automated_agent_reply` has `automated_agent_reply_type` set to `FINAL`. If `enable_partial_automated_agent_reply` is not enabled, response stream only contains the final reply. In human assist stage: the following N (N >= 1) messages contain `human_agent_suggestion_results`, `end_user_suggestion_results` or `message`.Protobuf type
google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe top-level message returned from the `StreamingAnalyzeContent` method.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanNote that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.static final com.google.protobuf.Descriptors.DescriptorIndicates the parameters of DTMF.Indicates the parameters of DTMF.getEndUserSuggestionResults(int index) The suggestions for end user.intThe suggestions for end user.The suggestions for end user.getEndUserSuggestionResultsOrBuilder(int index) The suggestions for end user.List<? extends SuggestionResultOrBuilder>The suggestions for end user.getHumanAgentSuggestionResults(int index) The suggestions for most recent human agent.intThe suggestions for most recent human agent.The suggestions for most recent human agent.getHumanAgentSuggestionResultsOrBuilder(int index) The suggestions for most recent human agent.List<? extends SuggestionResultOrBuilder>The suggestions for most recent human agent.Message analyzed by CCAI.Message analyzed by CCAI.com.google.protobuf.Parser<StreamingAnalyzeContentResponse>The result of speech recognition.The result of speech recognition.The audio data bytes encoded as specified in the request.The audio data bytes encoded as specified in the request.The output text content.com.google.protobuf.ByteStringThe output text content.intThe name of the actual Cloud speech model used for speech recognition.com.google.protobuf.ByteStringThe name of the actual Cloud speech model used for speech recognition.booleanNote that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.booleanDebugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.booleanIndicates the parameters of DTMF.inthashCode()booleanMessage analyzed by CCAI.booleanThe result of speech recognition.booleanThe audio data bytes encoded as specified in the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(StreamingAnalyzeContentResponse prototype) protected StreamingAnalyzeContentResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StreamingAnalyzeContentResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RECOGNITION_RESULT_FIELD_NUMBER
public static final int RECOGNITION_RESULT_FIELD_NUMBER- See Also:
-
REPLY_TEXT_FIELD_NUMBER
public static final int REPLY_TEXT_FIELD_NUMBER- See Also:
-
REPLY_AUDIO_FIELD_NUMBER
public static final int REPLY_AUDIO_FIELD_NUMBER- See Also:
-
AUTOMATED_AGENT_REPLY_FIELD_NUMBER
public static final int AUTOMATED_AGENT_REPLY_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
HUMAN_AGENT_SUGGESTION_RESULTS_FIELD_NUMBER
public static final int HUMAN_AGENT_SUGGESTION_RESULTS_FIELD_NUMBER- See Also:
-
END_USER_SUGGESTION_RESULTS_FIELD_NUMBER
public static final int END_USER_SUGGESTION_RESULTS_FIELD_NUMBER- See Also:
-
DTMF_PARAMETERS_FIELD_NUMBER
public static final int DTMF_PARAMETERS_FIELD_NUMBER- See Also:
-
DEBUGGING_INFO_FIELD_NUMBER
public static final int DEBUGGING_INFO_FIELD_NUMBER- See Also:
-
SPEECH_MODEL_FIELD_NUMBER
public static final int SPEECH_MODEL_FIELD_NUMBER- See Also:
-
-
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
-
hasRecognitionResult
public boolean hasRecognitionResult()The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;- Specified by:
hasRecognitionResultin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- Whether the recognitionResult field is set.
-
getRecognitionResult
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;- Specified by:
getRecognitionResultin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The recognitionResult.
-
getRecognitionResultOrBuilder
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;- Specified by:
getRecognitionResultOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getReplyText
The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;- Specified by:
getReplyTextin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The replyText.
-
getReplyTextBytes
public com.google.protobuf.ByteString getReplyTextBytes()The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;- Specified by:
getReplyTextBytesin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The bytes for replyText.
-
hasReplyAudio
public boolean hasReplyAudio()The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;- Specified by:
hasReplyAudioin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- Whether the replyAudio field is set.
-
getReplyAudio
The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;- Specified by:
getReplyAudioin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The replyAudio.
-
getReplyAudioOrBuilder
The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;- Specified by:
getReplyAudioOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasAutomatedAgentReply
public boolean hasAutomatedAgentReply()Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;- Specified by:
hasAutomatedAgentReplyin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- Whether the automatedAgentReply field is set.
-
getAutomatedAgentReply
Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;- Specified by:
getAutomatedAgentReplyin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The automatedAgentReply.
-
getAutomatedAgentReplyOrBuilder
Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;- Specified by:
getAutomatedAgentReplyOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasMessage
public boolean hasMessage()Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;- Specified by:
hasMessagein interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;- Specified by:
getMessagein interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The message.
-
getMessageOrBuilder
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;- Specified by:
getMessageOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsList
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;- Specified by:
getHumanAgentSuggestionResultsListin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsOrBuilderList
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;- Specified by:
getHumanAgentSuggestionResultsOrBuilderListin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsCount
public int getHumanAgentSuggestionResultsCount()The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;- Specified by:
getHumanAgentSuggestionResultsCountin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResults
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;- Specified by:
getHumanAgentSuggestionResultsin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsOrBuilder
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;- Specified by:
getHumanAgentSuggestionResultsOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsList
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;- Specified by:
getEndUserSuggestionResultsListin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsOrBuilderList
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;- Specified by:
getEndUserSuggestionResultsOrBuilderListin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsCount
public int getEndUserSuggestionResultsCount()The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;- Specified by:
getEndUserSuggestionResultsCountin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResults
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;- Specified by:
getEndUserSuggestionResultsin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsOrBuilder
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;- Specified by:
getEndUserSuggestionResultsOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasDtmfParameters
public boolean hasDtmfParameters()Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;- Specified by:
hasDtmfParametersin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- Whether the dtmfParameters field is set.
-
getDtmfParameters
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;- Specified by:
getDtmfParametersin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The dtmfParameters.
-
getDtmfParametersOrBuilder
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;- Specified by:
getDtmfParametersOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasDebuggingInfo
public boolean hasDebuggingInfo()Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;- Specified by:
hasDebuggingInfoin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- Whether the debuggingInfo field is set.
-
getDebuggingInfo
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;- Specified by:
getDebuggingInfoin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The debuggingInfo.
-
getDebuggingInfoOrBuilder
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;- Specified by:
getDebuggingInfoOrBuilderin interfaceStreamingAnalyzeContentResponseOrBuilder
-
getSpeechModel
The name of the actual Cloud speech model used for speech recognition.
string speech_model = 13;- Specified by:
getSpeechModelin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The speechModel.
-
getSpeechModelBytes
public com.google.protobuf.ByteString getSpeechModelBytes()The name of the actual Cloud speech model used for speech recognition.
string speech_model = 13;- Specified by:
getSpeechModelBytesin interfaceStreamingAnalyzeContentResponseOrBuilder- Returns:
- The bytes for speechModel.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 StreamingAnalyzeContentResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StreamingAnalyzeContentResponse parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StreamingAnalyzeContentResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StreamingAnalyzeContentResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static StreamingAnalyzeContentResponse.Builder newBuilder(StreamingAnalyzeContentResponse prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamingAnalyzeContentResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-