Interface ConversationSummarizationSuggestionDataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationSummarizationSuggestionData
,ConversationSummarizationSuggestionData.Builder
public interface ConversationSummarizationSuggestionDataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsMetadata(String key)
A map that contains metadata about the summarization and the document from which it originates.boolean
containsTextSections(String key)
The summarization 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.float
getConfidence()
The confidence score of the summarization.String
getConversationModel()
The name of the model that generates this summary.com.google.protobuf.ByteString
getConversationModelBytes()
The name of the model that generates this summary.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
A map that contains metadata about the summarization and the document from which it originates.Map<String,String>
getMetadataMap()
A map that contains metadata about the summarization and the document from which it originates.String
getMetadataOrDefault(String key, String defaultValue)
A map that contains metadata about the summarization and the document from which it originates.String
getMetadataOrThrow(String key)
A map that contains metadata about the summarization and the document from which it originates.String
getText()
The summarization content that is concatenated into one string.com.google.protobuf.ByteString
getTextBytes()
The summarization content that is concatenated into one string.Map<String,String>
getTextSections()
Deprecated.int
getTextSectionsCount()
The summarization content that is divided into sections.Map<String,String>
getTextSectionsMap()
The summarization content that is divided into sections.String
getTextSectionsOrDefault(String key, String defaultValue)
The summarization content that is divided into sections.String
getTextSectionsOrThrow(String key)
The summarization 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 summarization content that is concatenated into one string.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
The summarization content that is concatenated into one string.
string text = 1;
- Returns:
- The bytes for text.
-
getTextSectionsCount
int getTextSectionsCount()
The summarization 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 = 5;
-
containsTextSections
boolean containsTextSections(String key)
The summarization 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 = 5;
-
getTextSections
@Deprecated Map<String,String> getTextSections()
Deprecated.UsegetTextSectionsMap()
instead.
-
getTextSectionsMap
Map<String,String> getTextSectionsMap()
The summarization 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 = 5;
-
getTextSectionsOrDefault
String getTextSectionsOrDefault(String key, String defaultValue)
The summarization 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 = 5;
-
getTextSectionsOrThrow
String getTextSectionsOrThrow(String key)
The summarization 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 = 5;
-
getConfidence
float getConfidence()
The confidence score of the summarization.
float confidence = 2;
- Returns:
- The confidence.
-
getMetadataCount
int getMetadataCount()
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
-
containsMetadata
boolean containsMetadata(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.
-
getMetadataMap
Map<String,String> getMetadataMap()
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
-
getMetadataOrThrow
String getMetadataOrThrow(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
-
getAnswerRecord
String getAnswerRecord()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
- Returns:
- The answerRecord.
-
getAnswerRecordBytes
com.google.protobuf.ByteString getAnswerRecordBytes()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
- Returns:
- The bytes for answerRecord.
-
getConversationModel
String getConversationModel()
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
- Returns:
- The conversationModel.
-
getConversationModelBytes
com.google.protobuf.ByteString getConversationModelBytes()
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
- Returns:
- The bytes for conversationModel.
-
-