public static interface Chunk.DocumentMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMimeType()
public abstract String getMimeType()The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
getStructData()
public abstract Struct getStructData() Data representation.
The structured JSON data for the document. It should conform to the
registered Schema or an
INVALID_ARGUMENT error is thrown.
.google.protobuf.Struct struct_data = 3;
| Returns | |
|---|---|
| Type | Description |
Struct |
The structData. |
getStructDataOrBuilder()
public abstract StructOrBuilder getStructDataOrBuilder() Data representation.
The structured JSON data for the document. It should conform to the
registered Schema or an
INVALID_ARGUMENT error is thrown.
.google.protobuf.Struct struct_data = 3;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getTitle()
public abstract String getTitle()Title of the document.
string title = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()Title of the document.
string title = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUri()
public abstract String getUri()Uri of the document.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()Uri of the document.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasStructData()
public abstract boolean hasStructData() Data representation.
The structured JSON data for the document. It should conform to the
registered Schema or an
INVALID_ARGUMENT error is thrown.
.google.protobuf.Struct struct_data = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the structData field is set. |