Interface SuggestConversationSummaryResponse.SummaryOrBuilder (4.34.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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for baselineModelVersion.

getText()

public abstract String getText()

The summary content that is concatenated into one string.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The summary content that is concatenated into one string.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

getTextSections()

public abstract Map<String,String> getTextSections()

Use #getTextSectionsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String