public static final class Backup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder> implements BackupOrBuilder
Message describing Backup objectProtobuf type
google.cloud.alloydb.v1.Backup| Modifier and Type | Method and Description |
|---|---|
Backup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backup |
build() |
Backup |
buildPartial() |
Backup.Builder |
clear() |
Backup.Builder |
clearAnnotations() |
Backup.Builder |
clearClusterName()
Required.
|
Backup.Builder |
clearClusterUid()
Output only.
|
Backup.Builder |
clearCreateTime()
Output only.
|
Backup.Builder |
clearDatabaseVersion()
Output only.
|
Backup.Builder |
clearDeleteTime()
Output only.
|
Backup.Builder |
clearDescription()
User-provided description of the backup.
|
Backup.Builder |
clearDisplayName()
User-settable and human-readable display name for the Backup.
|
Backup.Builder |
clearEncryptionConfig()
Optional.
|
Backup.Builder |
clearEncryptionInfo()
Output only.
|
Backup.Builder |
clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14; |
Backup.Builder |
clearExpiryQuantity()
Output only.
|
Backup.Builder |
clearExpiryTime()
Output only.
|
Backup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Backup.Builder |
clearLabels() |
Backup.Builder |
clearName()
Output only.
|
Backup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Backup.Builder |
clearReconciling()
Output only.
|
Backup.Builder |
clearSatisfiesPzs()
Output only.
|
Backup.Builder |
clearSizeBytes()
Output only.
|
Backup.Builder |
clearState()
Output only.
|
Backup.Builder |
clearTags() |
Backup.Builder |
clearType()
The backup type, which suggests the trigger for the backup.
|
Backup.Builder |
clearUid()
Output only.
|
Backup.Builder |
clearUpdateTime()
Output only.
|
Backup.Builder |
clone() |
boolean |
containsAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data.
|
boolean |
containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 6; |
boolean |
containsTags(String key)
Optional.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Annotations to allow client tools to store small amount of arbitrary data.
|
Map<String,String> |
getAnnotationsMap()
Annotations to allow client tools to store small amount of arbitrary data.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Annotations to allow client tools to store small amount of arbitrary data.
|
String |
getAnnotationsOrThrow(String key)
Annotations to allow client tools to store small amount of arbitrary data.
|
String |
getClusterName()
Required.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Required.
|
String |
getClusterUid()
Output only.
|
com.google.protobuf.ByteString |
getClusterUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
DatabaseVersion |
getDatabaseVersion()
Output only.
|
int |
getDatabaseVersionValue()
Output only.
|
Backup |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
String |
getDescription()
User-provided description of the backup.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User-provided description of the backup.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
User-settable and human-readable display name for the Backup.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User-settable and human-readable display name for the Backup.
|
EncryptionConfig |
getEncryptionConfig()
Optional.
|
EncryptionConfig.Builder |
getEncryptionConfigBuilder()
Optional.
|
EncryptionConfigOrBuilder |
getEncryptionConfigOrBuilder()
Optional.
|
EncryptionInfo |
getEncryptionInfo()
Output only.
|
EncryptionInfo.Builder |
getEncryptionInfoBuilder()
Output only.
|
EncryptionInfoOrBuilder |
getEncryptionInfoOrBuilder()
Output only.
|
String |
getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14; |
com.google.protobuf.ByteString |
getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14; |
Backup.QuantityBasedExpiry |
getExpiryQuantity()
Output only.
|
Backup.QuantityBasedExpiry.Builder |
getExpiryQuantityBuilder()
Output only.
|
Backup.QuantityBasedExpiryOrBuilder |
getExpiryQuantityOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getExpiryTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getExpiryTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpiryTimeOrBuilder()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs
map<string, string> labels = 6; |
Map<String,String> |
getLabelsMap()
Labels as key value pairs
map<string, string> labels = 6; |
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs
map<string, string> labels = 6; |
String |
getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 6; |
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Map<String,String> |
getMutableTags()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
boolean |
getReconciling()
Output only.
|
boolean |
getSatisfiesPzs()
Output only.
|
long |
getSizeBytes()
Output only.
|
Backup.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
Map<String,String> |
getTags()
Deprecated.
|
int |
getTagsCount()
Optional.
|
Map<String,String> |
getTagsMap()
Optional.
|
String |
getTagsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getTagsOrThrow(String key)
Optional.
|
Backup.Type |
getType()
The backup type, which suggests the trigger for the backup.
|
int |
getTypeValue()
The backup type, which suggests the trigger for the backup.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasEncryptionConfig()
Optional.
|
boolean |
hasEncryptionInfo()
Output only.
|
boolean |
hasExpiryQuantity()
Output only.
|
boolean |
hasExpiryTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Backup.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeEncryptionConfig(EncryptionConfig value)
Optional.
|
Backup.Builder |
mergeEncryptionInfo(EncryptionInfo value)
Output only.
|
Backup.Builder |
mergeExpiryQuantity(Backup.QuantityBasedExpiry value)
Output only.
|
Backup.Builder |
mergeExpiryTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeFrom(Backup other) |
Backup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Backup.Builder |
mergeFrom(com.google.protobuf.Message other) |
Backup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Backup.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
putAllAnnotations(Map<String,String> values)
Annotations to allow client tools to store small amount of arbitrary data.
|
Backup.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 6; |
Backup.Builder |
putAllTags(Map<String,String> values)
Optional.
|
Backup.Builder |
putAnnotations(String key,
String value)
Annotations to allow client tools to store small amount of arbitrary data.
|
Backup.Builder |
putLabels(String key,
String value)
Labels as key value pairs
map<string, string> labels = 6; |
Backup.Builder |
putTags(String key,
String value)
Optional.
|
Backup.Builder |
removeAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data.
|
Backup.Builder |
removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 6; |
Backup.Builder |
removeTags(String key)
Optional.
|
Backup.Builder |
setClusterName(String value)
Required.
|
Backup.Builder |
setClusterNameBytes(com.google.protobuf.ByteString value)
Required.
|
Backup.Builder |
setClusterUid(String value)
Output only.
|
Backup.Builder |
setClusterUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setDatabaseVersion(DatabaseVersion value)
Output only.
|
Backup.Builder |
setDatabaseVersionValue(int value)
Output only.
|
Backup.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setDescription(String value)
User-provided description of the backup.
|
Backup.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the backup.
|
Backup.Builder |
setDisplayName(String value)
User-settable and human-readable display name for the Backup.
|
Backup.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Backup.
|
Backup.Builder |
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional.
|
Backup.Builder |
setEncryptionConfig(EncryptionConfig value)
Optional.
|
Backup.Builder |
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only.
|
Backup.Builder |
setEncryptionInfo(EncryptionInfo value)
Output only.
|
Backup.Builder |
setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14; |
Backup.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14; |
Backup.Builder |
setExpiryQuantity(Backup.QuantityBasedExpiry.Builder builderForValue)
Output only.
|
Backup.Builder |
setExpiryQuantity(Backup.QuantityBasedExpiry value)
Output only.
|
Backup.Builder |
setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setExpiryTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backup.Builder |
setName(String value)
Output only.
|
Backup.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup.Builder |
setReconciling(boolean value)
Output only.
|
Backup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Backup.Builder |
setSatisfiesPzs(boolean value)
Output only.
|
Backup.Builder |
setSizeBytes(long value)
Output only.
|
Backup.Builder |
setState(Backup.State value)
Output only.
|
Backup.Builder |
setStateValue(int value)
Output only.
|
Backup.Builder |
setType(Backup.Type value)
The backup type, which suggests the trigger for the backup.
|
Backup.Builder |
setTypeValue(int value)
The backup type, which suggests the trigger for the backup.
|
Backup.Builder |
setUid(String value)
Output only.
|
Backup.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Backup.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.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.GeneratedMessageV3.Builder<Backup.Builder>public Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Backup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Backup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Backup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backup.Builder>public Backup.Builder mergeFrom(Backup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.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<Backup.Builder>IOExceptionpublic String getName()
Output only. The name of the backup resource with the format:
* projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the backup resource name is the name of the parent
resource:
* projects/{project}/locations/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface BackupOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the backup resource with the format:
* projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the backup resource name is the name of the parent
resource:
* projects/{project}/locations/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface BackupOrBuilderpublic Backup.Builder setName(String value)
Output only. The name of the backup resource with the format:
* projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the backup resource name is the name of the parent
resource:
* projects/{project}/locations/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Backup.Builder clearName()
Output only. The name of the backup resource with the format:
* projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the backup resource name is the name of the parent
resource:
* projects/{project}/locations/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Backup.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the backup resource with the format:
* projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy the regex
expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the backup resource name is the name of the parent
resource:
* projects/{project}/locations/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
User-settable and human-readable display name for the Backup.
string display_name = 2;getDisplayName in interface BackupOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Backup.
string display_name = 2;getDisplayNameBytes in interface BackupOrBuilderpublic Backup.Builder setDisplayName(String value)
User-settable and human-readable display name for the Backup.
string display_name = 2;value - The displayName to set.public Backup.Builder clearDisplayName()
User-settable and human-readable display name for the Backup.
string display_name = 2;public Backup.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Backup.
string display_name = 2;value - The bytes for displayName to set.public String getUid()
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface BackupOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface BackupOrBuilderpublic Backup.Builder setUid(String value)
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public Backup.Builder clearUid()
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public Backup.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface BackupOrBuilderpublic Backup.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface BackupOrBuilderpublic boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface BackupOrBuilderpublic Backup.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface BackupOrBuilderpublic boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime in interface BackupOrBuilderpublic Backup.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder in interface BackupOrBuilderpublic int getLabelsCount()
BackupOrBuilderLabels as key value pairs
map<string, string> labels = 6;getLabelsCount in interface BackupOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 6;containsLabels in interface BackupOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface BackupOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 6;getLabelsMap in interface BackupOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 6;getLabelsOrDefault in interface BackupOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 6;getLabelsOrThrow in interface BackupOrBuilderpublic Backup.Builder clearLabels()
public Backup.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 6;@Deprecated public Map<String,String> getMutableLabels()
public Backup.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 6;public Backup.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 6;public int getStateValue()
Output only. The current state of the backup.
.google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface BackupOrBuilderpublic Backup.Builder setStateValue(int value)
Output only. The current state of the backup.
.google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Backup.State getState()
Output only. The current state of the backup.
.google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface BackupOrBuilderpublic Backup.Builder setState(Backup.State value)
Output only. The current state of the backup.
.google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Backup.Builder clearState()
Output only. The current state of the backup.
.google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getTypeValue()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;getTypeValue in interface BackupOrBuilderpublic Backup.Builder setTypeValue(int value)
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;value - The enum numeric value on the wire for type to set.public Backup.Type getType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;getType in interface BackupOrBuilderpublic Backup.Builder setType(Backup.Type value)
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;value - The type to set.public Backup.Builder clearType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;public String getDescription()
User-provided description of the backup.
string description = 9;getDescription in interface BackupOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the backup.
string description = 9;getDescriptionBytes in interface BackupOrBuilderpublic Backup.Builder setDescription(String value)
User-provided description of the backup.
string description = 9;value - The description to set.public Backup.Builder clearDescription()
User-provided description of the backup.
string description = 9;public Backup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the backup.
string description = 9;value - The bytes for description to set.public String getClusterUid()
Output only. The system-generated UID of the cluster which was used to create this resource.
string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterUid in interface BackupOrBuilderpublic com.google.protobuf.ByteString getClusterUidBytes()
Output only. The system-generated UID of the cluster which was used to create this resource.
string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterUidBytes in interface BackupOrBuilderpublic Backup.Builder setClusterUid(String value)
Output only. The system-generated UID of the cluster which was used to create this resource.
string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The clusterUid to set.public Backup.Builder clearClusterUid()
Output only. The system-generated UID of the cluster which was used to create this resource.
string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];public Backup.Builder setClusterUidBytes(com.google.protobuf.ByteString value)
Output only. The system-generated UID of the cluster which was used to create this resource.
string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for clusterUid to set.public String getClusterName()
Required. The full resource name of the backup source cluster
(e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getClusterName in interface BackupOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Required. The full resource name of the backup source cluster
(e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getClusterNameBytes in interface BackupOrBuilderpublic Backup.Builder setClusterName(String value)
Required. The full resource name of the backup source cluster
(e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The clusterName to set.public Backup.Builder clearClusterName()
Required. The full resource name of the backup source cluster
(e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public Backup.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Required. The full resource name of the backup source cluster
(e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for clusterName to set.public boolean getReconciling()
Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.
bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getReconciling in interface BackupOrBuilderpublic Backup.Builder setReconciling(boolean value)
Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.
bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reconciling to set.public Backup.Builder clearReconciling()
Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.
bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasEncryptionConfig()
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
hasEncryptionConfig in interface BackupOrBuilderpublic EncryptionConfig getEncryptionConfig()
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
getEncryptionConfig in interface BackupOrBuilderpublic Backup.Builder setEncryptionConfig(EncryptionConfig value)
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public Backup.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public Backup.Builder mergeEncryptionConfig(EncryptionConfig value)
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public Backup.Builder clearEncryptionConfig()
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public EncryptionConfig.Builder getEncryptionConfigBuilder()
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
getEncryptionConfigOrBuilder in interface BackupOrBuilderpublic boolean hasEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEncryptionInfo in interface BackupOrBuilderpublic EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfo in interface BackupOrBuilderpublic Backup.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfo.Builder getEncryptionInfoBuilder()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfoOrBuilder in interface BackupOrBuilderpublic String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;getEtag in interface BackupOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;getEtagBytes in interface BackupOrBuilderpublic Backup.Builder setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;value - The etag to set.public Backup.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;public Backup.Builder setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;value - The bytes for etag to set.public int getAnnotationsCount()
BackupOrBuilderAnnotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;getAnnotationsCount in interface BackupOrBuilderpublic boolean containsAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;containsAnnotations in interface BackupOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface BackupOrBuilderpublic Map<String,String> getAnnotationsMap()
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;getAnnotationsMap in interface BackupOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;getAnnotationsOrDefault in interface BackupOrBuilderpublic String getAnnotationsOrThrow(String key)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;getAnnotationsOrThrow in interface BackupOrBuilderpublic Backup.Builder clearAnnotations()
public Backup.Builder removeAnnotations(String key)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;@Deprecated public Map<String,String> getMutableAnnotations()
public Backup.Builder putAnnotations(String key, String value)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;public Backup.Builder putAllAnnotations(Map<String,String> values)
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
map<string, string> annotations = 16;public long getSizeBytes()
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];getSizeBytes in interface BackupOrBuilderpublic Backup.Builder setSizeBytes(long value)
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The sizeBytes to set.public Backup.Builder clearSizeBytes()
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasExpiryTime()
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExpiryTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getExpiryTime()
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpiryTime in interface BackupOrBuilderpublic Backup.Builder setExpiryTime(com.google.protobuf.Timestamp value)
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeExpiryTime(com.google.protobuf.Timestamp value)
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearExpiryTime()
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder()
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder()
Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
.google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpiryTimeOrBuilder in interface BackupOrBuilderpublic boolean hasExpiryQuantity()
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExpiryQuantity in interface BackupOrBuilderpublic Backup.QuantityBasedExpiry getExpiryQuantity()
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpiryQuantity in interface BackupOrBuilderpublic Backup.Builder setExpiryQuantity(Backup.QuantityBasedExpiry value)
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setExpiryQuantity(Backup.QuantityBasedExpiry.Builder builderForValue)
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeExpiryQuantity(Backup.QuantityBasedExpiry value)
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearExpiryQuantity()
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder()
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder()
Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpiryQuantityOrBuilder in interface BackupOrBuilderpublic boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface BackupOrBuilderpublic Backup.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzs to set.public Backup.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getDatabaseVersionValue()
Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDatabaseVersionValue in interface BackupOrBuilderpublic Backup.Builder setDatabaseVersionValue(int value)
Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for databaseVersion to set.public DatabaseVersion getDatabaseVersion()
Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDatabaseVersion in interface BackupOrBuilderpublic Backup.Builder setDatabaseVersion(DatabaseVersion value)
Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The databaseVersion to set.public Backup.Builder clearDatabaseVersion()
Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
.google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getTagsCount()
BackupOrBuilderOptional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
getTagsCount in interface BackupOrBuilderpublic boolean containsTags(String key)
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
containsTags in interface BackupOrBuilder@Deprecated public Map<String,String> getTags()
getTagsMap() instead.getTags in interface BackupOrBuilderpublic Map<String,String> getTagsMap()
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
getTagsMap in interface BackupOrBuilderpublic String getTagsOrDefault(String key, String defaultValue)
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
getTagsOrDefault in interface BackupOrBuilderpublic String getTagsOrThrow(String key)
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
getTagsOrThrow in interface BackupOrBuilderpublic Backup.Builder clearTags()
public Backup.Builder removeTags(String key)
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableTags()
public Backup.Builder putTags(String key, String value)
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
public Backup.Builder putAllTags(Map<String,String> values)
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
map<string, string> tags = 25 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
public final Backup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public final Backup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>Copyright © 2025 Google LLC. All rights reserved.