Package com.google.cloud.gkebackup.v1
Interface DeleteBackupRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeleteBackupRequest,DeleteBackupRequest.Builder
public interface DeleteBackupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEtag()If provided, this value must match the current value of the target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is rejected.com.google.protobuf.ByteStringgetEtagBytes()If provided, this value must match the current value of the target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is rejected.booleangetForce()If set to true, any VolumeBackups below this Backup will also be deleted.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()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. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getEtag
String getEtag()
If provided, this value must match the current value of the target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is rejected.
string etag = 2;- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
If provided, this value must match the current value of the target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is rejected.
string etag = 2;- Returns:
- The bytes for etag.
-
getForce
boolean getForce()
If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.
bool force = 3;- Returns:
- The force.
-
-