Interface RenameVolumeRequestOrBuilder (0.37.0)

public interface RenameVolumeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}

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

Returns
TypeDescription
ByteString

The bytes for name.

getNewVolumeId()

public abstract String getNewVolumeId()

Required. The new id of the volume.

string new_volume_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The newVolumeId.

getNewVolumeIdBytes()

public abstract ByteString getNewVolumeIdBytes()

Required. The new id of the volume.

string new_volume_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for newVolumeId.