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 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 backup's project and location, in the format
       `projects/{project_id}/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_id}/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.v1beta1.Backup]
       
      .google.cloud.filestore.v1beta1.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.v1beta1.Backup]
       
      .google.cloud.filestore.v1beta1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The backup.
    • getBackupOrBuilder

      BackupOrBuilder getBackupOrBuilder()
       Required. A [backup resource][google.cloud.filestore.v1beta1.Backup]
       
      .google.cloud.filestore.v1beta1.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.
       
      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.
       
      string backup_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for backupId.