public static final class SmartComposeSuggestionData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder> implements SmartComposeSuggestionDataOrBuilder
Agent Assist Smart Compose suggestion data.Protobuf type
google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData| Modifier and Type | Method and Description |
|---|---|
SmartComposeSuggestionData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SmartComposeSuggestionData |
build() |
SmartComposeSuggestionData |
buildPartial() |
SmartComposeSuggestionData.Builder |
clear() |
SmartComposeSuggestionData.Builder |
clearConfidenceScore()
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).
|
SmartComposeSuggestionData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SmartComposeSuggestionData.Builder |
clearMetadata() |
SmartComposeSuggestionData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SmartComposeSuggestionData.Builder |
clearQueryRecord()
The name of the answer record.
|
SmartComposeSuggestionData.Builder |
clearSuggestion()
The content of the suggestion.
|
SmartComposeSuggestionData.Builder |
clone() |
boolean |
containsMetadata(String key)
Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
|
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).
|
SmartComposeSuggestionData |
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 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.
|
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 |
getSuggestion()
The content of the suggestion.
|
com.google.protobuf.ByteString |
getSuggestionBytes()
The content of the suggestion.
|
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() |
SmartComposeSuggestionData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SmartComposeSuggestionData.Builder |
mergeFrom(com.google.protobuf.Message other) |
SmartComposeSuggestionData.Builder |
mergeFrom(SmartComposeSuggestionData other) |
SmartComposeSuggestionData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SmartComposeSuggestionData.Builder |
putAllMetadata(Map<String,String> values)
Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
|
SmartComposeSuggestionData.Builder |
putMetadata(String key,
String value)
Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
|
SmartComposeSuggestionData.Builder |
removeMetadata(String key)
Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
|
SmartComposeSuggestionData.Builder |
setConfidenceScore(double value)
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).
|
SmartComposeSuggestionData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SmartComposeSuggestionData.Builder |
setQueryRecord(String value)
The name of the answer record.
|
SmartComposeSuggestionData.Builder |
setQueryRecordBytes(com.google.protobuf.ByteString value)
The name of the answer record.
|
SmartComposeSuggestionData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SmartComposeSuggestionData.Builder |
setSuggestion(String value)
The content of the suggestion.
|
SmartComposeSuggestionData.Builder |
setSuggestionBytes(com.google.protobuf.ByteString value)
The content of the suggestion.
|
SmartComposeSuggestionData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<SmartComposeSuggestionData.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.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<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SmartComposeSuggestionData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SmartComposeSuggestionData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SmartComposeSuggestionData.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.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<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.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<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.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<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.Builder mergeFrom(SmartComposeSuggestionData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>public SmartComposeSuggestionData.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<SmartComposeSuggestionData.Builder>IOExceptionpublic 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 SmartComposeSuggestionData.Builder setSuggestion(String value)
The content of the suggestion.
string suggestion = 1;value - The suggestion to set.public SmartComposeSuggestionData.Builder clearSuggestion()
The content of the suggestion.
string suggestion = 1;public SmartComposeSuggestionData.Builder setSuggestionBytes(com.google.protobuf.ByteString value)
The content of the suggestion.
string suggestion = 1;value - The bytes for suggestion to set.public 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 SmartComposeSuggestionData.Builder setConfidenceScore(double value)
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;value - The confidenceScore to set.public SmartComposeSuggestionData.Builder clearConfidenceScore()
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;public 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 SmartComposeSuggestionData.Builder clearMetadata()
public SmartComposeSuggestionData.Builder removeMetadata(String key)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;@Deprecated public Map<String,String> getMutableMetadata()
public SmartComposeSuggestionData.Builder putMetadata(String key, String value)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;public SmartComposeSuggestionData.Builder putAllMetadata(Map<String,String> values)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;public 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 SmartComposeSuggestionData.Builder setQueryRecord(String value)
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;value - The queryRecord to set.public SmartComposeSuggestionData.Builder clearQueryRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;public SmartComposeSuggestionData.Builder setQueryRecordBytes(com.google.protobuf.ByteString value)
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;value - The bytes for queryRecord to set.public final SmartComposeSuggestionData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>public final SmartComposeSuggestionData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder>Copyright © 2025 Google LLC. All rights reserved.