public static final class Table.AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessage implements Table.AutomatedBackupPolicyOrBuilder
Defines an automated backup policy for a tableProtobuf type
google.bigtable.admin.v2.Table.AutomatedBackupPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
Table.AutomatedBackupPolicy.Builder
Defines an automated backup policy for a table
Protobuf type
google.bigtable.admin.v2.Table.AutomatedBackupPolicy |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FREQUENCY_FIELD_NUMBER |
static int |
LOCATIONS_FIELD_NUMBER |
static int |
RETENTION_PERIOD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Table.AutomatedBackupPolicy |
getDefaultInstance() |
Table.AutomatedBackupPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Duration |
getFrequency()
How frequently automated backups should occur.
|
com.google.protobuf.DurationOrBuilder |
getFrequencyOrBuilder()
How frequently automated backups should occur.
|
String |
getLocations(int index)
Optional.
|
com.google.protobuf.ByteString |
getLocationsBytes(int index)
Optional.
|
int |
getLocationsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getLocationsList()
Optional.
|
com.google.protobuf.Parser<Table.AutomatedBackupPolicy> |
getParserForType() |
com.google.protobuf.Duration |
getRetentionPeriod()
Required.
|
com.google.protobuf.DurationOrBuilder |
getRetentionPeriodOrBuilder()
Required.
|
int |
getSerializedSize() |
boolean |
hasFrequency()
How frequently automated backups should occur.
|
int |
hashCode() |
boolean |
hasRetentionPeriod()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Table.AutomatedBackupPolicy.Builder |
newBuilder() |
static Table.AutomatedBackupPolicy.Builder |
newBuilder(Table.AutomatedBackupPolicy prototype) |
Table.AutomatedBackupPolicy.Builder |
newBuilderForType() |
protected Table.AutomatedBackupPolicy.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Table.AutomatedBackupPolicy |
parseDelimitedFrom(InputStream input) |
static Table.AutomatedBackupPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table.AutomatedBackupPolicy |
parseFrom(byte[] data) |
static Table.AutomatedBackupPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table.AutomatedBackupPolicy |
parseFrom(ByteBuffer data) |
static Table.AutomatedBackupPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table.AutomatedBackupPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static Table.AutomatedBackupPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table.AutomatedBackupPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Table.AutomatedBackupPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Table.AutomatedBackupPolicy |
parseFrom(InputStream input) |
static Table.AutomatedBackupPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Table.AutomatedBackupPolicy> |
parser() |
Table.AutomatedBackupPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RETENTION_PERIOD_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasRetentionPeriod()
Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.
.google.protobuf.Duration retention_period = 1 [(.google.api.field_behavior) = REQUIRED];
hasRetentionPeriod in interface Table.AutomatedBackupPolicyOrBuilderpublic com.google.protobuf.Duration getRetentionPeriod()
Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.
.google.protobuf.Duration retention_period = 1 [(.google.api.field_behavior) = REQUIRED];
getRetentionPeriod in interface Table.AutomatedBackupPolicyOrBuilderpublic com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder()
Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.
.google.protobuf.Duration retention_period = 1 [(.google.api.field_behavior) = REQUIRED];
getRetentionPeriodOrBuilder in interface Table.AutomatedBackupPolicyOrBuilderpublic boolean hasFrequency()
How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
.google.protobuf.Duration frequency = 2;hasFrequency in interface Table.AutomatedBackupPolicyOrBuilderpublic com.google.protobuf.Duration getFrequency()
How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
.google.protobuf.Duration frequency = 2;getFrequency in interface Table.AutomatedBackupPolicyOrBuilderpublic com.google.protobuf.DurationOrBuilder getFrequencyOrBuilder()
How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
.google.protobuf.Duration frequency = 2;getFrequencyOrBuilder in interface Table.AutomatedBackupPolicyOrBuilderpublic com.google.protobuf.ProtocolStringList getLocationsList()
Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
`projects/{project}/locations/{zone}`.
This field can only set for tables in Enterprise Plus instances.
repeated string locations = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getLocationsList in interface Table.AutomatedBackupPolicyOrBuilderpublic int getLocationsCount()
Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
`projects/{project}/locations/{zone}`.
This field can only set for tables in Enterprise Plus instances.
repeated string locations = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getLocationsCount in interface Table.AutomatedBackupPolicyOrBuilderpublic String getLocations(int index)
Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
`projects/{project}/locations/{zone}`.
This field can only set for tables in Enterprise Plus instances.
repeated string locations = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getLocations in interface Table.AutomatedBackupPolicyOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getLocationsBytes(int index)
Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
`projects/{project}/locations/{zone}`.
This field can only set for tables in Enterprise Plus instances.
repeated string locations = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getLocationsBytes in interface Table.AutomatedBackupPolicyOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 Table.AutomatedBackupPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table.AutomatedBackupPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table.AutomatedBackupPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table.AutomatedBackupPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table.AutomatedBackupPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Table.AutomatedBackupPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static Table.AutomatedBackupPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Table.AutomatedBackupPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Table.AutomatedBackupPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Table.AutomatedBackupPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Table.AutomatedBackupPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Table.AutomatedBackupPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Table.AutomatedBackupPolicy.Builder newBuilder()
public static Table.AutomatedBackupPolicy.Builder newBuilder(Table.AutomatedBackupPolicy prototype)
public Table.AutomatedBackupPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Table.AutomatedBackupPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Table.AutomatedBackupPolicy getDefaultInstance()
public static com.google.protobuf.Parser<Table.AutomatedBackupPolicy> parser()
public com.google.protobuf.Parser<Table.AutomatedBackupPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Table.AutomatedBackupPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.