public static final class ConversationTurn.UserInput extends com.google.protobuf.GeneratedMessageV3 implements ConversationTurn.UserInputOrBuilder
The input from the human user.Protobuf type
google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationTurn.UserInput.Builder
The input from the human user.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER |
static int |
INJECTED_PARAMETERS_FIELD_NUMBER |
static int |
INPUT_FIELD_NUMBER |
static int |
IS_WEBHOOK_ENABLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ConversationTurn.UserInput |
getDefaultInstance() |
ConversationTurn.UserInput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableSentimentAnalysis()
Whether sentiment analysis is enabled.
|
com.google.protobuf.Struct |
getInjectedParameters()
Parameters that need to be injected into the conversation during intent
detection.
|
com.google.protobuf.StructOrBuilder |
getInjectedParametersOrBuilder()
Parameters that need to be injected into the conversation during intent
detection.
|
QueryInput |
getInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event],
[dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
|
QueryInputOrBuilder |
getInputOrBuilder()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event],
[dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
|
boolean |
getIsWebhookEnabled()
If webhooks should be allowed to trigger in response to the user
utterance.
|
com.google.protobuf.Parser<ConversationTurn.UserInput> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInjectedParameters()
Parameters that need to be injected into the conversation during intent
detection.
|
boolean |
hasInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event],
[dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConversationTurn.UserInput.Builder |
newBuilder() |
static ConversationTurn.UserInput.Builder |
newBuilder(ConversationTurn.UserInput prototype) |
ConversationTurn.UserInput.Builder |
newBuilderForType() |
protected ConversationTurn.UserInput.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConversationTurn.UserInput |
parseDelimitedFrom(InputStream input) |
static ConversationTurn.UserInput |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.UserInput |
parseFrom(byte[] data) |
static ConversationTurn.UserInput |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.UserInput |
parseFrom(ByteBuffer data) |
static ConversationTurn.UserInput |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.UserInput |
parseFrom(com.google.protobuf.ByteString data) |
static ConversationTurn.UserInput |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.UserInput |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConversationTurn.UserInput |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.UserInput |
parseFrom(InputStream input) |
static ConversationTurn.UserInput |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConversationTurn.UserInput> |
parser() |
ConversationTurn.UserInput.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUT_FIELD_NUMBER
public static final int INJECTED_PARAMETERS_FIELD_NUMBER
public static final int IS_WEBHOOK_ENABLED_FIELD_NUMBER
public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
.google.cloud.dialogflow.cx.v3.QueryInput input = 5;hasInput in interface ConversationTurn.UserInputOrBuilderpublic QueryInput getInput()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
.google.cloud.dialogflow.cx.v3.QueryInput input = 5;getInput in interface ConversationTurn.UserInputOrBuilderpublic QueryInputOrBuilder getInputOrBuilder()
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
.google.cloud.dialogflow.cx.v3.QueryInput input = 5;getInputOrBuilder in interface ConversationTurn.UserInputOrBuilderpublic boolean hasInjectedParameters()
Parameters that need to be injected into the conversation during intent detection.
.google.protobuf.Struct injected_parameters = 2;hasInjectedParameters in interface ConversationTurn.UserInputOrBuilderpublic com.google.protobuf.Struct getInjectedParameters()
Parameters that need to be injected into the conversation during intent detection.
.google.protobuf.Struct injected_parameters = 2;getInjectedParameters in interface ConversationTurn.UserInputOrBuilderpublic com.google.protobuf.StructOrBuilder getInjectedParametersOrBuilder()
Parameters that need to be injected into the conversation during intent detection.
.google.protobuf.Struct injected_parameters = 2;getInjectedParametersOrBuilder in interface ConversationTurn.UserInputOrBuilderpublic boolean getIsWebhookEnabled()
If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.
bool is_webhook_enabled = 3;getIsWebhookEnabled in interface ConversationTurn.UserInputOrBuilderpublic boolean getEnableSentimentAnalysis()
Whether sentiment analysis is enabled.
bool enable_sentiment_analysis = 7;getEnableSentimentAnalysis in interface ConversationTurn.UserInputOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConversationTurn.UserInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.UserInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.UserInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.UserInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.UserInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.UserInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.UserInput parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConversationTurn.UserInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConversationTurn.UserInput parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConversationTurn.UserInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConversationTurn.UserInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConversationTurn.UserInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConversationTurn.UserInput.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConversationTurn.UserInput.Builder newBuilder()
public static ConversationTurn.UserInput.Builder newBuilder(ConversationTurn.UserInput prototype)
public ConversationTurn.UserInput.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConversationTurn.UserInput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConversationTurn.UserInput getDefaultInstance()
public static com.google.protobuf.Parser<ConversationTurn.UserInput> parser()
public com.google.protobuf.Parser<ConversationTurn.UserInput> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConversationTurn.UserInput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.