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
@Generated
public interface CreateBackupRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()Optional. The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the backup field is set.
-
getBackup
Backup getBackup()Optional. The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The backup.
-
getBackupOrBuilder
BackupOrBuilder getBackupOrBuilder()Optional. The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getBackupId
String getBackupId()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The backupId.
-
getBackupIdBytes
com.google.protobuf.ByteString getBackupIdBytes()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for backupId.
-