Interface VolumeOrBuilder (2.46.0)

publicinterface VolumeOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

publicabstractStringgetName()

Unique name for the volume.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Unique name for the volume.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSizeGb()

publicabstractdoublegetSizeGb()

Volume size in gigabytes.

double size_gb = 3;

Returns
Type Description
double

The sizeGb.

getVolumeType()

publicabstractStringgetVolumeType()

Underlying volume type, e.g. 'tmpfs'.

string volume_type = 2;

Returns
Type Description
String

The volumeType.

getVolumeTypeBytes()

publicabstractByteStringgetVolumeTypeBytes()

Underlying volume type, e.g. 'tmpfs'.

string volume_type = 2;

Returns
Type Description
ByteString

The bytes for volumeType.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.