Interface CreateVolumeSnapshotRequestOrBuilder (0.24.0)

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 snapshot to create.

.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 snapshot to create.

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

Returns
TypeDescription
VolumeSnapshotOrBuilder

hasVolumeSnapshot()

public abstract boolean hasVolumeSnapshot()

Required. The snapshot to create.

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

Returns
TypeDescription
boolean

Whether the volumeSnapshot field is set.