- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.4
- 2.3.0
- 2.2.0
- 2.1.9
public static final class Restore.Builder extends GeneratedMessageV3.Builder<Restore.Builder> implements RestoreOrBuilder
The details of a metadata restore operation.
Protobuf type google.cloud.metastore.v1alpha.Restore
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Restore.BuilderImplements
RestoreOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Restore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Restore.Builder |
build()
public Restore build()
Returns | |
---|---|
Type | Description |
Restore |
buildPartial()
public Restore buildPartial()
Returns | |
---|---|
Type | Description |
Restore |
clear()
public Restore.Builder clear()
Returns | |
---|---|
Type | Description |
Restore.Builder |
clearBackup()
public Restore.Builder clearBackup()
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 |
Restore.Builder |
This builder for chaining. |
clearDetails()
public Restore.Builder clearDetails()
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 |
Restore.Builder |
This builder for chaining. |
clearEndTime()
public Restore.Builder clearEndTime()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Restore.Builder |
clearField(Descriptors.FieldDescriptor field)
public Restore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Restore.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Restore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Restore.Builder |
clearStartTime()
public Restore.Builder clearStartTime()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Restore.Builder |
clearState()
public Restore.Builder clearState()
Output only. The current state of the restore.
.google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
clearType()
public Restore.Builder clearType()
Output only. The type of restore.
.google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
clone()
public Restore.Builder clone()
Returns | |
---|---|
Type | Description |
Restore.Builder |
getBackup()
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. |
getBackupBytes()
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. |
getDefaultInstanceForType()
public Restore getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Restore |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetails()
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. |
getDetailsBytes()
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. |
getEndTime()
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. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStartTime()
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. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getState()
public Restore.State getState()
Output only. The current state of the restore.
.google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Restore.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The current state of the restore.
.google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getType()
public Restore.RestoreType getType()
Output only. The type of restore.
.google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Restore.RestoreType |
The type. |
getTypeValue()
public int getTypeValue()
Output only. The type of restore.
.google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
hasEndTime()
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. |
hasStartTime()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public Restore.Builder mergeEndTime(Timestamp value)
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Restore.Builder |
mergeFrom(Restore other)
public Restore.Builder mergeFrom(Restore other)
Parameter | |
---|---|
Name | Description |
other |
Restore |
Returns | |
---|---|
Type | Description |
Restore.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Restore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Restore.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Restore.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Restore.Builder |
mergeStartTime(Timestamp value)
public Restore.Builder mergeStartTime(Timestamp value)
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Restore.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Restore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setBackup(String value)
public Restore.Builder setBackup(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The backup to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setBackupBytes(ByteString value)
public Restore.Builder setBackupBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backup to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setDetails(String value)
public Restore.Builder setDetails(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The details to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setDetailsBytes(ByteString value)
public Restore.Builder setDetailsBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for details to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public Restore.Builder setEndTime(Timestamp value)
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Restore.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time when the restore ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Restore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Restore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setStartTime(Timestamp value)
public Restore.Builder setStartTime(Timestamp value)
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Restore.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The time when the restore started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Restore.Builder |
setState(Restore.State value)
public Restore.Builder setState(Restore.State value)
Output only. The current state of the restore.
.google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Restore.State The state to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setStateValue(int value)
public Restore.Builder setStateValue(int value)
Output only. The current state of the restore.
.google.cloud.metastore.v1alpha.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setType(Restore.RestoreType value)
public Restore.Builder setType(Restore.RestoreType value)
Output only. The type of restore.
.google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Restore.RestoreType The type to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setTypeValue(int value)
public Restore.Builder setTypeValue(int value)
Output only. The type of restore.
.google.cloud.metastore.v1alpha.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
Restore.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Restore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Restore.Builder |