Interface FileInputSourceOrBuilder (2.55.0)

public interface FileInputSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

Required. The file's byte contents.

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

Returns
Type Description
ByteString

The content.

getDisplayName()

public abstract String getDisplayName()

Required. The file's display name.

string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The file's display name.

string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getMimeType()

public abstract String getMimeType()

Required. The file's mime type.

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

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Required. The file's mime type.

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

Returns
Type Description
ByteString

The bytes for mimeType.