public final class Restore extends GeneratedMessageV3 implements RestoreOrBuilder
The details of a metadata restore operation.
Protobuf type google.events.cloud.metastore.v1.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;
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;
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;
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;
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;
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2;
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;
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1;
public Restore.State getState()
Output only. The current state of the restore.
.google.events.cloud.metastore.v1.Restore.State state = 3;
public 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.
|
public Restore.RestoreType getType()
Output only. The type of restore.
.google.events.cloud.metastore.v1.Restore.RestoreType type = 5;
public 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.
|
public final UnknownFieldSet getUnknownFields()
Overrides
public 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.
|
public 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.
|
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)
Overrides
public Restore.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides