Class ConversationSummarizationSuggestionData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
com.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData.Builder
- All Implemented Interfaces:
ConversationSummarizationSuggestionDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversationSummarizationSuggestionData
public static final class ConversationSummarizationSuggestionData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
implements ConversationSummarizationSuggestionDataOrBuilder
Conversation summarization suggestion data.Protobuf type
google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the answer record.The confidence score of the summarization.The name of the model that generates this summary.The summarization content that is concatenated into one string.booleancontainsMetadata(String key) A map that contains metadata about the summarization and the document from which it originates.booleanThe summarization content that is divided into sections.The name of the answer record.com.google.protobuf.ByteStringThe name of the answer record.floatThe confidence score of the summarization.The name of the model that generates this summary.com.google.protobuf.ByteStringThe name of the model that generates this summary.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intA map that contains metadata about the summarization and the document from which it originates.A map that contains metadata about the summarization and the document from which it originates.getMetadataOrDefault(String key, String defaultValue) A map that contains metadata about the summarization and the document from which it originates.getMetadataOrThrow(String key) A map that contains metadata about the summarization and the document from which it originates.Deprecated.Deprecated.getText()The summarization content that is concatenated into one string.com.google.protobuf.ByteStringThe summarization content that is concatenated into one string.Deprecated.intThe summarization content that is divided into sections.The summarization content that is divided into sections.getTextSectionsOrDefault(String key, String defaultValue) The summarization content that is divided into sections.The summarization content that is divided into sections.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllMetadata(Map<String, String> values) A map that contains metadata about the summarization and the document from which it originates.putAllTextSections(Map<String, String> values) The summarization content that is divided into sections.putMetadata(String key, String value) A map that contains metadata about the summarization and the document from which it originates.putTextSections(String key, String value) The summarization content that is divided into sections.removeMetadata(String key) A map that contains metadata about the summarization and the document from which it originates.removeTextSections(String key) The summarization content that is divided into sections.setAnswerRecord(String value) The name of the answer record.setAnswerRecordBytes(com.google.protobuf.ByteString value) The name of the answer record.setConfidence(float value) The confidence score of the summarization.setConversationModel(String value) The name of the model that generates this summary.setConversationModelBytes(com.google.protobuf.ByteString value) The name of the model that generates this summary.The summarization content that is concatenated into one string.setTextBytes(com.google.protobuf.ByteString value) The summarization content that is concatenated into one string.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
mergeFrom
public ConversationSummarizationSuggestionData.Builder mergeFrom(ConversationSummarizationSuggestionData other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversationSummarizationSuggestionData.Builder>
-
mergeFrom
public ConversationSummarizationSuggestionData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationSummarizationSuggestionData.Builder>- Throws:
IOException
-
getText
The summarization content that is concatenated into one string.
string text = 1;- Specified by:
getTextin interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()The summarization content that is concatenated into one string.
string text = 1;- Specified by:
getTextBytesin interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The bytes for text.
-
setText
The summarization content that is concatenated into one string.
string text = 1;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
The summarization content that is concatenated into one string.
string text = 1;- Returns:
- This builder for chaining.
-
setTextBytes
public ConversationSummarizationSuggestionData.Builder setTextBytes(com.google.protobuf.ByteString value) The summarization content that is concatenated into one string.
string text = 1;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
getTextSectionsCount
public int getTextSectionsCount()Description copied from interface: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;- Specified by:
getTextSectionsCountin interfaceConversationSummarizationSuggestionDataOrBuilder
-
containsTextSections
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;- Specified by:
containsTextSectionsin interfaceConversationSummarizationSuggestionDataOrBuilder
-
getTextSections
Deprecated.UsegetTextSectionsMap()instead.- Specified by:
getTextSectionsin interfaceConversationSummarizationSuggestionDataOrBuilder
-
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;- Specified by:
getTextSectionsMapin interfaceConversationSummarizationSuggestionDataOrBuilder
-
getTextSectionsOrDefault
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;- Specified by:
getTextSectionsOrDefaultin interfaceConversationSummarizationSuggestionDataOrBuilder
-
getTextSectionsOrThrow
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;- Specified by:
getTextSectionsOrThrowin interfaceConversationSummarizationSuggestionDataOrBuilder
-
clearTextSections
-
removeTextSections
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; -
getMutableTextSections
Deprecated.Use alternate mutation accessors instead. -
putTextSections
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; -
putAllTextSections
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; -
getConfidence
public float getConfidence()The confidence score of the summarization.
float confidence = 2;- Specified by:
getConfidencein interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The confidence.
-
setConfidence
The confidence score of the summarization.
float confidence = 2;- Parameters:
value- The confidence to set.- Returns:
- This builder for chaining.
-
clearConfidence
The confidence score of the summarization.
float confidence = 2;- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:ConversationSummarizationSuggestionDataOrBuilderA map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;- Specified by:
getMetadataCountin interfaceConversationSummarizationSuggestionDataOrBuilder
-
containsMetadata
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;- Specified by:
containsMetadatain interfaceConversationSummarizationSuggestionDataOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceConversationSummarizationSuggestionDataOrBuilder
-
getMetadataMap
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;- Specified by:
getMetadataMapin interfaceConversationSummarizationSuggestionDataOrBuilder
-
getMetadataOrDefault
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;- Specified by:
getMetadataOrDefaultin interfaceConversationSummarizationSuggestionDataOrBuilder
-
getMetadataOrThrow
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;- Specified by:
getMetadataOrThrowin interfaceConversationSummarizationSuggestionDataOrBuilder
-
clearMetadata
-
removeMetadata
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3; -
putAllMetadata
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3; -
getAnswerRecord
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}string answer_record = 4;- Specified by:
getAnswerRecordin interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The answerRecord.
-
getAnswerRecordBytes
public com.google.protobuf.ByteString getAnswerRecordBytes()The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}string answer_record = 4;- Specified by:
getAnswerRecordBytesin interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The bytes for answerRecord.
-
setAnswerRecord
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}string answer_record = 4;- Parameters:
value- The answerRecord to set.- Returns:
- This builder for chaining.
-
clearAnswerRecord
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}string answer_record = 4;- Returns:
- This builder for chaining.
-
setAnswerRecordBytes
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;- Parameters:
value- The bytes for answerRecord to set.- Returns:
- This builder for chaining.
-
getConversationModel
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}string conversation_model = 6;- Specified by:
getConversationModelin interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The conversationModel.
-
getConversationModelBytes
public 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;- Specified by:
getConversationModelBytesin interfaceConversationSummarizationSuggestionDataOrBuilder- Returns:
- The bytes for conversationModel.
-
setConversationModel
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}string conversation_model = 6;- Parameters:
value- The conversationModel to set.- Returns:
- This builder for chaining.
-
clearConversationModel
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}string conversation_model = 6;- Returns:
- This builder for chaining.
-
setConversationModelBytes
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;- Parameters:
value- The bytes for conversationModel to set.- Returns:
- This builder for chaining.
-