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_number}/locations/{location_id}/backups/{backup_id}`.
    com.google.protobuf.ByteString
    The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
     
    boolean
    The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.

    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_number}/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_number}/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.
    • hasSourceBackup

      boolean hasSourceBackup()
       The resource name of the backup, in the format
       `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.
       
      string source_backup = 3 [(.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_number}/locations/{location_id}/backups/{backup_id}`.
       
      string source_backup = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The sourceBackup.
    • getSourceBackupBytes

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