public static final class CreateTableFromSnapshotRequest.Builder extends GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder> implements CreateTableFromSnapshotRequestOrBuilder
Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Protobuf type google.bigtable.admin.v2.CreateTableFromSnapshotRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateTableFromSnapshotRequest.BuilderImplements
CreateTableFromSnapshotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTableFromSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
build()
public CreateTableFromSnapshotRequest build()
Type | Description |
CreateTableFromSnapshotRequest |
buildPartial()
public CreateTableFromSnapshotRequest buildPartial()
Type | Description |
CreateTableFromSnapshotRequest |
clear()
public CreateTableFromSnapshotRequest.Builder clear()
Type | Description |
CreateTableFromSnapshotRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateTableFromSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTableFromSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
clearParent()
public CreateTableFromSnapshotRequest.Builder clearParent()
Required. The unique name of the instance in which to create the table.
Values are of the form projects/{project}/instances/{instance}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
clearSourceSnapshot()
public CreateTableFromSnapshotRequest.Builder clearSourceSnapshot()
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
clearTableId()
public CreateTableFromSnapshotRequest.Builder clearTableId()
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
clone()
public CreateTableFromSnapshotRequest.Builder clone()
Type | Description |
CreateTableFromSnapshotRequest.Builder |
getDefaultInstanceForType()
public CreateTableFromSnapshotRequest getDefaultInstanceForType()
Type | Description |
CreateTableFromSnapshotRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The unique name of the instance in which to create the table.
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 unique name of the instance in which to create the table.
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. |
getSourceSnapshot()
public String getSourceSnapshot()
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The sourceSnapshot. |
getSourceSnapshotBytes()
public ByteString getSourceSnapshotBytes()
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for sourceSnapshot. |
getTableId()
public String getTableId()
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The tableId. |
getTableIdBytes()
public ByteString getTableIdBytes()
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for tableId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateTableFromSnapshotRequest other)
public CreateTableFromSnapshotRequest.Builder mergeFrom(CreateTableFromSnapshotRequest other)
Name | Description |
other | CreateTableFromSnapshotRequest |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTableFromSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateTableFromSnapshotRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTableFromSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTableFromSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
setParent(String value)
public CreateTableFromSnapshotRequest.Builder setParent(String value)
Required. The unique name of the instance in which to create the table.
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 |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateTableFromSnapshotRequest.Builder setParentBytes(ByteString value)
Required. The unique name of the instance in which to create the table.
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 |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTableFromSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateTableFromSnapshotRequest.Builder |
setSourceSnapshot(String value)
public CreateTableFromSnapshotRequest.Builder setSourceSnapshot(String value)
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The sourceSnapshot to set. |
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
setSourceSnapshotBytes(ByteString value)
public CreateTableFromSnapshotRequest.Builder setSourceSnapshotBytes(ByteString value)
Required. The unique name of the snapshot from which to restore the table. The
snapshot and the table must be in the same instance.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for sourceSnapshot to set. |
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
setTableId(String value)
public CreateTableFromSnapshotRequest.Builder setTableId(String value)
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The tableId to set. |
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
setTableIdBytes(ByteString value)
public CreateTableFromSnapshotRequest.Builder setTableIdBytes(ByteString value)
Required. The name by which the new table should be referred to within the parent
instance, e.g., foobar
rather than {parent}/tables/foobar
.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for tableId to set. |
Type | Description |
CreateTableFromSnapshotRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTableFromSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateTableFromSnapshotRequest.Builder |