Interface SuggestConversationSummaryResponse.SummaryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestConversationSummaryResponse.Summary
,SuggestConversationSummaryResponse.Summary.Builder
- Enclosing class:
- SuggestConversationSummaryResponse
public static interface SuggestConversationSummaryResponse.SummaryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsTextSections(String key)
The summary content that is divided into sections.String
getAnswerRecord()
The name of the answer record.com.google.protobuf.ByteString
getAnswerRecordBytes()
The name of the answer record.String
getBaselineModelVersion()
The baseline model version used to generate this summary.com.google.protobuf.ByteString
getBaselineModelVersionBytes()
The baseline model version used to generate this summary.String
getText()
The summary content that is concatenated into one string.com.google.protobuf.ByteString
getTextBytes()
The summary content that is concatenated into one string.Map<String,String>
getTextSections()
Deprecated.int
getTextSectionsCount()
The summary content that is divided into sections.Map<String,String>
getTextSectionsMap()
The summary content that is divided into sections.String
getTextSectionsOrDefault(String key, String defaultValue)
The summary content that is divided into sections.String
getTextSectionsOrThrow(String key)
The summary content that is divided into sections.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
String getText()
The summary content that is concatenated into one string.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
The summary content that is concatenated into one string.
string text = 1;
- Returns:
- The bytes for text.
-
getTextSectionsCount
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;
-
containsTextSections
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;
-
getTextSections
@Deprecated Map<String,String> getTextSections()
Deprecated.UsegetTextSectionsMap()
instead.
-
getTextSectionsMap
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;
-
getTextSectionsOrDefault
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;
-
getTextSectionsOrThrow
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;
-
getAnswerRecord
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:
- The answerRecord.
-
getAnswerRecordBytes
com.google.protobuf.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:
- The bytes for answerRecord.
-
getBaselineModelVersion
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:
- The baselineModelVersion.
-
getBaselineModelVersionBytes
com.google.protobuf.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:
- The bytes for baselineModelVersion.
-
-