Package com.google.cloud.aiplatform.v1
Interface GroundingChunk.RetrievedContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GroundingChunk.RetrievedContext,GroundingChunk.RetrievedContext.Builder
- Enclosing class:
- GroundingChunk
public static interface GroundingChunk.RetrievedContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Additional context for the RAG retrieval result.Additional context for the RAG retrieval result.getText()Text of the attribution.com.google.protobuf.ByteStringText of the attribution.getTitle()Title of the attribution.com.google.protobuf.ByteStringTitle of the attribution.getUri()URI reference of the attribution.com.google.protobuf.ByteStringURI reference of the attribution.booleanOutput only.booleanAdditional context for the RAG retrieval result.booleanhasText()Text of the attribution.booleanhasTitle()Title of the attribution.booleanhasUri()URI reference of the attribution.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
-
hasRagChunk
boolean hasRagChunk()Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
.google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;- Returns:
- Whether the ragChunk field is set.
-
getRagChunk
RagChunk getRagChunk()Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
.google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;- Returns:
- The ragChunk.
-
getRagChunkOrBuilder
RagChunkOrBuilder getRagChunkOrBuilder()Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
.google.cloud.aiplatform.v1.RagChunk rag_chunk = 4; -
hasUri
boolean hasUri()URI reference of the attribution.
optional string uri = 1;- Returns:
- Whether the uri field is set.
-
getUri
String getUri()URI reference of the attribution.
optional string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()URI reference of the attribution.
optional string uri = 1;- Returns:
- The bytes for uri.
-
hasTitle
boolean hasTitle()Title of the attribution.
optional string title = 2;- Returns:
- Whether the title field is set.
-
getTitle
String getTitle()Title of the attribution.
optional string title = 2;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Title of the attribution.
optional string title = 2;- Returns:
- The bytes for title.
-
hasText
boolean hasText()Text of the attribution.
optional string text = 3;- Returns:
- Whether the text field is set.
-
getText
String getText()Text of the attribution.
optional string text = 3;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Text of the attribution.
optional string text = 3;- Returns:
- The bytes for text.
-
hasDocumentName
boolean hasDocumentName()Output only. The full document name for the referenced Vertex AI Search document.
optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the documentName field is set.
-
getDocumentName
String getDocumentName()Output only. The full document name for the referenced Vertex AI Search document.
optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The documentName.
-
getDocumentNameBytes
com.google.protobuf.ByteString getDocumentNameBytes()Output only. The full document name for the referenced Vertex AI Search document.
optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for documentName.
-
getContextDetailsCase
GroundingChunk.RetrievedContext.ContextDetailsCase getContextDetailsCase()
-