public interface RawDocumentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract ByteString getContent()Inline document content.
bytes content = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The content. |
getDisplayName()
public abstract String getDisplayName() The display name of the document, it supports all Unicode characters except
the following:
*, ?, [, ], %, {, },', \", ,
~, = and : are reserved.
If not specified, a default ID is generated.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes() The display name of the document, it supports all Unicode characters except
the following:
*, ?, [, ], %, {, },', \", ,
~, = and : are reserved.
If not specified, a default ID is generated.
string display_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getMimeType()
public abstract String getMimeType()An IANA MIME type (RFC6838) indicating the nature and format of the content.
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |