public final class ArticleSuggestionData extends com.google.protobuf.GeneratedMessageV3 implements ArticleSuggestionDataOrBuilder
Agent Assist Article Suggestion data.Protobuf type
google.cloud.contactcenterinsights.v1.ArticleSuggestionData| Modifier and Type | Class and Description |
|---|---|
static class |
ArticleSuggestionData.Builder
Agent Assist Article 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 |
SOURCE_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
boolean |
equals(Object obj) |
float |
getConfidenceScore()
The system's confidence score that this article is a good match for this
conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
certain).
|
static ArticleSuggestionData |
getDefaultInstance() |
ArticleSuggestionData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
Map<String,String> |
getMetadataMap()
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
String |
getMetadataOrThrow(String key)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
com.google.protobuf.Parser<ArticleSuggestionData> |
getParserForType() |
String |
getQueryRecord()
The name of the answer record.
|
com.google.protobuf.ByteString |
getQueryRecordBytes()
The name of the answer record.
|
int |
getSerializedSize() |
String |
getSource()
The knowledge document that this answer was extracted from.
|
com.google.protobuf.ByteString |
getSourceBytes()
The knowledge document that this answer was extracted from.
|
String |
getTitle()
Article title.
|
com.google.protobuf.ByteString |
getTitleBytes()
Article title.
|
String |
getUri()
Article URI.
|
com.google.protobuf.ByteString |
getUriBytes()
Article URI.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static ArticleSuggestionData.Builder |
newBuilder() |
static ArticleSuggestionData.Builder |
newBuilder(ArticleSuggestionData prototype) |
ArticleSuggestionData.Builder |
newBuilderForType() |
protected ArticleSuggestionData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ArticleSuggestionData |
parseDelimitedFrom(InputStream input) |
static ArticleSuggestionData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ArticleSuggestionData |
parseFrom(byte[] data) |
static ArticleSuggestionData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ArticleSuggestionData |
parseFrom(ByteBuffer data) |
static ArticleSuggestionData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ArticleSuggestionData |
parseFrom(com.google.protobuf.ByteString data) |
static ArticleSuggestionData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ArticleSuggestionData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ArticleSuggestionData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ArticleSuggestionData |
parseFrom(InputStream input) |
static ArticleSuggestionData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ArticleSuggestionData> |
parser() |
ArticleSuggestionData.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 TITLE_FIELD_NUMBER
public static final int URI_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
public static final int SOURCE_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 getTitle()
Article title.
string title = 1;getTitle in interface ArticleSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Article title.
string title = 1;getTitleBytes in interface ArticleSuggestionDataOrBuilderpublic String getUri()
Article URI.
string uri = 2;getUri in interface ArticleSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
Article URI.
string uri = 2;getUriBytes in interface ArticleSuggestionDataOrBuilderpublic float getConfidenceScore()
The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
float confidence_score = 3;getConfidenceScore in interface ArticleSuggestionDataOrBuilderpublic int getMetadataCount()
ArticleSuggestionDataOrBuilderMap that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;getMetadataCount in interface ArticleSuggestionDataOrBuilderpublic boolean containsMetadata(String key)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;containsMetadata in interface ArticleSuggestionDataOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface ArticleSuggestionDataOrBuilderpublic Map<String,String> getMetadataMap()
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;getMetadataMap in interface ArticleSuggestionDataOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;getMetadataOrDefault in interface ArticleSuggestionDataOrBuilderpublic String getMetadataOrThrow(String key)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;getMetadataOrThrow in interface ArticleSuggestionDataOrBuilderpublic String getQueryRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;getQueryRecord in interface ArticleSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getQueryRecordBytes()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;getQueryRecordBytes in interface ArticleSuggestionDataOrBuilderpublic String getSource()
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;getSource in interface ArticleSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;getSourceBytes in interface ArticleSuggestionDataOrBuilderpublic 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 ArticleSuggestionData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArticleSuggestionData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArticleSuggestionData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArticleSuggestionData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArticleSuggestionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArticleSuggestionData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ArticleSuggestionData parseFrom(InputStream input) throws IOException
IOExceptionpublic static ArticleSuggestionData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ArticleSuggestionData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ArticleSuggestionData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ArticleSuggestionData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ArticleSuggestionData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ArticleSuggestionData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ArticleSuggestionData.Builder newBuilder()
public static ArticleSuggestionData.Builder newBuilder(ArticleSuggestionData prototype)
public ArticleSuggestionData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ArticleSuggestionData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ArticleSuggestionData getDefaultInstance()
public static com.google.protobuf.Parser<ArticleSuggestionData> parser()
public com.google.protobuf.Parser<ArticleSuggestionData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ArticleSuggestionData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.