Interface DataStoreConnectionSignals.SearchSnippetOrBuilder

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

public static interface DataStoreConnectionSignals.SearchSnippetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Title of the enclosing document.
    com.google.protobuf.ByteString
    Title of the enclosing document.
    Uri for the document.
    com.google.protobuf.ByteString
    Uri for the document.
    com.google.protobuf.Struct
    Metadata associated with the document.
    com.google.protobuf.StructOrBuilder
    Metadata associated with the document.
    Text included in the prompt.
    com.google.protobuf.ByteString
    Text included in the prompt.
    boolean
    Metadata associated with the document.

    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

    • getDocumentTitle

      String getDocumentTitle()
       Title of the enclosing document.
       
      string document_title = 1;
      Returns:
      The documentTitle.
    • getDocumentTitleBytes

      com.google.protobuf.ByteString getDocumentTitleBytes()
       Title of the enclosing document.
       
      string document_title = 1;
      Returns:
      The bytes for documentTitle.
    • getDocumentUri

      String getDocumentUri()
       Uri for the document. Present if specified for the document.
       
      string document_uri = 2;
      Returns:
      The documentUri.
    • getDocumentUriBytes

      com.google.protobuf.ByteString getDocumentUriBytes()
       Uri for the document. Present if specified for the document.
       
      string document_uri = 2;
      Returns:
      The bytes for documentUri.
    • getText

      String getText()
       Text included in the prompt.
       
      string text = 3;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Text included in the prompt.
       
      string text = 3;
      Returns:
      The bytes for text.
    • hasMetadata

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

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

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