public static final class ConversationSummarizationSuggestionData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder> implements ConversationSummarizationSuggestionDataOrBuilder
Conversation summarization suggestion data.Protobuf type
google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData| Modifier and Type | Method and Description |
|---|---|
ConversationSummarizationSuggestionData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConversationSummarizationSuggestionData |
build() |
ConversationSummarizationSuggestionData |
buildPartial() |
ConversationSummarizationSuggestionData.Builder |
clear() |
ConversationSummarizationSuggestionData.Builder |
clearAnswerRecord()
The name of the answer record.
|
ConversationSummarizationSuggestionData.Builder |
clearConfidence()
The confidence score of the summarization.
|
ConversationSummarizationSuggestionData.Builder |
clearConversationModel()
The name of the model that generates this summary.
|
ConversationSummarizationSuggestionData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConversationSummarizationSuggestionData.Builder |
clearMetadata() |
ConversationSummarizationSuggestionData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConversationSummarizationSuggestionData.Builder |
clearText()
The summarization content that is concatenated into one string.
|
ConversationSummarizationSuggestionData.Builder |
clearTextSections() |
ConversationSummarizationSuggestionData.Builder |
clone() |
boolean |
containsMetadata(String key)
A map that contains metadata about the summarization and the document
from which it originates.
|
boolean |
containsTextSections(String key)
The summarization content that is divided into sections.
|
String |
getAnswerRecord()
The name of the answer record.
|
com.google.protobuf.ByteString |
getAnswerRecordBytes()
The name of the answer record.
|
float |
getConfidence()
The confidence score of the summarization.
|
String |
getConversationModel()
The name of the model that generates this summary.
|
com.google.protobuf.ByteString |
getConversationModelBytes()
The name of the model that generates this summary.
|
ConversationSummarizationSuggestionData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
A map that contains metadata about the summarization and the document
from which it originates.
|
Map<String,String> |
getMetadataMap()
A map that contains metadata about the summarization and the document
from which it originates.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
A map that contains metadata about the summarization and the document
from which it originates.
|
String |
getMetadataOrThrow(String key)
A map that contains metadata about the summarization and the document
from which it originates.
|
Map<String,String> |
getMutableMetadata()
Deprecated.
|
Map<String,String> |
getMutableTextSections()
Deprecated.
|
String |
getText()
The summarization content that is concatenated into one string.
|
com.google.protobuf.ByteString |
getTextBytes()
The summarization content that is concatenated into one string.
|
Map<String,String> |
getTextSections()
Deprecated.
|
int |
getTextSectionsCount()
The summarization content that is divided into sections.
|
Map<String,String> |
getTextSectionsMap()
The summarization content that is divided into sections.
|
String |
getTextSectionsOrDefault(String key,
String defaultValue)
The summarization content that is divided into sections.
|
String |
getTextSectionsOrThrow(String key)
The summarization content that is divided into sections.
|
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() |
ConversationSummarizationSuggestionData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConversationSummarizationSuggestionData.Builder |
mergeFrom(ConversationSummarizationSuggestionData other) |
ConversationSummarizationSuggestionData.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConversationSummarizationSuggestionData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConversationSummarizationSuggestionData.Builder |
putAllMetadata(Map<String,String> values)
A map that contains metadata about the summarization and the document
from which it originates.
|
ConversationSummarizationSuggestionData.Builder |
putAllTextSections(Map<String,String> values)
The summarization content that is divided into sections.
|
ConversationSummarizationSuggestionData.Builder |
putMetadata(String key,
String value)
A map that contains metadata about the summarization and the document
from which it originates.
|
ConversationSummarizationSuggestionData.Builder |
putTextSections(String key,
String value)
The summarization content that is divided into sections.
|
ConversationSummarizationSuggestionData.Builder |
removeMetadata(String key)
A map that contains metadata about the summarization and the document
from which it originates.
|
ConversationSummarizationSuggestionData.Builder |
removeTextSections(String key)
The summarization content that is divided into sections.
|
ConversationSummarizationSuggestionData.Builder |
setAnswerRecord(String value)
The name of the answer record.
|
ConversationSummarizationSuggestionData.Builder |
setAnswerRecordBytes(com.google.protobuf.ByteString value)
The name of the answer record.
|
ConversationSummarizationSuggestionData.Builder |
setConfidence(float value)
The confidence score of the summarization.
|
ConversationSummarizationSuggestionData.Builder |
setConversationModel(String value)
The name of the model that generates this summary.
|
ConversationSummarizationSuggestionData.Builder |
setConversationModelBytes(com.google.protobuf.ByteString value)
The name of the model that generates this summary.
|
ConversationSummarizationSuggestionData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConversationSummarizationSuggestionData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConversationSummarizationSuggestionData.Builder |
setText(String value)
The summarization content that is concatenated into one string.
|
ConversationSummarizationSuggestionData.Builder |
setTextBytes(com.google.protobuf.ByteString value)
The summarization content that is concatenated into one string.
|
ConversationSummarizationSuggestionData.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<ConversationSummarizationSuggestionData.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.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<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConversationSummarizationSuggestionData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConversationSummarizationSuggestionData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConversationSummarizationSuggestionData.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.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<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.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<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.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<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.Builder mergeFrom(ConversationSummarizationSuggestionData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>public ConversationSummarizationSuggestionData.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<ConversationSummarizationSuggestionData.Builder>IOExceptionpublic String getText()
The summarization content that is concatenated into one string.
string text = 1;getText in interface ConversationSummarizationSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
The summarization content that is concatenated into one string.
string text = 1;getTextBytes in interface ConversationSummarizationSuggestionDataOrBuilderpublic ConversationSummarizationSuggestionData.Builder setText(String value)
The summarization content that is concatenated into one string.
string text = 1;value - The text to set.public ConversationSummarizationSuggestionData.Builder clearText()
The summarization content that is concatenated into one string.
string text = 1;public ConversationSummarizationSuggestionData.Builder setTextBytes(com.google.protobuf.ByteString value)
The summarization content that is concatenated into one string.
string text = 1;value - The bytes for text to set.public int getTextSectionsCount()
ConversationSummarizationSuggestionDataOrBuilderThe summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;getTextSectionsCount in interface ConversationSummarizationSuggestionDataOrBuilderpublic boolean containsTextSections(String key)
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;containsTextSections in interface ConversationSummarizationSuggestionDataOrBuilder@Deprecated public Map<String,String> getTextSections()
getTextSectionsMap() instead.getTextSections in interface ConversationSummarizationSuggestionDataOrBuilderpublic Map<String,String> getTextSectionsMap()
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;getTextSectionsMap in interface ConversationSummarizationSuggestionDataOrBuilderpublic String getTextSectionsOrDefault(String key, String defaultValue)
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;getTextSectionsOrDefault in interface ConversationSummarizationSuggestionDataOrBuilderpublic String getTextSectionsOrThrow(String key)
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;getTextSectionsOrThrow in interface ConversationSummarizationSuggestionDataOrBuilderpublic ConversationSummarizationSuggestionData.Builder clearTextSections()
public ConversationSummarizationSuggestionData.Builder removeTextSections(String key)
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;@Deprecated public Map<String,String> getMutableTextSections()
public ConversationSummarizationSuggestionData.Builder putTextSections(String key, String value)
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;public ConversationSummarizationSuggestionData.Builder putAllTextSections(Map<String,String> values)
The summarization content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.
map<string, string> text_sections = 5;public float getConfidence()
The confidence score of the summarization.
float confidence = 2;getConfidence in interface ConversationSummarizationSuggestionDataOrBuilderpublic ConversationSummarizationSuggestionData.Builder setConfidence(float value)
The confidence score of the summarization.
float confidence = 2;value - The confidence to set.public ConversationSummarizationSuggestionData.Builder clearConfidence()
The confidence score of the summarization.
float confidence = 2;public int getMetadataCount()
ConversationSummarizationSuggestionDataOrBuilderA map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;getMetadataCount in interface ConversationSummarizationSuggestionDataOrBuilderpublic boolean containsMetadata(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;containsMetadata in interface ConversationSummarizationSuggestionDataOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface ConversationSummarizationSuggestionDataOrBuilderpublic Map<String,String> getMetadataMap()
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;getMetadataMap in interface ConversationSummarizationSuggestionDataOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;getMetadataOrDefault in interface ConversationSummarizationSuggestionDataOrBuilderpublic String getMetadataOrThrow(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;getMetadataOrThrow in interface ConversationSummarizationSuggestionDataOrBuilderpublic ConversationSummarizationSuggestionData.Builder clearMetadata()
public ConversationSummarizationSuggestionData.Builder removeMetadata(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;@Deprecated public Map<String,String> getMutableMetadata()
public ConversationSummarizationSuggestionData.Builder putMetadata(String key, String value)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;public ConversationSummarizationSuggestionData.Builder putAllMetadata(Map<String,String> values)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;public String getAnswerRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;getAnswerRecord in interface ConversationSummarizationSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getAnswerRecordBytes()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;getAnswerRecordBytes in interface ConversationSummarizationSuggestionDataOrBuilderpublic ConversationSummarizationSuggestionData.Builder setAnswerRecord(String value)
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;value - The answerRecord to set.public ConversationSummarizationSuggestionData.Builder clearAnswerRecord()
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;public ConversationSummarizationSuggestionData.Builder setAnswerRecordBytes(com.google.protobuf.ByteString value)
The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;value - The bytes for answerRecord to set.public String getConversationModel()
The name of the model that generates this summary.
Format:
projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;getConversationModel in interface ConversationSummarizationSuggestionDataOrBuilderpublic com.google.protobuf.ByteString getConversationModelBytes()
The name of the model that generates this summary.
Format:
projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;getConversationModelBytes in interface ConversationSummarizationSuggestionDataOrBuilderpublic ConversationSummarizationSuggestionData.Builder setConversationModel(String value)
The name of the model that generates this summary.
Format:
projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;value - The conversationModel to set.public ConversationSummarizationSuggestionData.Builder clearConversationModel()
The name of the model that generates this summary.
Format:
projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;public ConversationSummarizationSuggestionData.Builder setConversationModelBytes(com.google.protobuf.ByteString value)
The name of the model that generates this summary.
Format:
projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;value - The bytes for conversationModel to set.public final ConversationSummarizationSuggestionData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>public final ConversationSummarizationSuggestionData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder>Copyright © 2023 Google LLC. All rights reserved.