Interface RestoreInstanceRequestOrBuilder (1.46.0)

public interface RestoreInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileShare()

public abstract 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
Type Description
String

The fileShare.

getFileShareBytes()

public abstract 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
Type Description
ByteString

The bytes for fileShare.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getSourceBackup()

public abstract 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
Type Description
String

The sourceBackup.

getSourceBackupBytes()

public abstract 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
Type Description
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract RestoreInstanceRequest.SourceCase getSourceCase()
Returns
Type Description
RestoreInstanceRequest.SourceCase

getSourceSnapshot() (deprecated)

public abstract String getSourceSnapshot()

Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=773

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
Type Description
String

The sourceSnapshot.

getSourceSnapshotBytes() (deprecated)

public abstract ByteString getSourceSnapshotBytes()

Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=773

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
Type Description
ByteString

The bytes for sourceSnapshot.

hasSourceBackup()

public abstract 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
Type Description
boolean

Whether the sourceBackup field is set.

hasSourceSnapshot() (deprecated)

public abstract boolean hasSourceSnapshot()

Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=773

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
Type Description
boolean

Whether the sourceSnapshot field is set.