Interface SmartComposeSuggestionDataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SmartComposeSuggestionData, SmartComposeSuggestionData.Builder

@Generated public interface SmartComposeSuggestionDataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
    double
    The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
    Deprecated.
    int
    Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
    Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
    getMetadataOrDefault(String key, String defaultValue)
    Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
    Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
    The name of the answer record.
    com.google.protobuf.ByteString
    The name of the answer record.
    The content of the suggestion.
    com.google.protobuf.ByteString
    The content of the suggestion.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSuggestion

      String getSuggestion()
       The content of the suggestion.
       
      string suggestion = 1;
      Returns:
      The suggestion.
    • getSuggestionBytes

      com.google.protobuf.ByteString getSuggestionBytes()
       The content of the suggestion.
       
      string suggestion = 1;
      Returns:
      The bytes for suggestion.
    • getConfidenceScore

      double getConfidenceScore()
       The system's confidence score that this suggestion is a good match for this
       conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
       certain).
       
      double confidence_score = 2;
      Returns:
      The confidenceScore.
    • getMetadataCount

      int getMetadataCount()
       Map that contains metadata about the Smart Compose suggestion and the
       document from which it originates.
       
      map<string, string> metadata = 3;
    • containsMetadata

      boolean containsMetadata(String key)
       Map that contains metadata about the Smart Compose suggestion and the
       document from which it originates.
       
      map<string, string> metadata = 3;
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       Map that contains metadata about the Smart Compose suggestion and the
       document from which it originates.
       
      map<string, string> metadata = 3;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Map that contains metadata about the Smart Compose suggestion and the
       document from which it originates.
       
      map<string, string> metadata = 3;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Map that contains metadata about the Smart Compose suggestion and the
       document from which it originates.
       
      map<string, string> metadata = 3;
    • getQueryRecord

      String getQueryRecord()
       The name of the answer record.
       Format:
       projects/{project}/locations/{location}/answerRecords/{answer_record}
       
      string query_record = 4;
      Returns:
      The queryRecord.
    • getQueryRecordBytes

      com.google.protobuf.ByteString getQueryRecordBytes()
       The name of the answer record.
       Format:
       projects/{project}/locations/{location}/answerRecords/{answer_record}
       
      string query_record = 4;
      Returns:
      The bytes for queryRecord.