Interface FileInfoOrBuilder (2.46.0)

public interface FileInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMimeType()

public abstract String getMimeType()

The MIME type of the file.

Defaults to the value from Google Cloud Storage.

string mime_type = 3;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The MIME type of the file.

Defaults to the value from Google Cloud Storage.

string mime_type = 3;

Returns
Type Description
ByteString

The bytes for mimeType.

getSha1Sum()

public abstract String getSha1Sum()

The SHA1 hash of the file, in hex.

string sha1_sum = 2;

Returns
Type Description
String

The sha1Sum.

getSha1SumBytes()

public abstract ByteString getSha1SumBytes()

The SHA1 hash of the file, in hex.

string sha1_sum = 2;

Returns
Type Description
ByteString

The bytes for sha1Sum.

getSourceUrl()

public abstract String getSourceUrl()

URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 1;

Returns
Type Description
String

The sourceUrl.

getSourceUrlBytes()

public abstract ByteString getSourceUrlBytes()

URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.

string source_url = 1;

Returns
Type Description
ByteString

The bytes for sourceUrl.