Class RestoreInfo.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class RestoreInfo.Builder extends GeneratedMessageV3.Builder<RestoreInfo.Builder> implements RestoreInfoOrBuilder
Information about a table restore.
Protobuf type google.bigtable.admin.v2.RestoreInfo
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RestoreInfo build()
Returns
buildPartial()
public RestoreInfo buildPartial()
Returns
clear()
public RestoreInfo.Builder clear()
Returns
Overrides
clearBackupInfo()
public RestoreInfo.Builder clearBackupInfo()
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public RestoreInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSourceInfo()
public RestoreInfo.Builder clearSourceInfo()
Returns
clearSourceType()
public RestoreInfo.Builder clearSourceType()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 1;
Returns
clone()
public RestoreInfo.Builder clone()
Returns
Overrides
getBackupInfo()
public BackupInfo getBackupInfo()
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Returns
getBackupInfoBuilder()
public BackupInfo.Builder getBackupInfoBuilder()
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Returns
getBackupInfoOrBuilder()
public BackupInfoOrBuilder getBackupInfoOrBuilder()
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Returns
getDefaultInstanceForType()
public RestoreInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSourceInfoCase()
public RestoreInfo.SourceInfoCase getSourceInfoCase()
Returns
getSourceType()
public RestoreSourceType getSourceType()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 1;
Returns
getSourceTypeValue()
public int getSourceTypeValue()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for sourceType.
|
hasBackupInfo()
public boolean hasBackupInfo()
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Returns
Type | Description |
boolean | Whether the backupInfo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBackupInfo(BackupInfo value)
public RestoreInfo.Builder mergeBackupInfo(BackupInfo value)
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Parameter
Returns
mergeFrom(RestoreInfo other)
public RestoreInfo.Builder mergeFrom(RestoreInfo other)
Parameter
Returns
public RestoreInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RestoreInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBackupInfo(BackupInfo value)
public RestoreInfo.Builder setBackupInfo(BackupInfo value)
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Parameter
Returns
setBackupInfo(BackupInfo.Builder builderForValue)
public RestoreInfo.Builder setBackupInfo(BackupInfo.Builder builderForValue)
Information about the backup used to restore the table. The backup
may no longer exist.
.google.bigtable.admin.v2.BackupInfo backup_info = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSourceType(RestoreSourceType value)
public RestoreInfo.Builder setSourceType(RestoreSourceType value)
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 1;
Parameter
Returns
setSourceTypeValue(int value)
public RestoreInfo.Builder setSourceTypeValue(int value)
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for sourceType to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]