Interface RawDocumentOrBuilder (2.28.0)

public interface RawDocumentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

Inline document content.

bytes content = 1;

Returns
TypeDescription
ByteString

The content.

getMimeType()

public abstract String getMimeType()

An IANA MIME type (RFC6838) indicating the nature and format of the content.

string mime_type = 2;

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

An IANA MIME type (RFC6838) indicating the nature and format of the content.

string mime_type = 2;

Returns
TypeDescription
ByteString

The bytes for mimeType.