Interface ApiConfig.FileOrBuilder (2.5.0)

public static interface ApiConfig.FileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents()

public abstract ByteString getContents()

The bytes that constitute the file.

bytes contents = 2;

Returns
TypeDescription
ByteString

The contents.

getPath()

public abstract String getPath()

The file path (full or relative path). This is typically the path of the file when it is uploaded.

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

The file path (full or relative path). This is typically the path of the file when it is uploaded.

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.