Package com.google.cloud.metastore.v1
Interface RestoreOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Restore
,Restore.Builder
public interface RestoreOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBackup()
Output only.com.google.protobuf.ByteString
getBackupBytes()
Output only.String
getDetails()
Output only.com.google.protobuf.ByteString
getDetailsBytes()
Output only.com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.Restore.State
getState()
Output only.int
getStateValue()
Output only.Restore.RestoreType
getType()
Output only.int
getTypeValue()
Output only.boolean
hasEndTime()
Output only.boolean
hasStartTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStartTime
boolean hasStartTime()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasEndTime
boolean hasEndTime()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStateValue
int getStateValue()
Output only. The current state of the restore.
.google.cloud.metastore.v1.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Restore.State getState()
Output only. The current state of the restore.
.google.cloud.metastore.v1.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getBackup
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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- The backup.
-
getBackupBytes
com.google.protobuf.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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for backup.
-
getTypeValue
int getTypeValue()
Output only. The type of restore.
.google.cloud.metastore.v1.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for type.
-
getType
Restore.RestoreType getType()
Output only. The type of restore.
.google.cloud.metastore.v1.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The type.
-
getDetails
String getDetails()
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
string details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The details.
-
getDetailsBytes
com.google.protobuf.ByteString getDetailsBytes()
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
string details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for details.
-
-