Package com.google.cloud.gkebackup.v1
Interface CreateBackupPlanRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateBackupPlanRequest
,CreateBackupPlanRequest.Builder
public interface CreateBackupPlanRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupPlan
getBackupPlan()
Required.String
getBackupPlanId()
Required.com.google.protobuf.ByteString
getBackupPlanIdBytes()
Required.BackupPlanOrBuilder
getBackupPlanOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasBackupPlan()
Required.-
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 location within which to create the BackupPlan. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The location within which to create the BackupPlan. Format: `projects/*/locations/*`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasBackupPlan
boolean hasBackupPlan()
Required. The BackupPlan resource object to create.
.google.cloud.gkebackup.v1.BackupPlan backup_plan = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the backupPlan field is set.
-
getBackupPlan
BackupPlan getBackupPlan()
Required. The BackupPlan resource object to create.
.google.cloud.gkebackup.v1.BackupPlan backup_plan = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The backupPlan.
-
getBackupPlanOrBuilder
BackupPlanOrBuilder getBackupPlanOrBuilder()
Required. The BackupPlan resource object to create.
.google.cloud.gkebackup.v1.BackupPlan backup_plan = 2 [(.google.api.field_behavior) = REQUIRED];
-
getBackupPlanId
String getBackupPlanId()
Required. The client-provided short name for the BackupPlan 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 BackupPlans in this location
string backup_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The backupPlanId.
-
getBackupPlanIdBytes
com.google.protobuf.ByteString getBackupPlanIdBytes()
Required. The client-provided short name for the BackupPlan 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 BackupPlans in this location
string backup_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for backupPlanId.
-
-