Interface SuggestConversationSummaryResponse.SummaryOrBuilder (4.47.0)

public static interface SuggestConversationSummaryResponse.SummaryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTextSections(String key)

public abstract boolean containsTextSections(String key)

The summary 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 = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnswerRecord()

public abstract String getAnswerRecord()

The name of the answer record. Format: "projects/<Project ID>/answerRecords/<Answer Record ID>"

string answer_record = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The answerRecord.

getAnswerRecordBytes()

public abstract ByteString getAnswerRecordBytes()

The name of the answer record. Format: "projects/<Project ID>/answerRecords/<Answer Record ID>"

string answer_record = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for answerRecord.

getBaselineModelVersion()

public abstract String getBaselineModelVersion()

The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.

string baseline_model_version = 5;

Returns
TypeDescription
String

The baselineModelVersion.

getBaselineModelVersionBytes()

public abstract ByteString getBaselineModelVersionBytes()

The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.

string baseline_model_version = 5;

Returns
TypeDescription
ByteString

The bytes for baselineModelVersion.

getText()

public abstract String getText()

The summary content that is concatenated into one string.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The summary content that is concatenated into one string.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

getTextSections() (deprecated)

public abstract Map<String,String> getTextSections()

Use #getTextSectionsMap() instead.

Returns
TypeDescription
Map<String,String>

getTextSectionsCount()

public abstract int getTextSectionsCount()

The summary 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 = 4;

Returns
TypeDescription
int

getTextSectionsMap()

public abstract Map<String,String> getTextSectionsMap()

The summary 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 = 4;

Returns
TypeDescription
Map<String,String>

getTextSectionsOrDefault(String key, String defaultValue)

public abstract String getTextSectionsOrDefault(String key, String defaultValue)

The summary 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 = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTextSectionsOrThrow(String key)

public abstract String getTextSectionsOrThrow(String key)

The summary 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 = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String