public static final class ArticleSuggestionData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder> implements ArticleSuggestionDataOrBuilder
Agent Assist Article Suggestion data.Protobuf type
google.cloud.contactcenterinsights.v1.ArticleSuggestionData| Modifier and Type | Method and Description |
|---|---|
ArticleSuggestionData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ArticleSuggestionData |
build() |
ArticleSuggestionData |
buildPartial() |
ArticleSuggestionData.Builder |
clear() |
ArticleSuggestionData.Builder |
clearConfidenceScore()
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).
|
ArticleSuggestionData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ArticleSuggestionData.Builder |
clearMetadata() |
ArticleSuggestionData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ArticleSuggestionData.Builder |
clearQueryRecord()
The name of the answer record.
|
ArticleSuggestionData.Builder |
clearSource()
The knowledge document that this answer was extracted from.
|
ArticleSuggestionData.Builder |
clearTitle()
Article title.
|
ArticleSuggestionData.Builder |
clearUri()
Article URI.
|
ArticleSuggestionData.Builder |
clone() |
boolean |
containsMetadata(String key)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
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).
|
ArticleSuggestionData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,String> |
getMutableMetadata()
Deprecated.
|
String |
getQueryRecord()
The name of the answer record.
|
com.google.protobuf.ByteString |
getQueryRecordBytes()
The name of the answer record.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
ArticleSuggestionData.Builder |
mergeFrom(ArticleSuggestionData other) |
ArticleSuggestionData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ArticleSuggestionData.Builder |
mergeFrom(com.google.protobuf.Message other) |
ArticleSuggestionData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ArticleSuggestionData.Builder |
putAllMetadata(Map<String,String> values)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
ArticleSuggestionData.Builder |
putMetadata(String key,
String value)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
ArticleSuggestionData.Builder |
removeMetadata(String key)
Map that contains metadata about the Article Suggestion and the document
that it originates from.
|
ArticleSuggestionData.Builder |
setConfidenceScore(float value)
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).
|
ArticleSuggestionData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ArticleSuggestionData.Builder |
setQueryRecord(String value)
The name of the answer record.
|
ArticleSuggestionData.Builder |
setQueryRecordBytes(com.google.protobuf.ByteString value)
The name of the answer record.
|
ArticleSuggestionData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ArticleSuggestionData.Builder |
setSource(String value)
The knowledge document that this answer was extracted from.
|
ArticleSuggestionData.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
The knowledge document that this answer was extracted from.
|
ArticleSuggestionData.Builder |
setTitle(String value)
Article title.
|
ArticleSuggestionData.Builder |
setTitleBytes(com.google.protobuf.ByteString value)
Article title.
|
ArticleSuggestionData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ArticleSuggestionData.Builder |
setUri(String value)
Article URI.
|
ArticleSuggestionData.Builder |
setUriBytes(com.google.protobuf.ByteString value)
Article URI.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ArticleSuggestionData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ArticleSuggestionData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ArticleSuggestionData.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder mergeFrom(ArticleSuggestionData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public ArticleSuggestionData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ArticleSuggestionData.Builder>IOExceptionpublic 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 ArticleSuggestionData.Builder setTitle(String value)
Article title.
string title = 1;value - The title to set.public ArticleSuggestionData.Builder clearTitle()
Article title.
string title = 1;public ArticleSuggestionData.Builder setTitleBytes(com.google.protobuf.ByteString value)
Article title.
string title = 1;value - The bytes for title to set.public 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 ArticleSuggestionData.Builder setUri(String value)
Article URI.
string uri = 2;value - The uri to set.public ArticleSuggestionData.Builder clearUri()
Article URI.
string uri = 2;public ArticleSuggestionData.Builder setUriBytes(com.google.protobuf.ByteString value)
Article URI.
string uri = 2;value - The bytes for uri to set.public 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 ArticleSuggestionData.Builder setConfidenceScore(float value)
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;value - The confidenceScore to set.public ArticleSuggestionData.Builder clearConfidenceScore()
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;public 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 ArticleSuggestionData.Builder clearMetadata()
public ArticleSuggestionData.Builder removeMetadata(String key)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;@Deprecated public Map<String,String> getMutableMetadata()
public ArticleSuggestionData.Builder putMetadata(String key, String value)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;public ArticleSuggestionData.Builder putAllMetadata(Map<String,String> values)
Map that contains metadata about the Article Suggestion and the document that it originates from.
map<string, string> metadata = 4;public 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 ArticleSuggestionData.Builder setQueryRecord(String value)
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;value - The queryRecord to set.public ArticleSuggestionData.Builder clearQueryRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;public ArticleSuggestionData.Builder setQueryRecordBytes(com.google.protobuf.ByteString value)
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 5;value - The bytes for queryRecord to set.public 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 ArticleSuggestionData.Builder setSource(String value)
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;value - The source to set.public ArticleSuggestionData.Builder clearSource()
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;public ArticleSuggestionData.Builder setSourceBytes(com.google.protobuf.ByteString value)
The knowledge document that this answer was extracted from.
Format:
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
string source = 6;value - The bytes for source to set.public final ArticleSuggestionData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>public final ArticleSuggestionData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ArticleSuggestionData.Builder>Copyright © 2025 Google LLC. All rights reserved.