Package com.google.cloud.alloydb.v1alpha
Class Backup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.alloydb.v1alpha.Backup
-
- All Implemented Interfaces:
BackupOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Backup extends com.google.protobuf.GeneratedMessageV3 implements BackupOrBuilder
Message describing Backup object
Protobuf typegoogle.cloud.alloydb.v1alpha.Backup
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Backup.Builder
Message describing Backup objectstatic 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 Statestatic class
Backup.Type
Backup Type-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field 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
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
TYPE_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 pairsboolean
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.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)com.google.protobuf.ByteString
getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)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 pairsMap<String,String>
getLabelsMap()
Labels as key value pairsString
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairsString
getLabelsOrThrow(String key)
Labels as key value pairsString
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Backup>
getParserForType()
boolean
getReconciling()
Output only.boolean
getSatisfiesPzs()
Reserved for future use.int
getSerializedSize()
long
getSizeBytes()
Output only.Backup.State
getState()
Output only.int
getStateValue()
Output only.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.MapField
internalGetMapField(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(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 Backup
parseFrom(ByteBuffer data)
static Backup
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Backup>
parser()
Backup.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_UID_FIELD_NUMBER
public static final int CLUSTER_UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_INFO_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIZE_BYTES_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRY_TIME_FIELD_NUMBER
public static final int EXPIRY_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRY_QUANTITY_FIELD_NUMBER
public static final int EXPIRY_QUANTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public 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];
- Specified by:
getName
in interfaceBackupOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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];
- Specified by:
getNameBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
User-settable and human-readable display name for the Backup.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceBackupOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User-settable and human-readable display name for the Backup.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for displayName.
-
getUid
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];
- Specified by:
getUid
in interfaceBackupOrBuilder
- Returns:
- The uid.
-
getUidBytes
public 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];
- Specified by:
getUidBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for uid.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceBackupOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceBackupOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceBackupOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceBackupOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceBackupOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceBackupOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceBackupOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceBackupOrBuilder
- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceBackupOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:BackupOrBuilder
Labels as key value pairs
map<string, string> labels = 6;
- Specified by:
getLabelsCount
in interfaceBackupOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 6;
- Specified by:
containsLabels
in interfaceBackupOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceBackupOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 6;
- Specified by:
getLabelsMap
in interfaceBackupOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 6;
- Specified by:
getLabelsOrDefault
in interfaceBackupOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 6;
- Specified by:
getLabelsOrThrow
in interfaceBackupOrBuilder
-
getStateValue
public int getStateValue()
Output only. The current state of the backup.
.google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceBackupOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Backup.State getState()
Output only. The current state of the backup.
.google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceBackupOrBuilder
- Returns:
- The state.
-
getTypeValue
public int getTypeValue()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1alpha.Backup.Type type = 8;
- Specified by:
getTypeValue
in interfaceBackupOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
public Backup.Type getType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1alpha.Backup.Type type = 8;
- Specified by:
getType
in interfaceBackupOrBuilder
- Returns:
- The type.
-
getDescription
public String getDescription()
User-provided description of the backup.
string description = 9;
- Specified by:
getDescription
in interfaceBackupOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the backup.
string description = 9;
- Specified by:
getDescriptionBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for description.
-
getClusterUid
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];
- Specified by:
getClusterUid
in interfaceBackupOrBuilder
- Returns:
- The clusterUid.
-
getClusterUidBytes
public 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];
- Specified by:
getClusterUidBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for clusterUid.
-
getClusterName
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) = { ... }
- Specified by:
getClusterName
in interfaceBackupOrBuilder
- Returns:
- The clusterName.
-
getClusterNameBytes
public 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) = { ... }
- Specified by:
getClusterNameBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for clusterName.
-
getReconciling
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];
- Specified by:
getReconciling
in interfaceBackupOrBuilder
- Returns:
- The reconciling.
-
hasEncryptionConfig
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.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEncryptionConfig
in interfaceBackupOrBuilder
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public 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.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfig
in interfaceBackupOrBuilder
- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
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.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfigOrBuilder
in interfaceBackupOrBuilder
-
hasEncryptionInfo
public boolean hasEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEncryptionInfo
in interfaceBackupOrBuilder
- Returns:
- Whether the encryptionInfo field is set.
-
getEncryptionInfo
public EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEncryptionInfo
in interfaceBackupOrBuilder
- Returns:
- The encryptionInfo.
-
getEncryptionInfoOrBuilder
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the backup.
.google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEncryptionInfoOrBuilder
in interfaceBackupOrBuilder
-
getEtag
public String getEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;
- Specified by:
getEtag
in interfaceBackupOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;
- Specified by:
getEtagBytes
in interfaceBackupOrBuilder
- Returns:
- The bytes for etag.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:BackupOrBuilder
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;
- Specified by:
getAnnotationsCount
in interfaceBackupOrBuilder
-
containsAnnotations
public 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;
- Specified by:
containsAnnotations
in interfaceBackupOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceBackupOrBuilder
-
getAnnotationsMap
public 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;
- Specified by:
getAnnotationsMap
in interfaceBackupOrBuilder
-
getAnnotationsOrDefault
public 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;
- Specified by:
getAnnotationsOrDefault
in interfaceBackupOrBuilder
-
getAnnotationsOrThrow
public 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;
- Specified by:
getAnnotationsOrThrow
in interfaceBackupOrBuilder
-
getSizeBytes
public long getSizeBytes()
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSizeBytes
in interfaceBackupOrBuilder
- Returns:
- The sizeBytes.
-
hasExpiryTime
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];
- Specified by:
hasExpiryTime
in interfaceBackupOrBuilder
- Returns:
- Whether the expiryTime field is set.
-
getExpiryTime
public 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];
- Specified by:
getExpiryTime
in interfaceBackupOrBuilder
- Returns:
- The expiryTime.
-
getExpiryTimeOrBuilder
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];
- Specified by:
getExpiryTimeOrBuilder
in interfaceBackupOrBuilder
-
hasExpiryQuantity
public 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.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpiryQuantity
in interfaceBackupOrBuilder
- Returns:
- Whether the expiryQuantity field is set.
-
getExpiryQuantity
public 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.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpiryQuantity
in interfaceBackupOrBuilder
- Returns:
- The expiryQuantity.
-
getExpiryQuantityOrBuilder
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.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpiryQuantityOrBuilder
in interfaceBackupOrBuilder
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Reserved for future use.
bool satisfies_pzs = 21;
- Specified by:
getSatisfiesPzs
in interfaceBackupOrBuilder
- Returns:
- The satisfiesPzs.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Backup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Backup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Backup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Backup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Backup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Backup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Backup.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Backup.Builder newBuilder()
-
newBuilder
public static Backup.Builder newBuilder(Backup prototype)
-
toBuilder
public Backup.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Backup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Backup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Backup> parser()
-
getParserForType
public com.google.protobuf.Parser<Backup> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Backup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-