Interface Document.BlobAssetOrBuilder (2.66.0)

public static interface Document.BlobAssetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetId()

public abstract String getAssetId()

Optional. The id of the blob asset.

string asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The assetId.

getAssetIdBytes()

public abstract ByteString getAssetIdBytes()

Optional. The id of the blob asset.

string asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for assetId.

getContent()

public abstract ByteString getContent()

Optional. The content of the blob asset, e.g. image bytes.

bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The content.

getMimeType()

public abstract String getMimeType()

The mime type of the blob asset. An IANA published media type (MIME type).

string mime_type = 3;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The mime type of the blob asset. An IANA published media type (MIME type).

string mime_type = 3;

Returns
Type Description
ByteString

The bytes for mimeType.