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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static SnapshotTableRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static SnapshotTableRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static SnapshotTableRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static SnapshotTableRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static SnapshotTableRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static SnapshotTableRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static SnapshotTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static SnapshotTableRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static SnapshotTableRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static SnapshotTableRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public SnapshotTableRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static SnapshotTableRequest.Builder newBuilder()
public static SnapshotTableRequest.Builder newBuilder(SnapshotTableRequest prototype)
public SnapshotTableRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected SnapshotTableRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static SnapshotTableRequest getDefaultInstance()
public static Parser<SnapshotTableRequest> parser()
public Parser<SnapshotTableRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public SnapshotTableRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder