Interface CreateBackupPlanRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateBackupPlanRequest, CreateBackupPlanRequest.Builder

@Generated public interface CreateBackupPlanRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 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.