public final class SmartReplyData extends com.google.protobuf.GeneratedMessageV3 implements SmartReplyDataOrBuilder
Agent Assist Smart Reply data.Protobuf type
google.cloud.contactcenterinsights.v1.SmartReplyData| Modifier and Type | Class and Description |
|---|---|
static class |
SmartReplyData.Builder
Agent Assist Smart Reply data.
|
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_SCORE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
QUERY_RECORD_FIELD_NUMBER |
static int |
REPLY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
Map that contains metadata about the Smart Reply and the document from
which it originates.
|
boolean |
equals(Object obj) |
double |
getConfidenceScore()
The system's confidence score that this reply is a good match for this
conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
certain).
|
static SmartReplyData |
getDefaultInstance() |
SmartReplyData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Map that contains metadata about the Smart Reply and the document from
which it originates.
|
Map<String,String> |
getMetadataMap()
Map that contains metadata about the Smart Reply and the document from
which it originates.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Map that contains metadata about the Smart Reply and the document from
which it originates.
|
String |
getMetadataOrThrow(String key)
Map that contains metadata about the Smart Reply and the document from
which it originates.
|
com.google.protobuf.Parser<SmartReplyData> |
getParserForType() |
String |
getQueryRecord()
The name of the answer record.
|
com.google.protobuf.ByteString |
getQueryRecordBytes()
The name of the answer record.
|
String |
getReply()
The content of the reply.
|
com.google.protobuf.ByteString |
getReplyBytes()
The content of the reply.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static SmartReplyData.Builder |
newBuilder() |
static SmartReplyData.Builder |
newBuilder(SmartReplyData prototype) |
SmartReplyData.Builder |
newBuilderForType() |
protected SmartReplyData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SmartReplyData |
parseDelimitedFrom(InputStream input) |
static SmartReplyData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SmartReplyData |
parseFrom(byte[] data) |
static SmartReplyData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SmartReplyData |
parseFrom(ByteBuffer data) |
static SmartReplyData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SmartReplyData |
parseFrom(com.google.protobuf.ByteString data) |
static SmartReplyData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SmartReplyData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SmartReplyData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SmartReplyData |
parseFrom(InputStream input) |
static SmartReplyData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SmartReplyData> |
parser() |
SmartReplyData.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 REPLY_FIELD_NUMBER
public static final int CONFIDENCE_SCORE_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int QUERY_RECORD_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 getReply()
The content of the reply.
string reply = 1;getReply in interface SmartReplyDataOrBuilderpublic com.google.protobuf.ByteString getReplyBytes()
The content of the reply.
string reply = 1;getReplyBytes in interface SmartReplyDataOrBuilderpublic double getConfidenceScore()
The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
double confidence_score = 2;getConfidenceScore in interface SmartReplyDataOrBuilderpublic int getMetadataCount()
SmartReplyDataOrBuilderMap that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3;getMetadataCount in interface SmartReplyDataOrBuilderpublic boolean containsMetadata(String key)
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3;containsMetadata in interface SmartReplyDataOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface SmartReplyDataOrBuilderpublic Map<String,String> getMetadataMap()
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3;getMetadataMap in interface SmartReplyDataOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3;getMetadataOrDefault in interface SmartReplyDataOrBuilderpublic String getMetadataOrThrow(String key)
Map that contains metadata about the Smart Reply and the document from which it originates.
map<string, string> metadata = 3;getMetadataOrThrow in interface SmartReplyDataOrBuilderpublic String getQueryRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;getQueryRecord in interface SmartReplyDataOrBuilderpublic com.google.protobuf.ByteString getQueryRecordBytes()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;getQueryRecordBytes in interface SmartReplyDataOrBuilderpublic 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 SmartReplyData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SmartReplyData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SmartReplyData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SmartReplyData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SmartReplyData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SmartReplyData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SmartReplyData parseFrom(InputStream input) throws IOException
IOExceptionpublic static SmartReplyData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SmartReplyData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SmartReplyData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SmartReplyData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SmartReplyData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SmartReplyData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SmartReplyData.Builder newBuilder()
public static SmartReplyData.Builder newBuilder(SmartReplyData prototype)
public SmartReplyData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SmartReplyData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SmartReplyData getDefaultInstance()
public static com.google.protobuf.Parser<SmartReplyData> parser()
public com.google.protobuf.Parser<SmartReplyData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SmartReplyData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.