Interface VolumeOrBuilder (3.33.0)

public interface VolumeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name of the volume to mount.

Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the volume to mount.

Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPath()

public abstract String getPath()

Path at which to mount the volume.

Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.

string path = 2;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Path at which to mount the volume.

Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.

string path = 2;

Returns
TypeDescription
ByteString

The bytes for path.