public static final class SnapshotTableRequest.Builder extends GeneratedMessageV3.Builder<SnapshotTableRequest.Builder> implements SnapshotTableRequestOrBuilder
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.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]Protobuf type
google.bigtable.admin.v2.SnapshotTableRequest| Modifier and Type | Method and Description |
|---|---|
SnapshotTableRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
SnapshotTableRequest |
build() |
SnapshotTableRequest |
buildPartial() |
SnapshotTableRequest.Builder |
clear() |
SnapshotTableRequest.Builder |
clearCluster()
The name of the cluster where the snapshot will be created in.
|
SnapshotTableRequest.Builder |
clearDescription()
Description of the snapshot.
|
SnapshotTableRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
SnapshotTableRequest.Builder |
clearName()
The unique name of the table to have the snapshot taken.
|
SnapshotTableRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
SnapshotTableRequest.Builder |
clearSnapshotId()
The ID by which the new snapshot should be referred to within the parent
cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
rather than
`projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
SnapshotTableRequest.Builder |
clearTtl()
The amount of time that the new snapshot can stay active after it is
created.
|
SnapshotTableRequest.Builder |
clone() |
java.lang.String |
getCluster()
The name of the cluster where the snapshot will be created in.
|
ByteString |
getClusterBytes()
The name of the cluster where the snapshot will be created in.
|
SnapshotTableRequest |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Description of the snapshot.
|
ByteString |
getDescriptionBytes()
Description of the snapshot.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getName()
The unique name of the table to have the snapshot taken.
|
ByteString |
getNameBytes()
The unique name of the table to have the snapshot taken.
|
java.lang.String |
getSnapshotId()
The ID by which the new snapshot should be referred to within the parent
cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
rather than
`projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
ByteString |
getSnapshotIdBytes()
The ID by which the new snapshot should be referred to within the parent
cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
rather than
`projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
Duration |
getTtl()
The amount of time that the new snapshot can stay active after it is
created.
|
Duration.Builder |
getTtlBuilder()
The amount of time that the new snapshot can stay active after it is
created.
|
DurationOrBuilder |
getTtlOrBuilder()
The amount of time that the new snapshot can stay active after it is
created.
|
boolean |
hasTtl()
The amount of time that the new snapshot can stay active after it is
created.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SnapshotTableRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
SnapshotTableRequest.Builder |
mergeFrom(Message other) |
SnapshotTableRequest.Builder |
mergeFrom(SnapshotTableRequest other) |
SnapshotTableRequest.Builder |
mergeTtl(Duration value)
The amount of time that the new snapshot can stay active after it is
created.
|
SnapshotTableRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
SnapshotTableRequest.Builder |
setCluster(java.lang.String value)
The name of the cluster where the snapshot will be created in.
|
SnapshotTableRequest.Builder |
setClusterBytes(ByteString value)
The name of the cluster where the snapshot will be created in.
|
SnapshotTableRequest.Builder |
setDescription(java.lang.String value)
Description of the snapshot.
|
SnapshotTableRequest.Builder |
setDescriptionBytes(ByteString value)
Description of the snapshot.
|
SnapshotTableRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
SnapshotTableRequest.Builder |
setName(java.lang.String value)
The unique name of the table to have the snapshot taken.
|
SnapshotTableRequest.Builder |
setNameBytes(ByteString value)
The unique name of the table to have the snapshot taken.
|
SnapshotTableRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
SnapshotTableRequest.Builder |
setSnapshotId(java.lang.String value)
The ID by which the new snapshot should be referred to within the parent
cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
rather than
`projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
SnapshotTableRequest.Builder |
setSnapshotIdBytes(ByteString value)
The ID by which the new snapshot should be referred to within the parent
cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
rather than
`projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
SnapshotTableRequest.Builder |
setTtl(Duration.Builder builderForValue)
The amount of time that the new snapshot can stay active after it is
created.
|
SnapshotTableRequest.Builder |
setTtl(Duration value)
The amount of time that the new snapshot can stay active after it is
created.
|
SnapshotTableRequest.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<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic SnapshotTableRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic SnapshotTableRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic SnapshotTableRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder mergeFrom(SnapshotTableRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public SnapshotTableRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<SnapshotTableRequest.Builder>java.io.IOExceptionpublic java.lang.String getName()
The unique name of the table to have the snapshot taken. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string name = 1;getName in interface SnapshotTableRequestOrBuilderpublic ByteString getNameBytes()
The unique name of the table to have the snapshot taken. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string name = 1;getNameBytes in interface SnapshotTableRequestOrBuilderpublic SnapshotTableRequest.Builder setName(java.lang.String value)
The unique name of the table to have the snapshot taken. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string name = 1;public SnapshotTableRequest.Builder clearName()
The unique name of the table to have the snapshot taken. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string name = 1;public SnapshotTableRequest.Builder setNameBytes(ByteString value)
The unique name of the table to have the snapshot taken. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string name = 1;public java.lang.String getCluster()
The name of the cluster where the snapshot will be created in. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>`.
string cluster = 2;getCluster in interface SnapshotTableRequestOrBuilderpublic ByteString getClusterBytes()
The name of the cluster where the snapshot will be created in. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>`.
string cluster = 2;getClusterBytes in interface SnapshotTableRequestOrBuilderpublic SnapshotTableRequest.Builder setCluster(java.lang.String value)
The name of the cluster where the snapshot will be created in. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>`.
string cluster = 2;public SnapshotTableRequest.Builder clearCluster()
The name of the cluster where the snapshot will be created in. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>`.
string cluster = 2;public SnapshotTableRequest.Builder setClusterBytes(ByteString value)
The name of the cluster where the snapshot will be created in. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>`.
string cluster = 2;public java.lang.String getSnapshotId()
The ID by which the new snapshot should be referred to within the parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
string snapshot_id = 3;getSnapshotId in interface SnapshotTableRequestOrBuilderpublic ByteString getSnapshotIdBytes()
The ID by which the new snapshot should be referred to within the parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
string snapshot_id = 3;getSnapshotIdBytes in interface SnapshotTableRequestOrBuilderpublic SnapshotTableRequest.Builder setSnapshotId(java.lang.String value)
The ID by which the new snapshot should be referred to within the parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
string snapshot_id = 3;public SnapshotTableRequest.Builder clearSnapshotId()
The ID by which the new snapshot should be referred to within the parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
string snapshot_id = 3;public SnapshotTableRequest.Builder setSnapshotIdBytes(ByteString value)
The ID by which the new snapshot should be referred to within the parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
string snapshot_id = 3;public boolean hasTtl()
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;hasTtl in interface SnapshotTableRequestOrBuilderpublic Duration getTtl()
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;getTtl in interface SnapshotTableRequestOrBuilderpublic SnapshotTableRequest.Builder setTtl(Duration value)
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;public SnapshotTableRequest.Builder setTtl(Duration.Builder builderForValue)
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;public SnapshotTableRequest.Builder mergeTtl(Duration value)
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;public SnapshotTableRequest.Builder clearTtl()
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;public Duration.Builder getTtlBuilder()
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;public DurationOrBuilder getTtlOrBuilder()
The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
.google.protobuf.Duration ttl = 4;getTtlOrBuilder in interface SnapshotTableRequestOrBuilderpublic java.lang.String getDescription()
Description of the snapshot.
string description = 5;getDescription in interface SnapshotTableRequestOrBuilderpublic ByteString getDescriptionBytes()
Description of the snapshot.
string description = 5;getDescriptionBytes in interface SnapshotTableRequestOrBuilderpublic SnapshotTableRequest.Builder setDescription(java.lang.String value)
Description of the snapshot.
string description = 5;public SnapshotTableRequest.Builder clearDescription()
Description of the snapshot.
string description = 5;public SnapshotTableRequest.Builder setDescriptionBytes(ByteString value)
Description of the snapshot.
string description = 5;public final SnapshotTableRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>public final SnapshotTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>