Interface Answer.CitationOrBuilder

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

public static interface Answer.CitationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    End of the attributed segment, exclusive.
    getSources(int index)
    Citation sources for the attributed segment.
    int
    Citation sources for the attributed segment.
    Citation sources for the attributed segment.
    Citation sources for the attributed segment.
    Citation sources for the attributed segment.
    long
    Index indicates the start of the segment, measured in bytes (UTF-8 unicode).

    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

    • getStartIndex

      long getStartIndex()
       Index indicates the start of the segment, measured in bytes (UTF-8
       unicode).
       
      int64 start_index = 1;
      Returns:
      The startIndex.
    • getEndIndex

      long getEndIndex()
       End of the attributed segment, exclusive.
       
      int64 end_index = 2;
      Returns:
      The endIndex.
    • getSourcesList

      List<Answer.CitationSource> getSourcesList()
       Citation sources for the attributed segment.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.CitationSource sources = 3;
    • getSources

      Answer.CitationSource getSources(int index)
       Citation sources for the attributed segment.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.CitationSource sources = 3;
    • getSourcesCount

      int getSourcesCount()
       Citation sources for the attributed segment.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.CitationSource sources = 3;
    • getSourcesOrBuilderList

      List<? extends Answer.CitationSourceOrBuilder> getSourcesOrBuilderList()
       Citation sources for the attributed segment.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.CitationSource sources = 3;
    • getSourcesOrBuilder

      Answer.CitationSourceOrBuilder getSourcesOrBuilder(int index)
       Citation sources for the attributed segment.
       
      repeated .google.cloud.discoveryengine.v1beta.Answer.CitationSource sources = 3;