Class ConversationSummarizationSuggestionData.Builder (2.22.0)

public static final class ConversationSummarizationSuggestionData.Builder extends GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder> implements ConversationSummarizationSuggestionDataOrBuilder

Conversation summarization suggestion data.

Protobuf type google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationSummarizationSuggestionData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

build()

public ConversationSummarizationSuggestionData build()
Returns
TypeDescription
ConversationSummarizationSuggestionData

buildPartial()

public ConversationSummarizationSuggestionData buildPartial()
Returns
TypeDescription
ConversationSummarizationSuggestionData

clear()

public ConversationSummarizationSuggestionData.Builder clear()
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

clearAnswerRecord()

public ConversationSummarizationSuggestionData.Builder clearAnswerRecord()

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

string answer_record = 4;

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

clearConfidence()

public ConversationSummarizationSuggestionData.Builder clearConfidence()

The confidence score of the summarization.

float confidence = 2;

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

clearConversationModel()

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;

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConversationSummarizationSuggestionData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

clearMetadata()

public ConversationSummarizationSuggestionData.Builder clearMetadata()
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationSummarizationSuggestionData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

clearText()

public ConversationSummarizationSuggestionData.Builder clearText()

The summarization content that is concatenated into one string.

string text = 1;

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

clearTextSections()

public ConversationSummarizationSuggestionData.Builder clearTextSections()
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

clone()

public ConversationSummarizationSuggestionData.Builder clone()
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

containsMetadata(String key)

public boolean containsMetadata(String key)

A map that contains metadata about the summarization and the document from which it originates.

map<string, string> metadata = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsTextSections(String key)

public 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnswerRecord()

public String getAnswerRecord()

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

string answer_record = 4;

Returns
TypeDescription
String

The answerRecord.

getAnswerRecordBytes()

public ByteString getAnswerRecordBytes()

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

string answer_record = 4;

Returns
TypeDescription
ByteString

The bytes for answerRecord.

getConfidence()

public float getConfidence()

The confidence score of the summarization.

float confidence = 2;

Returns
TypeDescription
float

The confidence.

getConversationModel()

public String getConversationModel()

The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

string conversation_model = 6;

Returns
TypeDescription
String

The conversationModel.

getConversationModelBytes()

public ByteString getConversationModelBytes()

The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

string conversation_model = 6;

Returns
TypeDescription
ByteString

The bytes for conversationModel.

getDefaultInstanceForType()

public ConversationSummarizationSuggestionData getDefaultInstanceForType()
Returns
TypeDescription
ConversationSummarizationSuggestionData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetadata()

public Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
Map<String,String>

getMetadataCount()

public int getMetadataCount()

A map that contains metadata about the summarization and the document from which it originates.

map<string, string> metadata = 3;

Returns
TypeDescription
int

getMetadataMap()

public Map<String,String> getMetadataMap()

A map that contains metadata about the summarization and the document from which it originates.

map<string, string> metadata = 3;

Returns
TypeDescription
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public 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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getMetadataOrThrow(String key)

public String getMetadataOrThrow(String key)

A map that contains metadata about the summarization and the document from which it originates.

map<string, string> metadata = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableMetadata()

public Map<String,String> getMutableMetadata()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableTextSections()

public Map<String,String> getMutableTextSections()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getText()

public String getText()

The summarization content that is concatenated into one string.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

The summarization content that is concatenated into one string.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

getTextSections()

public Map<String,String> getTextSections()

Use #getTextSectionsMap() instead.

Returns
TypeDescription
Map<String,String>

getTextSectionsCount()

public int getTextSectionsCount()

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;

Returns
TypeDescription
int

getTextSectionsMap()

public 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;

Returns
TypeDescription
Map<String,String>

getTextSectionsOrDefault(String key, String defaultValue)

public 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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTextSectionsOrThrow(String key)

public 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConversationSummarizationSuggestionData other)

public ConversationSummarizationSuggestionData.Builder mergeFrom(ConversationSummarizationSuggestionData other)
Parameter
NameDescription
otherConversationSummarizationSuggestionData
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationSummarizationSuggestionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversationSummarizationSuggestionData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationSummarizationSuggestionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

putAllMetadata(Map<String,String> values)

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;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

putAllTextSections(Map<String,String> values)

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;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

putMetadata(String key, String value)

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;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

putTextSections(String key, String value)

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;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

removeMetadata(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

removeTextSections(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

setAnswerRecord(String value)

public ConversationSummarizationSuggestionData.Builder setAnswerRecord(String value)

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

string answer_record = 4;

Parameter
NameDescription
valueString

The answerRecord to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setAnswerRecordBytes(ByteString value)

public ConversationSummarizationSuggestionData.Builder setAnswerRecordBytes(ByteString value)

The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

string answer_record = 4;

Parameter
NameDescription
valueByteString

The bytes for answerRecord to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setConfidence(float value)

public ConversationSummarizationSuggestionData.Builder setConfidence(float value)

The confidence score of the summarization.

float confidence = 2;

Parameter
NameDescription
valuefloat

The confidence to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setConversationModel(String value)

public 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;

Parameter
NameDescription
valueString

The conversationModel to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setConversationModelBytes(ByteString value)

public ConversationSummarizationSuggestionData.Builder setConversationModelBytes(ByteString value)

The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}

string conversation_model = 6;

Parameter
NameDescription
valueByteString

The bytes for conversationModel to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationSummarizationSuggestionData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversationSummarizationSuggestionData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides

setText(String value)

public ConversationSummarizationSuggestionData.Builder setText(String value)

The summarization content that is concatenated into one string.

string text = 1;

Parameter
NameDescription
valueString

The text to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setTextBytes(ByteString value)

public ConversationSummarizationSuggestionData.Builder setTextBytes(ByteString value)

The summarization content that is concatenated into one string.

string text = 1;

Parameter
NameDescription
valueByteString

The bytes for text to set.

Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationSummarizationSuggestionData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationSummarizationSuggestionData.Builder
Overrides