public interface RagChunkOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
RagChunk.PageSpan |
getPageSpan()
If populated, represents where the chunk starts and ends in the document.
|
RagChunk.PageSpanOrBuilder |
getPageSpanOrBuilder()
If populated, represents where the chunk starts and ends in the document.
|
String |
getText()
The content of the chunk.
|
com.google.protobuf.ByteString |
getTextBytes()
The content of the chunk.
|
boolean |
hasPageSpan()
If populated, represents where the chunk starts and ends in the document.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getText()
The content of the chunk.
string text = 1;com.google.protobuf.ByteString getTextBytes()
The content of the chunk.
string text = 1;boolean hasPageSpan()
If populated, represents where the chunk starts and ends in the document.
optional .google.cloud.aiplatform.v1.RagChunk.PageSpan page_span = 2;RagChunk.PageSpan getPageSpan()
If populated, represents where the chunk starts and ends in the document.
optional .google.cloud.aiplatform.v1.RagChunk.PageSpan page_span = 2;RagChunk.PageSpanOrBuilder getPageSpanOrBuilder()
If populated, represents where the chunk starts and ends in the document.
optional .google.cloud.aiplatform.v1.RagChunk.PageSpan page_span = 2;Copyright © 2025 Google LLC. All rights reserved.