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, 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<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SnapshotTableRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SnapshotTableRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SnapshotTableRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.Builder mergeFrom(SnapshotTableRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public SnapshotTableRequest.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<SnapshotTableRequest.Builder>
java.io.IOException
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public 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 SnapshotTableRequestOrBuilder
public java.lang.String getDescription()
Description of the snapshot.
string description = 5;
getDescription
in interface SnapshotTableRequestOrBuilder
public ByteString getDescriptionBytes()
Description of the snapshot.
string description = 5;
getDescriptionBytes
in interface SnapshotTableRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>
public final SnapshotTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SnapshotTableRequest.Builder>