Package com.google.cloud.dialogflow.v2
Class AnalyzeContentRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.AnalyzeContentRequest
- All Implemented Interfaces:
AnalyzeContentRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AnalyzeContentRequest
extends com.google.protobuf.GeneratedMessage
implements AnalyzeContentRequestOrBuilder
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent].Protobuf type
google.cloud.dialogflow.v2.AnalyzeContentRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent].static enumNested 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 TypeMethodDescriptionbooleanParameters for a human assist query.Parameters for a human assist query.The natural language speech audio to be processed.The natural language speech audio to be processed.com.google.protobuf.StructAdditional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.StructOrBuilderAdditional parameters to be put into Dialogflow CX session parameters.static AnalyzeContentRequeststatic final com.google.protobuf.Descriptors.DescriptorAn input event to send to Dialogflow.An input event to send to Dialogflow.com.google.protobuf.Parser<AnalyzeContentRequest>Required.com.google.protobuf.ByteStringRequired.Parameters for a Dialogflow virtual-agent query.Parameters for a Dialogflow virtual-agent query.Speech synthesis configuration.Speech synthesis configuration.A unique identifier for this request.com.google.protobuf.ByteStringA unique identifier for this request.intAn input representing the selection of a suggestion.An input representing the selection of a suggestion.The natural language text to be processed.The natural language text to be processed.booleanParameters for a human assist query.booleanThe natural language speech audio to be processed.booleanAdditional parameters to be put into Dialogflow CX session parameters.booleanAn input event to send to Dialogflow.inthashCode()booleanParameters for a Dialogflow virtual-agent query.booleanSpeech synthesis configuration.booleanAn input representing the selection of a suggestion.booleanThe natural language text to be processed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(AnalyzeContentRequest prototype) protected AnalyzeContentRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AnalyzeContentRequestparseDelimitedFrom(InputStream input) static AnalyzeContentRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzeContentRequestparseFrom(byte[] data) static AnalyzeContentRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzeContentRequestparseFrom(com.google.protobuf.ByteString data) static AnalyzeContentRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzeContentRequestparseFrom(com.google.protobuf.CodedInputStream input) static AnalyzeContentRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzeContentRequestparseFrom(InputStream input) static AnalyzeContentRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnalyzeContentRequestparseFrom(ByteBuffer data) static AnalyzeContentRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AnalyzeContentRequest>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
-
PARTICIPANT_FIELD_NUMBER
public static final int PARTICIPANT_FIELD_NUMBER- See Also:
-
TEXT_INPUT_FIELD_NUMBER
public static final int TEXT_INPUT_FIELD_NUMBER- See Also:
-
AUDIO_INPUT_FIELD_NUMBER
public static final int AUDIO_INPUT_FIELD_NUMBER- See Also:
-
EVENT_INPUT_FIELD_NUMBER
public static final int EVENT_INPUT_FIELD_NUMBER- See Also:
-
SUGGESTION_INPUT_FIELD_NUMBER
public static final int SUGGESTION_INPUT_FIELD_NUMBER- See Also:
-
REPLY_AUDIO_CONFIG_FIELD_NUMBER
public static final int REPLY_AUDIO_CONFIG_FIELD_NUMBER- See Also:
-
QUERY_PARAMS_FIELD_NUMBER
public static final int QUERY_PARAMS_FIELD_NUMBER- See Also:
-
ASSIST_QUERY_PARAMS_FIELD_NUMBER
public static final int ASSIST_QUERY_PARAMS_FIELD_NUMBER- See Also:
-
CX_PARAMETERS_FIELD_NUMBER
public static final int CX_PARAMETERS_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_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
-
getInputCase
- Specified by:
getInputCasein interfaceAnalyzeContentRequestOrBuilder
-
getParticipant
Required. The name of the participant this text comes from. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParticipantin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The participant.
-
getParticipantBytes
public com.google.protobuf.ByteString getParticipantBytes()Required. The name of the participant this text comes from. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParticipantBytesin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The bytes for participant.
-
hasTextInput
public boolean hasTextInput()The natural language text to be processed.
.google.cloud.dialogflow.v2.TextInput text_input = 6;- Specified by:
hasTextInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the textInput field is set.
-
getTextInput
The natural language text to be processed.
.google.cloud.dialogflow.v2.TextInput text_input = 6;- Specified by:
getTextInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The textInput.
-
getTextInputOrBuilder
The natural language text to be processed.
.google.cloud.dialogflow.v2.TextInput text_input = 6;- Specified by:
getTextInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasAudioInput
public boolean hasAudioInput()The natural language speech audio to be processed.
.google.cloud.dialogflow.v2.AudioInput audio_input = 7;- Specified by:
hasAudioInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the audioInput field is set.
-
getAudioInput
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2.AudioInput audio_input = 7;- Specified by:
getAudioInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The audioInput.
-
getAudioInputOrBuilder
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2.AudioInput audio_input = 7;- Specified by:
getAudioInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasEventInput
public boolean hasEventInput()An input event to send to Dialogflow.
.google.cloud.dialogflow.v2.EventInput event_input = 8;- Specified by:
hasEventInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the eventInput field is set.
-
getEventInput
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2.EventInput event_input = 8;- Specified by:
getEventInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The eventInput.
-
getEventInputOrBuilder
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2.EventInput event_input = 8;- Specified by:
getEventInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasSuggestionInput
public boolean hasSuggestionInput()An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;- Specified by:
hasSuggestionInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the suggestionInput field is set.
-
getSuggestionInput
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;- Specified by:
getSuggestionInputin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The suggestionInput.
-
getSuggestionInputOrBuilder
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2.SuggestionInput suggestion_input = 12;- Specified by:
getSuggestionInputOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasReplyAudioConfig
public boolean hasReplyAudioConfig()Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;- Specified by:
hasReplyAudioConfigin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the replyAudioConfig field is set.
-
getReplyAudioConfig
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;- Specified by:
getReplyAudioConfigin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The replyAudioConfig.
-
getReplyAudioConfigOrBuilder
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;- Specified by:
getReplyAudioConfigOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 9;- Specified by:
hasQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the queryParams field is set.
-
getQueryParams
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 9;- Specified by:
getQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The queryParams.
-
getQueryParamsOrBuilder
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2.QueryParameters query_params = 9;- Specified by:
getQueryParamsOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;- Specified by:
hasAssistQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;- Specified by:
getAssistQueryParamsin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The assistQueryParams.
-
getAssistQueryParamsOrBuilder
Parameters for a human assist query.
.google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;- Specified by:
getAssistQueryParamsOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
hasCxParameters
public boolean hasCxParameters()Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 18;- Specified by:
hasCxParametersin interfaceAnalyzeContentRequestOrBuilder- Returns:
- Whether the cxParameters field is set.
-
getCxParameters
public com.google.protobuf.Struct getCxParameters()Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 18;- Specified by:
getCxParametersin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The cxParameters.
-
getCxParametersOrBuilder
public com.google.protobuf.StructOrBuilder getCxParametersOrBuilder()Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 18;- Specified by:
getCxParametersOrBuilderin interfaceAnalyzeContentRequestOrBuilder
-
getRequestId
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.
string request_id = 11;- Specified by:
getRequestIdin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.
string request_id = 11;- Specified by:
getRequestIdBytesin interfaceAnalyzeContentRequestOrBuilder- Returns:
- The bytes for requestId.
-
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 AnalyzeContentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AnalyzeContentRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AnalyzeContentRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AnalyzeContentRequest 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnalyzeContentRequest.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
-