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()
      Required.
      String getBackupId()
      Required.
      com.google.protobuf.ByteString getBackupIdBytes()
      Required.
      BackupOrBuilder getBackupOrBuilder()
      Required.
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Required.
      boolean hasBackup()
      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 Detail

      • getParent

        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:
        The parent.
      • getParentBytes

        com.google.protobuf.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:
        The bytes for parent.
      • hasBackup

        boolean hasBackup()
         Required. A [backup resource][google.cloud.filestore.v1.Backup]
         
        .google.cloud.filestore.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the backup field is set.
      • getBackup

        Backup getBackup()
         Required. A [backup resource][google.cloud.filestore.v1.Backup]
         
        .google.cloud.filestore.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The backup.
      • getBackupOrBuilder

        BackupOrBuilder getBackupOrBuilder()
         Required. A [backup resource][google.cloud.filestore.v1.Backup]
         
        .google.cloud.filestore.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];
      • getBackupId

        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:
        The backupId.
      • getBackupIdBytes

        com.google.protobuf.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:
        The bytes for backupId.