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 TypeMethodDescriptionlongEnd of the attributed segment, exclusive.getSources(int index) Citation sources for the attributed segment.intCitation sources for the attributed segment.Citation sources for the attributed segment.getSourcesOrBuilder(int index) Citation sources for the attributed segment.List<? extends Answer.CitationSourceOrBuilder>Citation sources for the attributed segment.longIndex indicates the start of the segment, measured in bytes (UTF-8 unicode).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
Citation sources for the attributed segment.
repeated .google.cloud.discoveryengine.v1beta.Answer.CitationSource sources = 3;
-