Interface CreateVolumeSnapshotRequestOrBuilder (0.2.1)

public interface CreateVolumeSnapshotRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The volume to snapshot.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The volume to snapshot.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getVolumeSnapshot()

public abstract VolumeSnapshot getVolumeSnapshot()

Required. The volume snapshot to create. Only the description field may be specified.

.google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
VolumeSnapshot

The volumeSnapshot.

getVolumeSnapshotOrBuilder()

public abstract VolumeSnapshotOrBuilder getVolumeSnapshotOrBuilder()

Required. The volume snapshot to create. Only the description field may be specified.

.google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
VolumeSnapshotOrBuilder

hasVolumeSnapshot()

public abstract boolean hasVolumeSnapshot()

Required. The volume snapshot to create. Only the description field may be specified.

.google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the volumeSnapshot field is set.