Interface CreateBackupRequestOrBuilder (1.48.0)

public interface CreateBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract Backup getBackup()

Required. A backup resource

.google.cloud.filestore.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Backup

The backup.

getBackupId()

public abstract String getBackupId()

Required. The ID to use for the backup. The ID must be unique within the specified project and location.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.

string backup_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public abstract ByteString getBackupIdBytes()

Required. The ID to use for the backup. The ID must be unique within the specified project and location.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.

string backup_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for backupId.

getBackupOrBuilder()

public abstract BackupOrBuilder getBackupOrBuilder()

Required. A backup resource

.google.cloud.filestore.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupOrBuilder

getParent()

public abstract String getParent()

Required. The backup's project and location, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The backup's project and location, in the format projects/{project_number}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.

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

Returns
Type Description
ByteString

The bytes for parent.

hasBackup()

public abstract boolean hasBackup()

Required. A backup resource

.google.cloud.filestore.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backup field is set.