Interface SearchKnowledgeAnswer.AnswerSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchKnowledgeAnswer.AnswerSource, SearchKnowledgeAnswer.AnswerSource.Builder
Enclosing class:
SearchKnowledgeAnswer

public static interface SearchKnowledgeAnswer.AnswerSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    Metadata associated with the article.
    com.google.protobuf.StructOrBuilder
    Metadata associated with the article.
    The relevant snippet of the article.
    com.google.protobuf.ByteString
    The relevant snippet of the article.
    The title of the article.
    com.google.protobuf.ByteString
    The title of the article.
    The URI of the article.
    com.google.protobuf.ByteString
    The URI of the article.
    boolean
    Metadata associated with the article.

    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()
       The title of the article.
       
      string title = 1;
      Returns:
      The title.
    • getTitleBytes

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

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

      com.google.protobuf.ByteString getUriBytes()
       The URI of the article.
       
      string uri = 2;
      Returns:
      The bytes for uri.
    • getSnippet

      String getSnippet()
       The relevant snippet of the article.
       
      string snippet = 3;
      Returns:
      The snippet.
    • getSnippetBytes

      com.google.protobuf.ByteString getSnippetBytes()
       The relevant snippet of the article.
       
      string snippet = 3;
      Returns:
      The bytes for snippet.
    • hasMetadata

      boolean hasMetadata()
       Metadata associated with the article.
       
      .google.protobuf.Struct metadata = 5;
      Returns:
      Whether the metadata field is set.
    • getMetadata

      com.google.protobuf.Struct getMetadata()
       Metadata associated with the article.
       
      .google.protobuf.Struct metadata = 5;
      Returns:
      The metadata.
    • getMetadataOrBuilder

      com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
       Metadata associated with the article.
       
      .google.protobuf.Struct metadata = 5;