Package com.google.cloud.aiplatform.v1
Interface RagChunk.PageSpanOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RagChunk.PageSpan,RagChunk.PageSpan.Builder
- Enclosing class:
- RagChunk
public static interface RagChunk.PageSpanOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintPage where chunk starts in the document.intPage where chunk ends in the document.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
-
getFirstPage
int getFirstPage()Page where chunk starts in the document. Inclusive. 1-indexed.
int32 first_page = 1;- Returns:
- The firstPage.
-
getLastPage
int getLastPage()Page where chunk ends in the document. Inclusive. 1-indexed.
int32 last_page = 2;- Returns:
- The lastPage.
-