public static final class CreateTableFromSnapshotRequest.Builder extends GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder> implements CreateTableFromSnapshotRequestOrBuilder
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. Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]Protobuf type
google.bigtable.admin.v2.CreateTableFromSnapshotRequest| Modifier and Type | Method and Description |
|---|---|
CreateTableFromSnapshotRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
CreateTableFromSnapshotRequest |
build() |
CreateTableFromSnapshotRequest |
buildPartial() |
CreateTableFromSnapshotRequest.Builder |
clear() |
CreateTableFromSnapshotRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
CreateTableFromSnapshotRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
CreateTableFromSnapshotRequest.Builder |
clearParent()
The unique name of the instance in which to create the table.
|
CreateTableFromSnapshotRequest.Builder |
clearSourceSnapshot()
The unique name of the snapshot from which to restore the table.
|
CreateTableFromSnapshotRequest.Builder |
clearTableId()
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
CreateTableFromSnapshotRequest.Builder |
clone() |
CreateTableFromSnapshotRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getParent()
The unique name of the instance in which to create the table.
|
ByteString |
getParentBytes()
The unique name of the instance in which to create the table.
|
java.lang.String |
getSourceSnapshot()
The unique name of the snapshot from which to restore the table.
|
ByteString |
getSourceSnapshotBytes()
The unique name of the snapshot from which to restore the table.
|
java.lang.String |
getTableId()
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
ByteString |
getTableIdBytes()
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateTableFromSnapshotRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
CreateTableFromSnapshotRequest.Builder |
mergeFrom(CreateTableFromSnapshotRequest other) |
CreateTableFromSnapshotRequest.Builder |
mergeFrom(Message other) |
CreateTableFromSnapshotRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
CreateTableFromSnapshotRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
CreateTableFromSnapshotRequest.Builder |
setParent(java.lang.String value)
The unique name of the instance in which to create the table.
|
CreateTableFromSnapshotRequest.Builder |
setParentBytes(ByteString value)
The unique name of the instance in which to create the table.
|
CreateTableFromSnapshotRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CreateTableFromSnapshotRequest.Builder |
setSourceSnapshot(java.lang.String value)
The unique name of the snapshot from which to restore the table.
|
CreateTableFromSnapshotRequest.Builder |
setSourceSnapshotBytes(ByteString value)
The unique name of the snapshot from which to restore the table.
|
CreateTableFromSnapshotRequest.Builder |
setTableId(java.lang.String value)
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
CreateTableFromSnapshotRequest.Builder |
setTableIdBytes(ByteString value)
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
CreateTableFromSnapshotRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic CreateTableFromSnapshotRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic CreateTableFromSnapshotRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic CreateTableFromSnapshotRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder mergeFrom(CreateTableFromSnapshotRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public CreateTableFromSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>java.io.IOExceptionpublic java.lang.String getParent()
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;getParent in interface CreateTableFromSnapshotRequestOrBuilderpublic ByteString getParentBytes()
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;getParentBytes in interface CreateTableFromSnapshotRequestOrBuilderpublic CreateTableFromSnapshotRequest.Builder setParent(java.lang.String value)
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;public CreateTableFromSnapshotRequest.Builder clearParent()
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;public CreateTableFromSnapshotRequest.Builder setParentBytes(ByteString value)
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;public java.lang.String getTableId()
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;getTableId in interface CreateTableFromSnapshotRequestOrBuilderpublic ByteString getTableIdBytes()
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;getTableIdBytes in interface CreateTableFromSnapshotRequestOrBuilderpublic CreateTableFromSnapshotRequest.Builder setTableId(java.lang.String value)
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;public CreateTableFromSnapshotRequest.Builder clearTableId()
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;public CreateTableFromSnapshotRequest.Builder setTableIdBytes(ByteString value)
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;public java.lang.String getSourceSnapshot()
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;getSourceSnapshot in interface CreateTableFromSnapshotRequestOrBuilderpublic ByteString getSourceSnapshotBytes()
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;getSourceSnapshotBytes in interface CreateTableFromSnapshotRequestOrBuilderpublic CreateTableFromSnapshotRequest.Builder setSourceSnapshot(java.lang.String value)
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;public CreateTableFromSnapshotRequest.Builder clearSourceSnapshot()
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;public CreateTableFromSnapshotRequest.Builder setSourceSnapshotBytes(ByteString value)
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;public final CreateTableFromSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>public final CreateTableFromSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>