Interface PDOrBuilder (0.12.0)

public interface PDOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDevice()

public abstract String getDevice()

PD device name, e.g. persistent-disk-1.

string device = 2;

Returns
Type Description
String

The device.

getDeviceBytes()

public abstract ByteString getDeviceBytes()

PD device name, e.g. persistent-disk-1.

string device = 2;

Returns
Type Description
ByteString

The bytes for device.

getDisk()

public abstract String getDisk()

PD disk name, e.g. pd-1.

string disk = 1;

Returns
Type Description
String

The disk.

getDiskBytes()

public abstract ByteString getDiskBytes()

PD disk name, e.g. pd-1.

string disk = 1;

Returns
Type Description
ByteString

The bytes for disk.

getExisting() (deprecated)

public abstract boolean getExisting()

Deprecated. google.cloud.batch.v1alpha.PD.existing is deprecated. See google/cloud/batch/v1alpha/volume.proto;l=85

Whether this is an existing PD. Default is false. If false, i.e., new PD, we will format it into ext4 and mount to the given path. If true, i.e., existing PD, it should be in ext4 format and we will mount it to the given path.

bool existing = 3 [deprecated = true];

Returns
Type Description
boolean

The existing.