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