public interface CreateSnapshotRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. 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 | |
---|---|
Type | Description |
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 | |
---|---|
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. |