Package com.google.cloud.gkebackup.v1
Interface CreateBackupRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateBackupRequest
,CreateBackupRequest.Builder
public interface CreateBackupRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Backup
getBackup()
The Backup resource to create.String
getBackupId()
The client-provided short name for the Backup resource.com.google.protobuf.ByteString
getBackupIdBytes()
The client-provided short name for the Backup resource.BackupOrBuilder
getBackupOrBuilder()
The Backup resource to create.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasBackup()
The Backup resource to create.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasBackup
boolean hasBackup()
The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2;
- Returns:
- Whether the backup field is set.
-
getBackup
Backup getBackup()
The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2;
- Returns:
- The backup.
-
getBackupOrBuilder
BackupOrBuilder getBackupOrBuilder()
The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2;
-
getBackupId
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:
- The backupId.
-
getBackupIdBytes
com.google.protobuf.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:
- The bytes for backupId.
-
-