Package com.google.cloud.batch.v1alpha
Interface PDOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PD,PD.Builder
@Generated
public interface PDOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPD device name, e.g. persistent-disk-1.com.google.protobuf.ByteStringPD device name, e.g. persistent-disk-1.getDisk()PD disk name, e.g. pd-1.com.google.protobuf.ByteStringPD disk name, e.g. pd-1.booleanDeprecated.google.cloud.batch.v1alpha.PD.existing is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDisk
String getDisk()PD disk name, e.g. pd-1.
string disk = 1;- Returns:
- The disk.
-
getDiskBytes
com.google.protobuf.ByteString getDiskBytes()PD disk name, e.g. pd-1.
string disk = 1;- Returns:
- The bytes for disk.
-
getDevice
String getDevice()PD device name, e.g. persistent-disk-1.
string device = 2;- Returns:
- The device.
-
getDeviceBytes
com.google.protobuf.ByteString getDeviceBytes()PD device name, e.g. persistent-disk-1.
string device = 2;- Returns:
- The bytes for device.
-
getExisting
Deprecated.google.cloud.batch.v1alpha.PD.existing is deprecated. See google/cloud/batch/v1alpha/volume.proto;l=89Whether 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:
- The existing.
-