Interface RestoreInstanceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
    com.google.protobuf.ByteString
    The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
     
    Deprecated.
    google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated.
    boolean
    The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
    boolean
    Deprecated.
    google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated.

    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

    • getName

      String getName()
       Required. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getFileShare

      String getFileShare()
       Required. Name of the file share in the Filestore instance that the backup
       is being restored to.
       
      string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The fileShare.
    • getFileShareBytes

      com.google.protobuf.ByteString getFileShareBytes()
       Required. Name of the file share in the Filestore instance that the backup
       is being restored to.
       
      string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for fileShare.
    • hasSourceSnapshot

      @Deprecated boolean hasSourceSnapshot()
      Deprecated.
      google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=989
       The resource name of the snapshot, in the format
       `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.
       
      string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the sourceSnapshot field is set.
    • getSourceSnapshot

      @Deprecated String getSourceSnapshot()
      Deprecated.
      google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=989
       The resource name of the snapshot, in the format
       `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.
       
      string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
      Returns:
      The sourceSnapshot.
    • getSourceSnapshotBytes

      @Deprecated com.google.protobuf.ByteString getSourceSnapshotBytes()
      Deprecated.
      google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=989
       The resource name of the snapshot, in the format
       `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`.
       
      string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for sourceSnapshot.
    • hasSourceBackup

      boolean hasSourceBackup()
       The resource name of the backup, in the format
       `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
       
      string source_backup = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the sourceBackup field is set.
    • getSourceBackup

      String getSourceBackup()
       The resource name of the backup, in the format
       `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
       
      string source_backup = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      The sourceBackup.
    • getSourceBackupBytes

      com.google.protobuf.ByteString getSourceBackupBytes()
       The resource name of the backup, in the format
       `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
       
      string source_backup = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for sourceBackup.
    • getSourceCase