Interface Answer.Reference.ChunkInfo.DocumentMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Answer.Reference.ChunkInfo.DocumentMetadata,Answer.Reference.ChunkInfo.DocumentMetadata.Builder
- Enclosing class:
- Answer.Reference.ChunkInfo
public static interface Answer.Reference.ChunkInfo.DocumentMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDocument resource name.com.google.protobuf.ByteStringDocument resource name.Page identifier.com.google.protobuf.ByteStringPage identifier.com.google.protobuf.StructThe structured JSON metadata for the document.com.google.protobuf.StructOrBuilderThe structured JSON metadata for the document.getTitle()Title.com.google.protobuf.ByteStringTitle.getUri()URI for the document.com.google.protobuf.ByteStringURI for the document.booleanThe structured JSON metadata for 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
-
getDocument
String getDocument()Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The document.
-
getDocumentBytes
com.google.protobuf.ByteString getDocumentBytes()Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for document.
-
getUri
String getUri()URI for the document.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()URI for the document.
string uri = 2;- Returns:
- The bytes for uri.
-
getTitle
String getTitle()Title.
string title = 3;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Title.
string title = 3;- Returns:
- The bytes for title.
-
getPageIdentifier
String getPageIdentifier()Page identifier.
string page_identifier = 4;- Returns:
- The pageIdentifier.
-
getPageIdentifierBytes
com.google.protobuf.ByteString getPageIdentifierBytes()Page identifier.
string page_identifier = 4;- Returns:
- The bytes for pageIdentifier.
-
hasStructData
boolean hasStructData()The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
.google.protobuf.Struct struct_data = 5;- Returns:
- Whether the structData field is set.
-
getStructData
com.google.protobuf.Struct getStructData()The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
.google.protobuf.Struct struct_data = 5;- Returns:
- The structData.
-
getStructDataOrBuilder
com.google.protobuf.StructOrBuilder getStructDataOrBuilder()The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
.google.protobuf.Struct struct_data = 5;
-