public static final class WebhookRequest.IntentInfo extends com.google.protobuf.GeneratedMessageV3 implements WebhookRequest.IntentInfoOrBuilder
Represents intent information communicated to the webhook.Protobuf type
google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookRequest.IntentInfo.Builder
Represents intent information communicated to the webhook.
|
static class |
WebhookRequest.IntentInfo.IntentParameterValue
Represents a value for an intent parameter.
|
static interface |
WebhookRequest.IntentInfo.IntentParameterValueOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LAST_MATCHED_INTENT_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsParameters(String key)
Parameters identified as a result of intent matching.
|
boolean |
equals(Object obj) |
float |
getConfidence()
The confidence of the matched intent.
|
static WebhookRequest.IntentInfo |
getDefaultInstance() |
WebhookRequest.IntentInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Always present.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Always present.
|
String |
getLastMatchedIntent()
Always present.
|
com.google.protobuf.ByteString |
getLastMatchedIntentBytes()
Always present.
|
Map<String,WebhookRequest.IntentInfo.IntentParameterValue> |
getParameters()
Deprecated.
|
int |
getParametersCount()
Parameters identified as a result of intent matching.
|
Map<String,WebhookRequest.IntentInfo.IntentParameterValue> |
getParametersMap()
Parameters identified as a result of intent matching.
|
WebhookRequest.IntentInfo.IntentParameterValue |
getParametersOrDefault(String key,
WebhookRequest.IntentInfo.IntentParameterValue defaultValue)
Parameters identified as a result of intent matching.
|
WebhookRequest.IntentInfo.IntentParameterValue |
getParametersOrThrow(String key)
Parameters identified as a result of intent matching.
|
com.google.protobuf.Parser<WebhookRequest.IntentInfo> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static WebhookRequest.IntentInfo.Builder |
newBuilder() |
static WebhookRequest.IntentInfo.Builder |
newBuilder(WebhookRequest.IntentInfo prototype) |
WebhookRequest.IntentInfo.Builder |
newBuilderForType() |
protected WebhookRequest.IntentInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WebhookRequest.IntentInfo |
parseDelimitedFrom(InputStream input) |
static WebhookRequest.IntentInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookRequest.IntentInfo |
parseFrom(byte[] data) |
static WebhookRequest.IntentInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookRequest.IntentInfo |
parseFrom(ByteBuffer data) |
static WebhookRequest.IntentInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookRequest.IntentInfo |
parseFrom(com.google.protobuf.ByteString data) |
static WebhookRequest.IntentInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookRequest.IntentInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WebhookRequest.IntentInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebhookRequest.IntentInfo |
parseFrom(InputStream input) |
static WebhookRequest.IntentInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WebhookRequest.IntentInfo> |
parser() |
WebhookRequest.IntentInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LAST_MATCHED_INTENT_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getLastMatchedIntent()
Always present. The unique identifier of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }getLastMatchedIntent in interface WebhookRequest.IntentInfoOrBuilderpublic com.google.protobuf.ByteString getLastMatchedIntentBytes()
Always present. The unique identifier of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }getLastMatchedIntentBytes in interface WebhookRequest.IntentInfoOrBuilderpublic String getDisplayName()
Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent].
string display_name = 3;getDisplayName in interface WebhookRequest.IntentInfoOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent].
string display_name = 3;getDisplayNameBytes in interface WebhookRequest.IntentInfoOrBuilderpublic int getParametersCount()
WebhookRequest.IntentInfoOrBuilderParameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
getParametersCount in interface WebhookRequest.IntentInfoOrBuilderpublic boolean containsParameters(String key)
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
containsParameters in interface WebhookRequest.IntentInfoOrBuilder@Deprecated public Map<String,WebhookRequest.IntentInfo.IntentParameterValue> getParameters()
getParametersMap() instead.getParameters in interface WebhookRequest.IntentInfoOrBuilderpublic Map<String,WebhookRequest.IntentInfo.IntentParameterValue> getParametersMap()
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
getParametersMap in interface WebhookRequest.IntentInfoOrBuilderpublic WebhookRequest.IntentInfo.IntentParameterValue getParametersOrDefault(String key, WebhookRequest.IntentInfo.IntentParameterValue defaultValue)
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
getParametersOrDefault in interface WebhookRequest.IntentInfoOrBuilderpublic WebhookRequest.IntentInfo.IntentParameterValue getParametersOrThrow(String key)
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
getParametersOrThrow in interface WebhookRequest.IntentInfoOrBuilderpublic float getConfidence()
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float confidence = 4;getConfidence in interface WebhookRequest.IntentInfoOrBuilderpublic 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 WebhookRequest.IntentInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookRequest.IntentInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookRequest.IntentInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookRequest.IntentInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookRequest.IntentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookRequest.IntentInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebhookRequest.IntentInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static WebhookRequest.IntentInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebhookRequest.IntentInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WebhookRequest.IntentInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebhookRequest.IntentInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WebhookRequest.IntentInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WebhookRequest.IntentInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WebhookRequest.IntentInfo.Builder newBuilder()
public static WebhookRequest.IntentInfo.Builder newBuilder(WebhookRequest.IntentInfo prototype)
public WebhookRequest.IntentInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WebhookRequest.IntentInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WebhookRequest.IntentInfo getDefaultInstance()
public static com.google.protobuf.Parser<WebhookRequest.IntentInfo> parser()
public com.google.protobuf.Parser<WebhookRequest.IntentInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WebhookRequest.IntentInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.