Interface CreateVolumeRequestOrBuilder (0.27.0)

public interface CreateVolumeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Value for parent.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Value for parent.

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

Returns
Type Description
ByteString

The bytes for parent.

getVolume()

public abstract Volume getVolume()

Required. The volume being created.

.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Volume

The volume.

getVolumeId()

public abstract String getVolumeId()

Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The volumeId.

getVolumeIdBytes()

public abstract ByteString getVolumeIdBytes()

Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for volumeId.

getVolumeOrBuilder()

public abstract VolumeOrBuilder getVolumeOrBuilder()

Required. The volume being created.

.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VolumeOrBuilder

hasVolume()

public abstract boolean hasVolume()

Required. The volume being created.

.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the volume field is set.