Interface SuggestConversationSummaryResponse.SummaryOrBuilder (4.97.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.

getSortedTextSections(int index)

public abstract SuggestConversationSummaryResponse.Summary.SummarySection getSortedTextSections(int index)

Same as text_sections, but in an order that is consistent with the order of the sections in the generator.

repeated .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary.SummarySection sorted_text_sections = 6;

Parameter
Name Description
index int
Returns
Type Description
SuggestConversationSummaryResponse.Summary.SummarySection

getSortedTextSectionsCount()

public abstract int getSortedTextSectionsCount()

Same as text_sections, but in an order that is consistent with the order of the sections in the generator.

repeated .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary.SummarySection sorted_text_sections = 6;

Returns
Type Description
int

getSortedTextSectionsList()

public abstract List<SuggestConversationSummaryResponse.Summary.SummarySection> getSortedTextSectionsList()

Same as text_sections, but in an order that is consistent with the order of the sections in the generator.

repeated .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary.SummarySection sorted_text_sections = 6;

Returns
Type Description
List<SummarySection>

getSortedTextSectionsOrBuilder(int index)

public abstract SuggestConversationSummaryResponse.Summary.SummarySectionOrBuilder getSortedTextSectionsOrBuilder(int index)

Same as text_sections, but in an order that is consistent with the order of the sections in the generator.

repeated .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary.SummarySection sorted_text_sections = 6;

Parameter
Name Description
index int
Returns
Type Description
SuggestConversationSummaryResponse.Summary.SummarySectionOrBuilder

getSortedTextSectionsOrBuilderList()

public abstract List<? extends SuggestConversationSummaryResponse.Summary.SummarySectionOrBuilder> getSortedTextSectionsOrBuilderList()

Same as text_sections, but in an order that is consistent with the order of the sections in the generator.

repeated .google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary.SummarySection sorted_text_sections = 6;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary.SummarySectionOrBuilder>

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