Interface RestoreInstanceRequestOrBuilder (1.10.0)

public interface RestoreInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileShare()

public abstract String getFileShare()

Required. Name of the file share in the Cloud Filestore instance that the backup is being restored to.

string file_share = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The fileShare.

getFileShareBytes()

public abstract ByteString getFileShareBytes()

Required. Name of the file share in the Cloud Filestore instance that the backup is being restored to.

string file_share = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract RestoreInstanceRequest.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the sourceBackup field is set.