Interface DeleteBackupRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DeleteBackupRequest, DeleteBackupRequest.Builder

@Generated public interface DeleteBackupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for etag.
    • getForce

      boolean getForce()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The force.