public final class Backup extends com.google.protobuf.GeneratedMessageV3 implements BackupOrBuilder
Message describing Backup objectProtobuf type
google.cloud.alloydb.v1.Backup| Modifier and Type | Class and Description |
|---|---|
static class |
Backup.Builder
Message describing Backup object
Protobuf type
google.cloud.alloydb.v1.Backup |
static class |
Backup.QuantityBasedExpiry
A backup's position in a quantity-based retention queue, of backups with
the same source cluster and type, with length, retention, specified by the
backup's retention policy.
|
static interface |
Backup.QuantityBasedExpiryOrBuilder |
static class |
Backup.State
Backup State
Protobuf enum
google.cloud.alloydb.v1.Backup.State |
static class |
Backup.Type
Backup Type
Protobuf enum
google.cloud.alloydb.v1.Backup.Type |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
CLUSTER_UID_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DATABASE_VERSION_FIELD_NUMBER |
static int |
DELETE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ENCRYPTION_CONFIG_FIELD_NUMBER |
static int |
ENCRYPTION_INFO_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
EXPIRY_QUANTITY_FIELD_NUMBER |
static int |
EXPIRY_TIME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RECONCILING_FIELD_NUMBER |
static int |
SATISFIES_PZS_FIELD_NUMBER |
static int |
SIZE_BYTES_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| 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.
|
boolean |
equals(Object obj) |
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.
|
static Backup |
getDefaultInstance() |
Backup |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Backup> |
getParserForType() |
boolean |
getReconciling()
Output only.
|
boolean |
getSatisfiesPzs()
Output only.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Backup.Builder |
newBuilder() |
static Backup.Builder |
newBuilder(Backup prototype) |
Backup.Builder |
newBuilderForType() |
protected Backup.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Backup |
parseDelimitedFrom(InputStream input) |
static Backup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(byte[] data) |
static Backup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(ByteBuffer data) |
static Backup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.ByteString data) |
static Backup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(InputStream input) |
static Backup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backup> |
parser() |
Backup.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CLUSTER_UID_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
public static final int EXPIRY_TIME_FIELD_NUMBER
public static final int EXPIRY_QUANTITY_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
public static final int DATABASE_VERSION_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 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 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.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 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.Type getType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;getType in interface BackupOrBuilderpublic 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 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 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 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 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 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 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 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 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 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 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.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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Backup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Backup.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backup.Builder newBuilder()
public static Backup.Builder newBuilder(Backup prototype)
public Backup.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Backup getDefaultInstance()
public static com.google.protobuf.Parser<Backup> parser()
public com.google.protobuf.Parser<Backup> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.