Interface CreateSnapshotRequestOrBuilder (0.31.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
Type Description
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
Type Description
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
Type Description
Snapshot

The snapshot.

getSnapshotId()

public abstract String getSnapshotId()

Required. ID of the snapshot to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

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

Returns
Type Description
String

The snapshotId.

getSnapshotIdBytes()

public abstract ByteString getSnapshotIdBytes()

Required. ID of the snapshot to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

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

Returns
Type Description
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
Type Description
SnapshotOrBuilder

hasSnapshot()

public abstract boolean hasSnapshot()

Required. A snapshot resource

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

Returns
Type Description
boolean

Whether the snapshot field is set.