Interface DataStoreConnectionSignals.SearchSnippetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataStoreConnectionSignals.SearchSnippet,DataStoreConnectionSignals.SearchSnippet.Builder
- Enclosing class:
- DataStoreConnectionSignals
public static interface DataStoreConnectionSignals.SearchSnippetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionTitle of the enclosing document.com.google.protobuf.ByteStringTitle of the enclosing document.Uri for the document.com.google.protobuf.ByteStringUri for the document.com.google.protobuf.StructMetadata associated with the document.com.google.protobuf.StructOrBuilderMetadata associated with the document.getText()Text included in the prompt.com.google.protobuf.ByteStringText included in the prompt.booleanMetadata associated with 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
-
getDocumentTitle
String getDocumentTitle()Title of the enclosing document.
string document_title = 1;- Returns:
- The documentTitle.
-
getDocumentTitleBytes
com.google.protobuf.ByteString getDocumentTitleBytes()Title of the enclosing document.
string document_title = 1;- Returns:
- The bytes for documentTitle.
-
getDocumentUri
String getDocumentUri()Uri for the document. Present if specified for the document.
string document_uri = 2;- Returns:
- The documentUri.
-
getDocumentUriBytes
com.google.protobuf.ByteString getDocumentUriBytes()Uri for the document. Present if specified for the document.
string document_uri = 2;- Returns:
- The bytes for documentUri.
-
getText
String getText()Text included in the prompt.
string text = 3;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Text included in the prompt.
string text = 3;- Returns:
- The bytes for text.
-
hasMetadata
boolean hasMetadata()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
-