public final class Backup extends com.google.protobuf.GeneratedMessageV3 implements BackupOrBuilder
A backup of a Cloud Bigtable table.Protobuf type
google.bigtable.admin.v2.Backup| Modifier and Type | Class and Description |
|---|---|
static class |
Backup.Builder
A backup of a Cloud Bigtable table.
|
static class |
Backup.State
Indicates the current state of the backup.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENCRYPTION_INFO_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
EXPIRE_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SIZE_BYTES_FIELD_NUMBER |
static int |
SOURCE_TABLE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Backup |
getDefaultInstance() |
Backup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EncryptionInfo |
getEncryptionInfo()
Output only.
|
EncryptionInfoOrBuilder |
getEncryptionInfoOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getExpireTime()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Required.
|
String |
getName()
A globally unique identifier for the backup which cannot be
changed.
|
com.google.protobuf.ByteString |
getNameBytes()
A globally unique identifier for the backup which cannot be
changed.
|
com.google.protobuf.Parser<Backup> |
getParserForType() |
int |
getSerializedSize() |
long |
getSizeBytes()
Output only.
|
String |
getSourceTable()
Required.
|
com.google.protobuf.ByteString |
getSourceTableBytes()
Required.
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
Backup.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEncryptionInfo()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasExpireTime()
Required.
|
int |
hashCode() |
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Backup.Builder |
newBuilder() |
static Backup.Builder |
newBuilder(Backup prototype) |
Backup.Builder |
newBuilderForType() |
protected Backup.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Backup |
parseDelimitedFrom(InputStream input) |
static Backup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(byte[] data) |
static Backup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(ByteBuffer data) |
static Backup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.ByteString data) |
static Backup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(InputStream input) |
static Backup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backup> |
parser() |
Backup.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic static final int NAME_FIELD_NUMBER
public static final int SOURCE_TABLE_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
A globally unique identifier for the backup which cannot be
changed. Values are of the form
`projects/{project}/instances/{instance}/clusters/{cluster}/
backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
The final segment of the name must be between 1 and 50 characters
in length.
The backup is stored in the cluster identified by the prefix of the backup
name of the form
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string name = 1;getName in interface BackupOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A globally unique identifier for the backup which cannot be
changed. Values are of the form
`projects/{project}/instances/{instance}/clusters/{cluster}/
backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
The final segment of the name must be between 1 and 50 characters
in length.
The backup is stored in the cluster identified by the prefix of the backup
name of the form
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string name = 1;getNameBytes in interface BackupOrBuilderpublic String getSourceTable()
Required. Immutable. Name of the table from which this backup was created. This needs
to be in the same instance as the backup. Values are of the form
`projects/{project}/instances/{instance}/tables/{source_table}`.
string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
getSourceTable in interface BackupOrBuilderpublic com.google.protobuf.ByteString getSourceTableBytes()
Required. Immutable. Name of the table from which this backup was created. This needs
to be in the same instance as the backup. Values are of the form
`projects/{project}/instances/{instance}/tables/{source_table}`.
string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
getSourceTableBytes in interface BackupOrBuilderpublic boolean hasExpireTime()
Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
hasExpireTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
getExpireTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
getExpireTimeOrBuilder in interface BackupOrBuilderpublic boolean hasStartTime()
Output only. `start_time` is the time that the backup was started (i.e. approximately the time the [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The row data in this backup will be no older than this timestamp.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. `start_time` is the time that the backup was started (i.e. approximately the time the [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The row data in this backup will be no older than this timestamp.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. `start_time` is the time that the backup was started (i.e. approximately the time the [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The row data in this backup will be no older than this timestamp.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface BackupOrBuilderpublic boolean hasEndTime()
Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface BackupOrBuilderpublic long getSizeBytes()
Output only. Size of the backup in bytes.
int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getSizeBytes in interface BackupOrBuilderpublic int getStateValue()
Output only. The current state of the backup.
.google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface BackupOrBuilderpublic Backup.State getState()
Output only. The current state of the backup.
.google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface BackupOrBuilderpublic boolean hasEncryptionInfo()
Output only. The encryption information for the backup.
.google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEncryptionInfo in interface BackupOrBuilderpublic EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the backup.
.google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfo in interface BackupOrBuilderpublic EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the backup.
.google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfoOrBuilder in interface BackupOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Backup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Backup.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backup.Builder newBuilder()
public static Backup.Builder newBuilder(Backup prototype)
public Backup.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Backup getDefaultInstance()
public static com.google.protobuf.Parser<Backup> parser()
public com.google.protobuf.Parser<Backup> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.