Interface ApiConfig.FileOrBuilder (2.46.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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for path.