public interface BackupOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
DatabaseVersion |
getDatabaseVersion()
Output only.
|
int |
getDatabaseVersionValue()
Output only.
|
com.google.protobuf.Timestamp |
getDeleteTime()
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.
|
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.
|
EncryptionConfigOrBuilder |
getEncryptionConfigOrBuilder()
Optional.
|
EncryptionInfo |
getEncryptionInfo()
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.QuantityBasedExpiryOrBuilder |
getExpiryQuantityOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getExpiryTime()
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; |
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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];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];String getDisplayName()
User-settable and human-readable display name for the Backup.
string display_name = 2;com.google.protobuf.ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Backup.
string display_name = 2;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];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];boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Labels as key value pairs
map<string, string> labels = 6;boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 6;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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;int getStateValue()
Output only. The current state of the backup.
.google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
int getTypeValue()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;Backup.Type getType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;String getDescription()
User-provided description of the backup.
string description = 9;com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the backup.
string description = 9;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];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];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) = { ... }
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) = { ... }
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];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];
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];
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];
boolean hasEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = 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;int getAnnotationsCount()
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;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;@Deprecated Map<String,String> getAnnotations()
getAnnotationsMap() instead.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;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;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;long getSizeBytes()
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];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];
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];
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];
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];
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];
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];
boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];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];
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];
int getTagsCount()
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];
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];
@Deprecated Map<String,String> getTags()
getTagsMap() instead.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];
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];
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];
Copyright © 2025 Google LLC. All rights reserved.