public final class Restore extends GeneratedMessageV3 implements RestoreOrBuilder
The details of a metadata restore operation.
Protobuf type google.cloud.metastore.v1beta.Restore
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BACKUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Restore getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Restore.Builder newBuilder()
public static Restore.Builder newBuilder(Restore prototype)
Parameter |
Name |
Description |
prototype |
Restore
|
public static Restore parseDelimitedFrom(InputStream input)
public static Restore parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Restore parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Restore parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Restore parseFrom(ByteString data)
public static Restore parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Restore parseFrom(CodedInputStream input)
public static Restore parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Restore parseFrom(InputStream input)
public static Restore parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Restore parseFrom(ByteBuffer data)
public static Restore parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Restore> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public 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 |
Type |
Description |
String |
The backup.
|
public 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 |
Type |
Description |
ByteString |
The bytes for backup.
|
public Restore getDefaultInstanceForType()
public 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 |
Type |
Description |
String |
The details.
|
public 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 |
Type |
Description |
ByteString |
The bytes for details.
|
public Timestamp getEndTime()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The endTime.
|
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Parser<Restore> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Timestamp getStartTime()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Restore.State getState()
Output only. The current state of the restore.
.google.cloud.metastore.v1beta.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getStateValue()
Output only. The current state of the restore.
.google.cloud.metastore.v1beta.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
public Restore.RestoreType getType()
Output only. The type of restore.
.google.cloud.metastore.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getTypeValue()
Output only. The type of restore.
.google.cloud.metastore.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
public boolean hasEndTime()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the endTime field is set.
|
public boolean hasStartTime()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Restore.Builder newBuilderForType()
protected Restore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Restore.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides