Class StreamingAnalyzeContentResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse
-
- All Implemented Interfaces:
StreamingAnalyzeContentResponseOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class StreamingAnalyzeContentResponse extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StreamingAnalyzeContentResponse.Builder
The top-level message returned from the `StreamingAnalyzeContent` method.-
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
AUTOMATED_AGENT_REPLY_FIELD_NUMBER
static int
DEBUGGING_INFO_FIELD_NUMBER
static int
DTMF_PARAMETERS_FIELD_NUMBER
static int
END_USER_SUGGESTION_RESULTS_FIELD_NUMBER
static int
HUMAN_AGENT_SUGGESTION_RESULTS_FIELD_NUMBER
static int
MESSAGE_FIELD_NUMBER
static int
RECOGNITION_RESULT_FIELD_NUMBER
static int
REPLY_AUDIO_FIELD_NUMBER
static int
REPLY_TEXT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AutomatedAgentReply
getAutomatedAgentReply()
Optional.AutomatedAgentReplyOrBuilder
getAutomatedAgentReplyOrBuilder()
Optional.CloudConversationDebuggingInfo
getDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.CloudConversationDebuggingInfoOrBuilder
getDebuggingInfoOrBuilder()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.static StreamingAnalyzeContentResponse
getDefaultInstance()
StreamingAnalyzeContentResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
DtmfParameters
getDtmfParameters()
Indicates the parameters of DTMF.DtmfParametersOrBuilder
getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.SuggestionResult
getEndUserSuggestionResults(int index)
The suggestions for end user.int
getEndUserSuggestionResultsCount()
The suggestions for end user.List<SuggestionResult>
getEndUserSuggestionResultsList()
The suggestions for end user.SuggestionResultOrBuilder
getEndUserSuggestionResultsOrBuilder(int index)
The suggestions for end user.List<? extends SuggestionResultOrBuilder>
getEndUserSuggestionResultsOrBuilderList()
The suggestions for end user.SuggestionResult
getHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent.int
getHumanAgentSuggestionResultsCount()
The suggestions for most recent human agent.List<SuggestionResult>
getHumanAgentSuggestionResultsList()
The suggestions for most recent human agent.SuggestionResultOrBuilder
getHumanAgentSuggestionResultsOrBuilder(int index)
The suggestions for most recent human agent.List<? extends SuggestionResultOrBuilder>
getHumanAgentSuggestionResultsOrBuilderList()
The suggestions for most recent human agent.Message
getMessage()
Output only.MessageOrBuilder
getMessageOrBuilder()
Output only.com.google.protobuf.Parser<StreamingAnalyzeContentResponse>
getParserForType()
StreamingRecognitionResult
getRecognitionResult()
The result of speech recognition.StreamingRecognitionResultOrBuilder
getRecognitionResultOrBuilder()
The result of speech recognition.OutputAudio
getReplyAudio()
Optional.OutputAudioOrBuilder
getReplyAudioOrBuilder()
Optional.String
getReplyText()
Optional.com.google.protobuf.ByteString
getReplyTextBytes()
Optional.int
getSerializedSize()
boolean
hasAutomatedAgentReply()
Optional.boolean
hasDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.boolean
hasDtmfParameters()
Indicates the parameters of DTMF.int
hashCode()
boolean
hasMessage()
Output only.boolean
hasRecognitionResult()
The result of speech recognition.boolean
hasReplyAudio()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static StreamingAnalyzeContentResponse.Builder
newBuilder()
static StreamingAnalyzeContentResponse.Builder
newBuilder(StreamingAnalyzeContentResponse prototype)
StreamingAnalyzeContentResponse.Builder
newBuilderForType()
protected StreamingAnalyzeContentResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static StreamingAnalyzeContentResponse
parseDelimitedFrom(InputStream input)
static StreamingAnalyzeContentResponse
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentResponse
parseFrom(byte[] data)
static StreamingAnalyzeContentResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentResponse
parseFrom(com.google.protobuf.ByteString data)
static StreamingAnalyzeContentResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static StreamingAnalyzeContentResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentResponse
parseFrom(InputStream input)
static StreamingAnalyzeContentResponse
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static StreamingAnalyzeContentResponse
parseFrom(ByteBuffer data)
static StreamingAnalyzeContentResponse
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<StreamingAnalyzeContentResponse>
parser()
StreamingAnalyzeContentResponse.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
-
RECOGNITION_RESULT_FIELD_NUMBER
public static final int RECOGNITION_RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLY_TEXT_FIELD_NUMBER
public static final int REPLY_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLY_AUDIO_FIELD_NUMBER
public static final int REPLY_AUDIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOMATED_AGENT_REPLY_FIELD_NUMBER
public static final int AUTOMATED_AGENT_REPLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HUMAN_AGENT_SUGGESTION_RESULTS_FIELD_NUMBER
public static final int HUMAN_AGENT_SUGGESTION_RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_USER_SUGGESTION_RESULTS_FIELD_NUMBER
public static final int END_USER_SUGGESTION_RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DTMF_PARAMETERS_FIELD_NUMBER
public static final int DTMF_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEBUGGING_INFO_FIELD_NUMBER
public static final int 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
-
hasRecognitionResult
public boolean hasRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
- Specified by:
hasRecognitionResult
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- Whether the recognitionResult field is set.
-
getRecognitionResult
public StreamingRecognitionResult getRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
- Specified by:
getRecognitionResult
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The recognitionResult.
-
getRecognitionResultOrBuilder
public StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
- Specified by:
getRecognitionResultOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getReplyText
public String getReplyText()
Optional. 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:
getReplyText
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The replyText.
-
getReplyTextBytes
public com.google.protobuf.ByteString getReplyTextBytes()
Optional. 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:
getReplyTextBytes
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The bytes for replyText.
-
hasReplyAudio
public boolean hasReplyAudio()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
- Specified by:
hasReplyAudio
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- Whether the replyAudio field is set.
-
getReplyAudio
public OutputAudio getReplyAudio()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
- Specified by:
getReplyAudio
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The replyAudio.
-
getReplyAudioOrBuilder
public OutputAudioOrBuilder getReplyAudioOrBuilder()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
- Specified by:
getReplyAudioOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasAutomatedAgentReply
public boolean hasAutomatedAgentReply()
Optional. Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
- Specified by:
hasAutomatedAgentReply
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- Whether the automatedAgentReply field is set.
-
getAutomatedAgentReply
public AutomatedAgentReply getAutomatedAgentReply()
Optional. Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
- Specified by:
getAutomatedAgentReply
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The automatedAgentReply.
-
getAutomatedAgentReplyOrBuilder
public AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()
Optional. Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
- Specified by:
getAutomatedAgentReplyOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasMessage
public boolean hasMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
- Specified by:
hasMessage
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
public Message getMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
- Specified by:
getMessage
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The message.
-
getMessageOrBuilder
public MessageOrBuilder getMessageOrBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
- Specified by:
getMessageOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsList
public List<SuggestionResult> getHumanAgentSuggestionResultsList()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
- Specified by:
getHumanAgentSuggestionResultsList
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsOrBuilderList
public List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
- Specified by:
getHumanAgentSuggestionResultsOrBuilderList
in 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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
- Specified by:
getHumanAgentSuggestionResultsCount
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResults
public SuggestionResult getHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
- Specified by:
getHumanAgentSuggestionResults
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getHumanAgentSuggestionResultsOrBuilder
public SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
- Specified by:
getHumanAgentSuggestionResultsOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsList
public List<SuggestionResult> getEndUserSuggestionResultsList()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
- Specified by:
getEndUserSuggestionResultsList
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsOrBuilderList
public List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
- Specified by:
getEndUserSuggestionResultsOrBuilderList
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsCount
public int getEndUserSuggestionResultsCount()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
- Specified by:
getEndUserSuggestionResultsCount
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResults
public SuggestionResult getEndUserSuggestionResults(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
- Specified by:
getEndUserSuggestionResults
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
getEndUserSuggestionResultsOrBuilder
public SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
- Specified by:
getEndUserSuggestionResultsOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasDtmfParameters
public boolean hasDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
- Specified by:
hasDtmfParameters
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- Whether the dtmfParameters field is set.
-
getDtmfParameters
public DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
- Specified by:
getDtmfParameters
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The dtmfParameters.
-
getDtmfParametersOrBuilder
public DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
- Specified by:
getDtmfParametersOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
hasDebuggingInfo
public boolean hasDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
- Specified by:
hasDebuggingInfo
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- Whether the debuggingInfo field is set.
-
getDebuggingInfo
public CloudConversationDebuggingInfo getDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
- Specified by:
getDebuggingInfo
in interfaceStreamingAnalyzeContentResponseOrBuilder
- Returns:
- The debuggingInfo.
-
getDebuggingInfoOrBuilder
public CloudConversationDebuggingInfoOrBuilder getDebuggingInfoOrBuilder()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
- Specified by:
getDebuggingInfoOrBuilder
in interfaceStreamingAnalyzeContentResponseOrBuilder
-
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 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
public static StreamingAnalyzeContentResponse parseFrom(InputStream input) throws IOException
- 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
public StreamingAnalyzeContentResponse.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamingAnalyzeContentResponse.Builder newBuilder()
-
newBuilder
public static StreamingAnalyzeContentResponse.Builder newBuilder(StreamingAnalyzeContentResponse prototype)
-
toBuilder
public StreamingAnalyzeContentResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamingAnalyzeContentResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamingAnalyzeContentResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamingAnalyzeContentResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamingAnalyzeContentResponse> 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 StreamingAnalyzeContentResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-