Interface Chunk.DocumentMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Chunk.DocumentMetadata,Chunk.DocumentMetadata.Builder
- Enclosing class:
- Chunk
public static interface Chunk.DocumentMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructData representation.com.google.protobuf.StructOrBuilderData representation.getTitle()Title of the document.com.google.protobuf.ByteStringTitle of the document.getUri()Uri of the document.com.google.protobuf.ByteStringUri of the document.booleanData representation.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
-
getUri
String getUri()Uri of the document.
string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()Uri of the document.
string uri = 1;- Returns:
- The bytes for uri.
-
getTitle
String getTitle()Title of the document.
string title = 2;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Title of the document.
string title = 2;- Returns:
- The bytes for title.
-
hasStructData
boolean hasStructData()Data representation. The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 3;- Returns:
- Whether the structData field is set.
-
getStructData
com.google.protobuf.Struct getStructData()Data representation. The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 3;- Returns:
- The structData.
-
getStructDataOrBuilder
com.google.protobuf.StructOrBuilder getStructDataOrBuilder()Data representation. The structured JSON data for the document. It should conform to the registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an `INVALID_ARGUMENT` error is thrown.
.google.protobuf.Struct struct_data = 3;
-