Interface RenameVolumeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RenameVolumeRequest
,RenameVolumeRequest.Builder
public interface RenameVolumeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getNewVolumeId()
Required.com.google.protobuf.ByteString
getNewVolumeIdBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getNewVolumeId
String getNewVolumeId()
Required. The new `id` of the volume.
string new_volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The newVolumeId.
-
getNewVolumeIdBytes
com.google.protobuf.ByteString getNewVolumeIdBytes()
Required. The new `id` of the volume.
string new_volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for newVolumeId.
-
-