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