Interface GenerateStatelessSummaryResponse.SummaryOrBuilder (4.59.0)

public static interface GenerateStatelessSummaryResponse.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 = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

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

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

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() (deprecated)

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 = 2;

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 = 2;

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 = 2;

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 = 2;

Parameter
Name Description
key String
Returns
Type Description
String