public final class SnapshotTableRequest extends GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
SnapshotTableRequest.Builder
This is a private alpha release of Cloud Bigtable snapshots.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SNAPSHOT_ID_FIELD_NUMBER |
static int |
TTL_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
static SnapshotTableRequest |
getDefaultInstance() |
SnapshotTableRequest |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Description of the snapshot.
|
ByteString |
getDescriptionBytes()
Description of the snapshot.
|
static Descriptors.Descriptor |
getDescriptor() |
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.
|
Parser<SnapshotTableRequest> |
getParserForType() |
int |
getSerializedSize() |
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.
|
DurationOrBuilder |
getTtlOrBuilder()
The amount of time that the new snapshot can stay active after it is
created.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTtl()
The amount of time that the new snapshot can stay active after it is
created.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SnapshotTableRequest.Builder |
newBuilder() |
static SnapshotTableRequest.Builder |
newBuilder(SnapshotTableRequest prototype) |
SnapshotTableRequest.Builder |
newBuilderForType() |
protected SnapshotTableRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static SnapshotTableRequest |
parseDelimitedFrom(java.io.InputStream input) |
static SnapshotTableRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static SnapshotTableRequest |
parseFrom(byte[] data) |
static SnapshotTableRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static SnapshotTableRequest |
parseFrom(java.nio.ByteBuffer data) |
static SnapshotTableRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static SnapshotTableRequest |
parseFrom(ByteString data) |
static SnapshotTableRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static SnapshotTableRequest |
parseFrom(CodedInputStream input) |
static SnapshotTableRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static SnapshotTableRequest |
parseFrom(java.io.InputStream input) |
static SnapshotTableRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<SnapshotTableRequest> |
parser() |
SnapshotTableRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
public static final int SNAPSHOT_ID_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static SnapshotTableRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SnapshotTableRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SnapshotTableRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SnapshotTableRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SnapshotTableRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SnapshotTableRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static SnapshotTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SnapshotTableRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SnapshotTableRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SnapshotTableRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic SnapshotTableRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static SnapshotTableRequest.Builder newBuilder()
public static SnapshotTableRequest.Builder newBuilder(SnapshotTableRequest prototype)
public SnapshotTableRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected SnapshotTableRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static SnapshotTableRequest getDefaultInstance()
public static Parser<SnapshotTableRequest> parser()
public Parser<SnapshotTableRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public SnapshotTableRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder