Interface FileContext.FileBytesOrBuilder (0.7.0)

public static interface FileContext.FileBytesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getData()

public abstract ByteString getData()

Required. Raw bytes of the file.

bytes data = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The data.

getFileName()

public abstract String getFileName()

Required. The name of the file provided as raw bytes.

string file_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The fileName.

getFileNameBytes()

public abstract ByteString getFileNameBytes()

Required. The name of the file provided as raw bytes.

string file_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for fileName.

getMimeType()

public abstract String getMimeType()

Required. The IANA standard MIME type of the source data.

string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Required. The IANA standard MIME type of the source data.

string mime_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for mimeType.