Interface RestoreOrBuilder (0.16.0)

public interface RestoreOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract String getBackup()

Output only. The relative resource name of the metastore service backup to restore from, in the following form: projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.

string backup = 4;

Returns
Type Description
String

The backup.

getBackupBytes()

public abstract ByteString getBackupBytes()

Output only. The relative resource name of the metastore service backup to restore from, in the following form: projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.

string backup = 4;

Returns
Type Description
ByteString

The bytes for backup.

getDetails()

public abstract String getDetails()

Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

string details = 6;

Returns
Type Description
String

The details.

getDetailsBytes()

public abstract ByteString getDetailsBytes()

Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

string details = 6;

Returns
Type Description
ByteString

The bytes for details.

getEndTime()

public abstract Timestamp getEndTime()

Output only. The time when the restore ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time when the restore ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getStartTime()

public abstract Timestamp getStartTime()

Output only. The time when the restore started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the restore started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public abstract Restore.State getState()

Output only. The current state of the restore.

.google.events.cloud.metastore.v1.Restore.State state = 3;

Returns
Type Description
Restore.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the restore.

.google.events.cloud.metastore.v1.Restore.State state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public abstract Restore.RestoreType getType()

Output only. The type of restore.

.google.events.cloud.metastore.v1.Restore.RestoreType type = 5;

Returns
Type Description
Restore.RestoreType

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. The type of restore.

.google.events.cloud.metastore.v1.Restore.RestoreType type = 5;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The time when the restore ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The time when the restore started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.