- 2.79.0 (latest)
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.71.0
 - 2.69.0
 - 2.68.0
 - 2.65.0
 - 2.64.0
 - 2.63.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 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 RestoreOrBuilderThe details of a metadata restore operation.
 Protobuf type google.cloud.metastore.v1beta.Restore
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Restore.BuilderImplements
RestoreOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Restore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Restore.Builder | 
build()
public Restore build()| Type | Description | 
| Restore | 
buildPartial()
public Restore buildPartial()| Type | Description | 
| Restore | 
clear()
public Restore.Builder clear()| 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) = { ... }
 
| 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];
| 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];
 
| Type | Description | 
| Restore.Builder | 
clearField(Descriptors.FieldDescriptor field)
public Restore.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| Restore.Builder | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Restore.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| 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];
 
| Type | Description | 
| Restore.Builder | 
clearState()
public Restore.Builder clearState()Output only. The current state of the restore.
 
 .google.cloud.metastore.v1beta.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Restore.Builder | This builder for chaining.  | 
      
clearType()
public Restore.Builder clearType()Output only. The type of restore.
 
 .google.cloud.metastore.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Restore.Builder | This builder for chaining.  | 
      
clone()
public Restore.Builder clone()| 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) = { ... }
 
| 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) = { ... }
 
| Type | Description | 
| ByteString | The bytes for backup.  | 
      
getDefaultInstanceForType()
public Restore getDefaultInstanceForType()| Type | Description | 
| Restore | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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];
| 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];
| 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];
 
| 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];
 
| 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];
 
| 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];
 
| 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];
 
| 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];
 
| Type | Description | 
| TimestampOrBuilder | 
getState()
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];
 
| Type | Description | 
| Restore.State | The state.  | 
      
getStateValue()
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];
 
| 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.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Restore.RestoreType | The type.  | 
      
getTypeValue()
public int getTypeValue()Output only. The type of restore.
 
 .google.cloud.metastore.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| 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];
 
| 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];
 
| Type | Description | 
| boolean | Whether the startTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| 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];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Restore.Builder | 
mergeFrom(Restore other)
public Restore.Builder mergeFrom(Restore other)| Name | Description | 
| other | Restore | 
      
| Type | Description | 
| Restore.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Restore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Restore.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public Restore.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| 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];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Restore.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Restore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| 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) = { ... }
 
| Name | Description | 
| value | StringThe backup to set.  | 
      
| 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) = { ... }
 
| Name | Description | 
| value | ByteStringThe bytes for backup to set.  | 
      
| 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];
| Name | Description | 
| value | StringThe details to set.  | 
      
| 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];
| Name | Description | 
| value | ByteStringThe bytes for details to set.  | 
      
| 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];
 
| Name | Description | 
| value | Timestamp | 
      
| 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];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Restore.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public Restore.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Restore.Builder | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Restore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| 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];
 
| Name | Description | 
| value | Timestamp | 
      
| 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];
 
| Name | Description | 
| builderForValue | Builder | 
      
| 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.v1beta.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Restore.StateThe state to set.  | 
      
| 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.v1beta.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set.  | 
      
| 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.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Restore.RestoreTypeThe type to set.  | 
      
| 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.v1beta.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | intThe enum numeric value on the wire for type to set.  | 
      
| Type | Description | 
| Restore.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Restore.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Restore.Builder |