Interface ArticleSuggestionDataOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Map that contains metadata about the Article Suggestion and the document that it originates from.
    float
    The system's confidence score that this article 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 Article Suggestion and the document that it originates from.
    Map that contains metadata about the Article Suggestion and the document that it originates from.
    getMetadataOrDefault(String key, String defaultValue)
    Map that contains metadata about the Article Suggestion and the document that it originates from.
    Map that contains metadata about the Article Suggestion and the document that it originates from.
    The name of the answer record.
    com.google.protobuf.ByteString
    The name of the answer record.
    The knowledge document that this answer was extracted from.
    com.google.protobuf.ByteString
    The knowledge document that this answer was extracted from.
    Article title.
    com.google.protobuf.ByteString
    Article title.
    Article URI.
    com.google.protobuf.ByteString
    Article URI.

    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

    • getTitle

      String getTitle()
       Article title.
       
      string title = 1;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       Article title.
       
      string title = 1;
      Returns:
      The bytes for title.
    • getUri

      String getUri()
       Article URI.
       
      string uri = 2;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       Article URI.
       
      string uri = 2;
      Returns:
      The bytes for uri.
    • getConfidenceScore

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

      int getMetadataCount()
       Map that contains metadata about the Article Suggestion and the document
       that it originates from.
       
      map<string, string> metadata = 4;
    • containsMetadata

      boolean containsMetadata(String key)
       Map that contains metadata about the Article Suggestion and the document
       that it originates from.
       
      map<string, string> metadata = 4;
    • getMetadata

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

      Map<String,String> getMetadataMap()
       Map that contains metadata about the Article Suggestion and the document
       that it originates from.
       
      map<string, string> metadata = 4;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Map that contains metadata about the Article Suggestion and the document
       that it originates from.
       
      map<string, string> metadata = 4;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Map that contains metadata about the Article Suggestion and the document
       that it originates from.
       
      map<string, string> metadata = 4;
    • getQueryRecord

      String getQueryRecord()
       The name of the answer record.
       Format:
       projects/{project}/locations/{location}/answerRecords/{answer_record}
       
      string query_record = 5;
      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 = 5;
      Returns:
      The bytes for queryRecord.
    • getSource

      String getSource()
       The knowledge document that this answer was extracted from.
       Format:
       projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
       
      string source = 6;
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
       The knowledge document that this answer was extracted from.
       Format:
       projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
       
      string source = 6;
      Returns:
      The bytes for source.