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_number}/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_number}/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_number}/locations/{location_id}/backups/{backup_id}.

string source_backup = 3 [(.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_number}/locations/{location_id}/backups/{backup_id}.

string source_backup = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for sourceBackup.

getSourceCase()

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

hasSourceBackup()

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

Whether the sourceBackup field is set.