Package com.google.cloud.alloydb.v1
Class Backup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
- com.google.cloud.alloydb.v1.Backup.Builder
-
- All Implemented Interfaces:
BackupOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Backup
public static final class Backup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder> implements BackupOrBuilder
Message describing Backup object
Protobuf typegoogle.cloud.alloydb.v1.Backup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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
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)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
clearSizeBytes()
Output only.Backup.Builder
clearState()
Output only.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 pairsMap<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.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)com.google.protobuf.ByteString
getEtagBytes()
For Resource freshness validation (https://google.aip.dev/154)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 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 pairsMap<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.boolean
getReconciling()
Output only.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.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
hasExpiryTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(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
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 pairsBackup.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 pairsBackup.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 pairsBackup.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 value)
Output only.Backup.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Backup.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Backup.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Optional.Backup.Builder
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional.Backup.Builder
setEncryptionInfo(EncryptionInfo value)
Output only.Backup.Builder
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only.Backup.Builder
setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)Backup.Builder
setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)Backup.Builder
setExpiryTime(com.google.protobuf.Timestamp value)
Output only.Backup.Builder
setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue)
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
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 value)
Output only.Backup.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Backup.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
clear
public Backup.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
getDefaultInstanceForType
public Backup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Backup build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Backup buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Backup.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
setField
public Backup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
clearField
public Backup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
clearOneof
public Backup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
setRepeatedField
public Backup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
addRepeatedField
public Backup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
mergeFrom
public Backup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Backup.Builder>
-
mergeFrom
public Backup.Builder mergeFrom(Backup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
mergeFrom
public Backup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Backup.Builder>
- Throws:
IOException
-
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.
-
setName
public 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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];
- Returns:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setDisplayName
public Backup.Builder setDisplayName(String value)
User-settable and human-readable display name for the Backup.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Backup.Builder clearDisplayName()
User-settable and human-readable display name for the Backup.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Backup.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-settable and human-readable display name for the Backup.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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.
-
setUid
public 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];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
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];
- Returns:
- This builder for chaining.
-
setUidBytes
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];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
clearCreateTime
public Backup.Builder clearCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
public Backup.Builder clearUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setDeleteTime
public 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];
-
setDeleteTime
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];
-
mergeDeleteTime
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];
-
clearDeleteTime
public Backup.Builder clearDeleteTime()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. Delete time stamp
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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
-
clearLabels
public Backup.Builder clearLabels()
-
removeLabels
public Backup.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 6;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Backup.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 6;
-
putAllLabels
public Backup.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 6;
-
getStateValue
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];
- Specified by:
getStateValue
in interfaceBackupOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public 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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
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];
- Specified by:
getState
in interfaceBackupOrBuilder
- Returns:
- The state.
-
setState
public 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];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
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];
- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;
- Specified by:
getTypeValue
in interfaceBackupOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Backup.Builder setTypeValue(int value)
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Backup.Type getType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;
- Specified by:
getType
in interfaceBackupOrBuilder
- Returns:
- The type.
-
setType
public Backup.Builder setType(Backup.Type value)
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Backup.Builder clearType()
The backup type, which suggests the trigger for the backup.
.google.cloud.alloydb.v1.Backup.Type type = 8;
- Returns:
- This builder for chaining.
-
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.
-
setDescription
public Backup.Builder setDescription(String value)
User-provided description of the backup.
string description = 9;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Backup.Builder clearDescription()
User-provided description of the backup.
string description = 9;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Backup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the backup.
string description = 9;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
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.
-
setClusterUid
public 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];
- Parameters:
value
- The clusterUid to set.- Returns:
- This builder for chaining.
-
clearClusterUid
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];
- Returns:
- This builder for chaining.
-
setClusterUidBytes
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];
- Parameters:
value
- The bytes for clusterUid to set.- Returns:
- This builder for chaining.
-
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.
-
setClusterName
public 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) = { ... }
- Parameters:
value
- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
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) = { ... }
- Returns:
- This builder for chaining.
-
setClusterNameBytes
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) = { ... }
- Parameters:
value
- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
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.
-
setReconciling
public 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];
- Parameters:
value
- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
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];
- Returns:
- This builder for chaining.
-
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.v1.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.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfig
in interfaceBackupOrBuilder
- Returns:
- The encryptionConfig.
-
setEncryptionConfig
public 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];
-
setEncryptionConfig
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];
-
mergeEncryptionConfig
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];
-
clearEncryptionConfig
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];
-
getEncryptionConfigBuilder
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];
-
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.v1.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.v1.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.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEncryptionInfo
in interfaceBackupOrBuilder
- Returns:
- The encryptionInfo.
-
setEncryptionInfo
public 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];
-
setEncryptionInfo
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];
-
mergeEncryptionInfo
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];
-
clearEncryptionInfo
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];
-
getEncryptionInfoBuilder
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];
-
getEncryptionInfoOrBuilder
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];
- 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.
-
setEtag
public Backup.Builder setEtag(String value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Backup.Builder clearEtag()
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;
- Returns:
- This builder for chaining.
-
setEtagBytes
public Backup.Builder setEtagBytes(com.google.protobuf.ByteString value)
For Resource freshness validation (https://google.aip.dev/154)
string etag = 14;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
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
-
clearAnnotations
public Backup.Builder clearAnnotations()
-
removeAnnotations
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;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
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;
-
putAllAnnotations
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;
-
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.
-
setSizeBytes
public Backup.Builder setSizeBytes(long value)
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The sizeBytes to set.- Returns:
- This builder for chaining.
-
clearSizeBytes
public Backup.Builder clearSizeBytes()
Output only. The size of the backup in bytes.
int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
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.
-
setExpiryTime
public 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];
-
setExpiryTime
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];
-
mergeExpiryTime
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];
-
clearExpiryTime
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];
-
getExpiryTimeBuilder
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];
-
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
-
setUnknownFields
public final Backup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
mergeUnknownFields
public final Backup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>
-
-