Interface CreateSnapshotRequestOrBuilder (0.9.0)

public interface CreateSnapshotRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSnapshot()

public abstract Snapshot getSnapshot()

Required. A snapshot resource

.google.cloud.netapp.v1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Snapshot

The snapshot.

getSnapshotId()

public abstract String getSnapshotId()

Required. ID of the snapshot to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The snapshotId.

getSnapshotIdBytes()

public abstract ByteString getSnapshotIdBytes()

Required. ID of the snapshot to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for snapshotId.

getSnapshotOrBuilder()

public abstract SnapshotOrBuilder getSnapshotOrBuilder()

Required. A snapshot resource

.google.cloud.netapp.v1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SnapshotOrBuilder

hasSnapshot()

public abstract boolean hasSnapshot()

Required. A snapshot resource

.google.cloud.netapp.v1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the snapshot field is set.