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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateTableFromSnapshotRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateTableFromSnapshotRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateTableFromSnapshotRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder mergeFrom(CreateTableFromSnapshotRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public CreateTableFromSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateTableFromSnapshotRequest.Builder>
java.io.IOException
public 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 CreateTableFromSnapshotRequestOrBuilder
public 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 CreateTableFromSnapshotRequestOrBuilder
public 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 CreateTableFromSnapshotRequestOrBuilder
public 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 CreateTableFromSnapshotRequestOrBuilder
public 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 CreateTableFromSnapshotRequestOrBuilder
public 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 CreateTableFromSnapshotRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>
public final CreateTableFromSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateTableFromSnapshotRequest.Builder>