public static final class RestoreTableRequest.Builder extends GeneratedMessageV3.Builder<RestoreTableRequest.Builder> implements RestoreTableRequestOrBuilder
The request for RestoreTable.
Protobuf type google.bigtable.admin.v2.RestoreTableRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreTableRequest.BuilderImplements
RestoreTableRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreTableRequest.Builder |
build()
public RestoreTableRequest build()
Type | Description |
RestoreTableRequest |
buildPartial()
public RestoreTableRequest buildPartial()
Type | Description |
RestoreTableRequest |
clear()
public RestoreTableRequest.Builder clear()
Type | Description |
RestoreTableRequest.Builder |
clearBackup()
public RestoreTableRequest.Builder clearBackup()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RestoreTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RestoreTableRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RestoreTableRequest.Builder |
clearParent()
public RestoreTableRequest.Builder clearParent()
Required. The name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
Values are of the form projects/<project>/instances/<instance>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
clearSource()
public RestoreTableRequest.Builder clearSource()
Type | Description |
RestoreTableRequest.Builder |
clearTableId()
public RestoreTableRequest.Builder clearTableId()
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
clone()
public RestoreTableRequest.Builder clone()
Type | Description |
RestoreTableRequest.Builder |
getBackup()
public String getBackup()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The backup. |
getBackupBytes()
public ByteString getBackupBytes()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for backup. |
getDefaultInstanceForType()
public RestoreTableRequest getDefaultInstanceForType()
Type | Description |
RestoreTableRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
Values are of the form projects/<project>/instances/<instance>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
Values are of the form projects/<project>/instances/<instance>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getSourceCase()
public RestoreTableRequest.SourceCase getSourceCase()
Type | Description |
RestoreTableRequest.SourceCase |
getTableId()
public String getTableId()
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The tableId. |
getTableIdBytes()
public ByteString getTableIdBytes()
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for tableId. |
hasBackup()
public boolean hasBackup()
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the backup field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RestoreTableRequest other)
public RestoreTableRequest.Builder mergeFrom(RestoreTableRequest other)
Name | Description |
other | RestoreTableRequest |
Type | Description |
RestoreTableRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreTableRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreTableRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RestoreTableRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreTableRequest.Builder |
setBackup(String value)
public RestoreTableRequest.Builder setBackup(String value)
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The backup to set. |
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
setBackupBytes(ByteString value)
public RestoreTableRequest.Builder setBackupBytes(ByteString value)
Name of the backup from which to restore. Values are of the form
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
.
string backup = 3 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for backup to set. |
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreTableRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreTableRequest.Builder |
setParent(String value)
public RestoreTableRequest.Builder setParent(String value)
Required. The name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
Values are of the form projects/<project>/instances/<instance>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public RestoreTableRequest.Builder setParentBytes(ByteString value)
Required. The name of the instance in which to create the restored
table. This instance must be in the same project as the source backup.
Values are of the form projects/<project>/instances/<instance>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreTableRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RestoreTableRequest.Builder |
setTableId(String value)
public RestoreTableRequest.Builder setTableId(String value)
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The tableId to set. |
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
setTableIdBytes(ByteString value)
public RestoreTableRequest.Builder setTableIdBytes(ByteString value)
Required. The id of the table to create and restore to. This
table must not already exist. The table_id
appended to
parent
forms the full table name of the form
projects/<project>/instances/<instance>/tables/<table_id>
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for tableId to set. |
Type | Description |
RestoreTableRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreTableRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreTableRequest.Builder |