Interface CreateBackupRequestOrBuilder (0.7.0)

public interface CreateBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract Backup getBackup()

The Backup resource to create.

.google.cloud.gkebackup.v1.Backup backup = 2;

Returns
TypeDescription
Backup

The backup.

getBackupId()

public abstract String getBackupId()

The client-provided short name for the Backup resource. This name must:

  • be between 1 and 63 characters long (inclusive)
  • consist of only lower-case ASCII letters, numbers, and dashes
  • start with a lower-case letter
  • end with a lower-case letter or number
  • be unique within the set of Backups in this BackupPlan

string backup_id = 3;

Returns
TypeDescription
String

The backupId.

getBackupIdBytes()

public abstract ByteString getBackupIdBytes()

The client-provided short name for the Backup resource. This name must:

  • be between 1 and 63 characters long (inclusive)
  • consist of only lower-case ASCII letters, numbers, and dashes
  • start with a lower-case letter
  • end with a lower-case letter or number
  • be unique within the set of Backups in this BackupPlan

string backup_id = 3;

Returns
TypeDescription
ByteString

The bytes for backupId.

getBackupOrBuilder()

public abstract BackupOrBuilder getBackupOrBuilder()

The Backup resource to create.

.google.cloud.gkebackup.v1.Backup backup = 2;

Returns
TypeDescription
BackupOrBuilder

getParent()

public abstract String getParent()

Required. The BackupPlan within which to create the Backup. Format: projects/*/locations/*/backupPlans/*

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The BackupPlan within which to create the Backup. Format: projects/*/locations/*/backupPlans/*

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasBackup()

public abstract boolean hasBackup()

The Backup resource to create.

.google.cloud.gkebackup.v1.Backup backup = 2;

Returns
TypeDescription
boolean

Whether the backup field is set.