public static final class Table.AutomatedBackupPolicy.Builder extends com.google.protobuf.GeneratedMessage.Builder<Table.AutomatedBackupPolicy.Builder> implements Table.AutomatedBackupPolicyOrBuilder
Defines an automated backup policy for a tableProtobuf type
google.bigtable.admin.v2.Table.AutomatedBackupPolicy| Modifier and Type | Method and Description |
|---|---|
Table.AutomatedBackupPolicy.Builder |
addAllLocations(Iterable<String> values)
Optional.
|
Table.AutomatedBackupPolicy.Builder |
addLocations(String value)
Optional.
|
Table.AutomatedBackupPolicy.Builder |
addLocationsBytes(com.google.protobuf.ByteString value)
Optional.
|
Table.AutomatedBackupPolicy |
build() |
Table.AutomatedBackupPolicy |
buildPartial() |
Table.AutomatedBackupPolicy.Builder |
clear() |
Table.AutomatedBackupPolicy.Builder |
clearFrequency()
How frequently automated backups should occur.
|
Table.AutomatedBackupPolicy.Builder |
clearLocations()
Optional.
|
Table.AutomatedBackupPolicy.Builder |
clearRetentionPeriod()
Required.
|
Table.AutomatedBackupPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getFrequency()
How frequently automated backups should occur.
|
com.google.protobuf.Duration.Builder |
getFrequencyBuilder()
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.Duration |
getRetentionPeriod()
Required.
|
com.google.protobuf.Duration.Builder |
getRetentionPeriodBuilder()
Required.
|
com.google.protobuf.DurationOrBuilder |
getRetentionPeriodOrBuilder()
Required.
|
boolean |
hasFrequency()
How frequently automated backups should occur.
|
boolean |
hasRetentionPeriod()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Table.AutomatedBackupPolicy.Builder |
mergeFrequency(com.google.protobuf.Duration value)
How frequently automated backups should occur.
|
Table.AutomatedBackupPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Table.AutomatedBackupPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
Table.AutomatedBackupPolicy.Builder |
mergeFrom(Table.AutomatedBackupPolicy other) |
Table.AutomatedBackupPolicy.Builder |
mergeRetentionPeriod(com.google.protobuf.Duration value)
Required.
|
Table.AutomatedBackupPolicy.Builder |
setFrequency(com.google.protobuf.Duration.Builder builderForValue)
How frequently automated backups should occur.
|
Table.AutomatedBackupPolicy.Builder |
setFrequency(com.google.protobuf.Duration value)
How frequently automated backups should occur.
|
Table.AutomatedBackupPolicy.Builder |
setLocations(int index,
String value)
Optional.
|
Table.AutomatedBackupPolicy.Builder |
setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue)
Required.
|
Table.AutomatedBackupPolicy.Builder |
setRetentionPeriod(com.google.protobuf.Duration value)
Required.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Table.AutomatedBackupPolicy.Builder>public Table.AutomatedBackupPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Table.AutomatedBackupPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Table.AutomatedBackupPolicy.Builder>public Table.AutomatedBackupPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Table.AutomatedBackupPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Table.AutomatedBackupPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Table.AutomatedBackupPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.AutomatedBackupPolicy.Builder>public Table.AutomatedBackupPolicy.Builder mergeFrom(Table.AutomatedBackupPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Table.AutomatedBackupPolicy.Builder>public Table.AutomatedBackupPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.AutomatedBackupPolicy.Builder>IOExceptionpublic 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 Table.AutomatedBackupPolicy.Builder setRetentionPeriod(com.google.protobuf.Duration value)
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];
public Table.AutomatedBackupPolicy.Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue)
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];
public Table.AutomatedBackupPolicy.Builder mergeRetentionPeriod(com.google.protobuf.Duration value)
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];
public Table.AutomatedBackupPolicy.Builder clearRetentionPeriod()
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];
public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder()
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];
public 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 Table.AutomatedBackupPolicy.Builder setFrequency(com.google.protobuf.Duration value)
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;public Table.AutomatedBackupPolicy.Builder setFrequency(com.google.protobuf.Duration.Builder builderForValue)
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;public Table.AutomatedBackupPolicy.Builder mergeFrequency(com.google.protobuf.Duration value)
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;public Table.AutomatedBackupPolicy.Builder clearFrequency()
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;public com.google.protobuf.Duration.Builder getFrequencyBuilder()
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;public 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 Table.AutomatedBackupPolicy.Builder setLocations(int index, String value)
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) = { ... }
index - The index to set the value at.value - The locations to set.public Table.AutomatedBackupPolicy.Builder addLocations(String value)
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) = { ... }
value - The locations to add.public Table.AutomatedBackupPolicy.Builder addAllLocations(Iterable<String> values)
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) = { ... }
values - The locations to add.public Table.AutomatedBackupPolicy.Builder clearLocations()
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) = { ... }
public Table.AutomatedBackupPolicy.Builder addLocationsBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes of the locations to add.Copyright © 2026 Google LLC. All rights reserved.