Interface GenerateStatelessSummaryResponse.SummaryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateStatelessSummaryResponse.Summary,GenerateStatelessSummaryResponse.Summary.Builder
- Enclosing class:
- GenerateStatelessSummaryResponse
public static interface GenerateStatelessSummaryResponse.SummaryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsTextSections(String key)The summary content that is divided into sections.StringgetBaselineModelVersion()The baseline model version used to generate this summary.com.google.protobuf.ByteStringgetBaselineModelVersionBytes()The baseline model version used to generate this summary.StringgetText()The summary content that is concatenated into one string.com.google.protobuf.ByteStringgetTextBytes()The summary content that is concatenated into one string.Map<String,String>getTextSections()Deprecated.intgetTextSectionsCount()The summary content that is divided into sections.Map<String,String>getTextSectionsMap()The summary content that is divided into sections.StringgetTextSectionsOrDefault(String key, String defaultValue)The summary content that is divided into sections.StringgetTextSectionsOrThrow(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 = 2;
-
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 = 2;
-
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 = 2;
-
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 = 2;
-
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 = 2;
-
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 = 4;- 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 = 4;- Returns:
- The bytes for baselineModelVersion.
-
-