Package com.google.cloud.gkebackup.v1
Class Backup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
com.google.cloud.gkebackup.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.GeneratedMessage.Builder<Backup.Builder>
implements BackupOrBuilder
Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups).Protobuf type
google.cloud.gkebackup.v1.Backup-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Optional.Output only.Optional.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Optional.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.clearUid()Output only.Output only.Output only.booleancontainsLabels(String key) Optional.booleanOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.longOutput only.booleanOutput only.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.getEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.booleanOutput only.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.intOutput only.intOutput only.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.Output only.Output only.Output only.Output only.Output only.Output only.longOutput only.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanOutput only.mergeCompleteTime(com.google.protobuf.Timestamp value) Output only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteLockExpireTime(com.google.protobuf.Timestamp value) Output only.mergeEncryptionKey(EncryptionKey value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRetainExpireTime(com.google.protobuf.Timestamp value) Output only.Output only.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setAllNamespaces(boolean value) Output only.Output only.setClusterMetadata(Backup.ClusterMetadata.Builder builderForValue) Output only.setCompleteTime(com.google.protobuf.Timestamp value) Output only.setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setConfigBackupSizeBytes(long value) Output only.setContainsSecrets(boolean value) Output only.setContainsVolumeData(boolean value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteLockDays(int value) Optional.setDeleteLockExpireTime(com.google.protobuf.Timestamp value) Output only.setDeleteLockExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setEncryptionKey(EncryptionKey value) Output only.setEncryptionKey(EncryptionKey.Builder builderForValue) Output only.Output only.setEtagBytes(com.google.protobuf.ByteString value) Output only.setManual(boolean value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPermissiveMode(boolean value) Output only.setPodCount(int value) Output only.setResourceCount(int value) Output only.setRetainDays(int value) Optional.setRetainExpireTime(com.google.protobuf.Timestamp value) Output only.setRetainExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.Output only.setSelectedApplications(NamespacedNames.Builder builderForValue) Output only.setSelectedNamespaces(Namespaces value) Output only.setSelectedNamespaces(Namespaces.Builder builderForValue) Output only.setSizeBytes(long value) Output only.setState(Backup.State value) Output only.setStateReason(String value) Output only.setStateReasonBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setVolumeCount(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Backup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Backup.Builder>
-
mergeFrom
public Backup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Backup.Builder>- Throws:
IOException
-
getBackupScopeCase
- Specified by:
getBackupScopeCasein interfaceBackupOrBuilder
-
clearBackupScope
-
getName
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceBackupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceBackupOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceBackupOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceBackupOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
string uid = 2 [(.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. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceBackupOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceBackupOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceBackupOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceBackupOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceBackupOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceBackupOrBuilder
-
getManual
public boolean getManual()Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
bool manual = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getManualin interfaceBackupOrBuilder- Returns:
- The manual.
-
setManual
Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
bool manual = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The manual to set.- Returns:
- This builder for chaining.
-
clearManual
Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
bool manual = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:BackupOrBuilderOptional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceBackupOrBuilder
-
containsLabels
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceBackupOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceBackupOrBuilder
-
getLabelsMap
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceBackupOrBuilder
-
getLabelsOrDefault
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceBackupOrBuilder
-
getLabelsOrThrow
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceBackupOrBuilder
-
clearLabels
-
removeLabels
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. A set of custom labels supplied by user.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getDeleteLockDays
public int getDeleteLockDays()Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days] setting and may only be increased (either at creation time or in a subsequent update).
int32 delete_lock_days = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeleteLockDaysin interfaceBackupOrBuilder- Returns:
- The deleteLockDays.
-
setDeleteLockDays
Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days] setting and may only be increased (either at creation time or in a subsequent update).
int32 delete_lock_days = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The deleteLockDays to set.- Returns:
- This builder for chaining.
-
clearDeleteLockDays
Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days] setting and may only be increased (either at creation time or in a subsequent update).
int32 delete_lock_days = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasDeleteLockExpireTime
public boolean hasDeleteLockExpireTime()Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteLockExpireTimein interfaceBackupOrBuilder- Returns:
- Whether the deleteLockExpireTime field is set.
-
getDeleteLockExpireTime
public com.google.protobuf.Timestamp getDeleteLockExpireTime()Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteLockExpireTimein interfaceBackupOrBuilder- Returns:
- The deleteLockExpireTime.
-
setDeleteLockExpireTime
Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteLockExpireTime
public Backup.Builder setDeleteLockExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteLockExpireTime
Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteLockExpireTime
Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteLockExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteLockExpireTimeBuilder()Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteLockExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteLockExpireTimeOrBuilder()Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
.google.protobuf.Timestamp delete_lock_expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteLockExpireTimeOrBuilderin interfaceBackupOrBuilder
-
getRetainDays
public int getRetainDays()Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days] and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] value.
int32 retain_days = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetainDaysin interfaceBackupOrBuilder- Returns:
- The retainDays.
-
setRetainDays
Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days] and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] value.
int32 retain_days = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The retainDays to set.- Returns:
- This builder for chaining.
-
clearRetainDays
Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days] and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] value.
int32 retain_days = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasRetainExpireTime
public boolean hasRetainExpireTime()Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRetainExpireTimein interfaceBackupOrBuilder- Returns:
- Whether the retainExpireTime field is set.
-
getRetainExpireTime
public com.google.protobuf.Timestamp getRetainExpireTime()Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRetainExpireTimein interfaceBackupOrBuilder- Returns:
- The retainExpireTime.
-
setRetainExpireTime
Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRetainExpireTime
Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRetainExpireTime
Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRetainExpireTime
Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRetainExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getRetainExpireTimeBuilder()Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRetainExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRetainExpireTimeOrBuilder()Output only. The time at which this Backup will be automatically deleted (calculated from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
.google.protobuf.Timestamp retain_expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRetainExpireTimeOrBuilderin interfaceBackupOrBuilder
-
hasEncryptionKey
public boolean hasEncryptionKey()Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEncryptionKeyin interfaceBackupOrBuilder- Returns:
- Whether the encryptionKey field is set.
-
getEncryptionKey
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEncryptionKeyin interfaceBackupOrBuilder- Returns:
- The encryptionKey.
-
setEncryptionKey
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEncryptionKey
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEncryptionKey
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEncryptionKey
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEncryptionKeyBuilder
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEncryptionKeyOrBuilder
Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEncryptionKeyOrBuilderin interfaceBackupOrBuilder
-
hasAllNamespaces
public boolean hasAllNamespaces()Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAllNamespacesin interfaceBackupOrBuilder- Returns:
- Whether the allNamespaces field is set.
-
getAllNamespaces
public boolean getAllNamespaces()Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllNamespacesin interfaceBackupOrBuilder- Returns:
- The allNamespaces.
-
setAllNamespaces
Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The allNamespaces to set.- Returns:
- This builder for chaining.
-
clearAllNamespaces
Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSelectedNamespaces
public boolean hasSelectedNamespaces()Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSelectedNamespacesin interfaceBackupOrBuilder- Returns:
- Whether the selectedNamespaces field is set.
-
getSelectedNamespaces
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectedNamespacesin interfaceBackupOrBuilder- Returns:
- The selectedNamespaces.
-
setSelectedNamespaces
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSelectedNamespaces
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSelectedNamespaces
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSelectedNamespaces
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSelectedNamespacesBuilder
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSelectedNamespacesOrBuilder
Output only. If set, the list of namespaces that were included in the Backup.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectedNamespacesOrBuilderin interfaceBackupOrBuilder
-
hasSelectedApplications
public boolean hasSelectedApplications()Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSelectedApplicationsin interfaceBackupOrBuilder- Returns:
- Whether the selectedApplications field is set.
-
getSelectedApplications
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectedApplicationsin interfaceBackupOrBuilder- Returns:
- The selectedApplications.
-
setSelectedApplications
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSelectedApplications
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSelectedApplications
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSelectedApplications
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSelectedApplicationsBuilder
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSelectedApplicationsOrBuilder
Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectedApplicationsOrBuilderin interfaceBackupOrBuilder
-
getContainsVolumeData
public boolean getContainsVolumeData()Output only. Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's [include_volume_data][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_volume_data] value.
bool contains_volume_data = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContainsVolumeDatain interfaceBackupOrBuilder- Returns:
- The containsVolumeData.
-
setContainsVolumeData
Output only. Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's [include_volume_data][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_volume_data] value.
bool contains_volume_data = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The containsVolumeData to set.- Returns:
- This builder for chaining.
-
clearContainsVolumeData
Output only. Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's [include_volume_data][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_volume_data] value.
bool contains_volume_data = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getContainsSecrets
public boolean getContainsSecrets()Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's [include_secrets][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_secrets] value.
bool contains_secrets = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContainsSecretsin interfaceBackupOrBuilder- Returns:
- The containsSecrets.
-
setContainsSecrets
Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's [include_secrets][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_secrets] value.
bool contains_secrets = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The containsSecrets to set.- Returns:
- This builder for chaining.
-
clearContainsSecrets
Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's [include_secrets][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_secrets] value.
bool contains_secrets = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasClusterMetadata
public boolean hasClusterMetadata()Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasClusterMetadatain interfaceBackupOrBuilder- Returns:
- Whether the clusterMetadata field is set.
-
getClusterMetadata
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterMetadatain interfaceBackupOrBuilder- Returns:
- The clusterMetadata.
-
setClusterMetadata
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setClusterMetadata
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeClusterMetadata
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearClusterMetadata
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getClusterMetadataBuilder
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getClusterMetadataOrBuilder
Output only. Information about the GKE cluster from which this Backup was created.
.google.cloud.gkebackup.v1.Backup.ClusterMetadata cluster_metadata = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterMetadataOrBuilderin interfaceBackupOrBuilder
-
getStateValue
public int getStateValue()Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceBackupOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.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
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceBackupOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateReason
Output only. Human-readable description of why the backup is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateReasonin interfaceBackupOrBuilder- Returns:
- The stateReason.
-
getStateReasonBytes
public com.google.protobuf.ByteString getStateReasonBytes()Output only. Human-readable description of why the backup is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateReasonBytesin interfaceBackupOrBuilder- Returns:
- The bytes for stateReason.
-
setStateReason
Output only. Human-readable description of why the backup is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateReason to set.- Returns:
- This builder for chaining.
-
clearStateReason
Output only. Human-readable description of why the backup is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStateReasonBytes
Output only. Human-readable description of why the backup is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stateReason to set.- Returns:
- This builder for chaining.
-
hasCompleteTime
public boolean hasCompleteTime()Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCompleteTimein interfaceBackupOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public com.google.protobuf.Timestamp getCompleteTime()Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimein interfaceBackupOrBuilder- Returns:
- The completeTime.
-
setCompleteTime
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCompleteTime
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCompleteTime
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCompleteTime
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getCompleteTimeBuilder()Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimeOrBuilderin interfaceBackupOrBuilder
-
getResourceCount
public int getResourceCount()Output only. The total number of Kubernetes resources included in the Backup.
int32 resource_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceCountin interfaceBackupOrBuilder- Returns:
- The resourceCount.
-
setResourceCount
Output only. The total number of Kubernetes resources included in the Backup.
int32 resource_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The resourceCount to set.- Returns:
- This builder for chaining.
-
clearResourceCount
Output only. The total number of Kubernetes resources included in the Backup.
int32 resource_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getVolumeCount
public int getVolumeCount()Output only. The total number of volume backups contained in the Backup.
int32 volume_count = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVolumeCountin interfaceBackupOrBuilder- Returns:
- The volumeCount.
-
setVolumeCount
Output only. The total number of volume backups contained in the Backup.
int32 volume_count = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The volumeCount to set.- Returns:
- This builder for chaining.
-
clearVolumeCount
Output only. The total number of volume backups contained in the Backup.
int32 volume_count = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSizeBytes
public long getSizeBytes()Output only. The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
int64 size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSizeBytesin interfaceBackupOrBuilder- Returns:
- The sizeBytes.
-
setSizeBytes
Output only. The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
int64 size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The sizeBytes to set.- Returns:
- This builder for chaining.
-
clearSizeBytes
Output only. The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
int64 size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getEtag
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackup`, and systems are expected to put that etag in the request to `UpdateBackup` or `DeleteBackup` to ensure that their change will be applied to the same version of the resource.
string etag = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagin interfaceBackupOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackup`, and systems are expected to put that etag in the request to `UpdateBackup` or `DeleteBackup` to ensure that their change will be applied to the same version of the resource.
string etag = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagBytesin interfaceBackupOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackup`, and systems are expected to put that etag in the request to `UpdateBackup` or `DeleteBackup` to ensure that their change will be applied to the same version of the resource.
string etag = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackup`, and systems are expected to put that etag in the request to `UpdateBackup` or `DeleteBackup` to ensure that their change will be applied to the same version of the resource.
string etag = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEtagBytes
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackup`, and systems are expected to put that etag in the request to `UpdateBackup` or `DeleteBackup` to ensure that their change will be applied to the same version of the resource.
string etag = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. User specified descriptive string for this Backup.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceBackupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. User specified descriptive string for this Backup.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceBackupOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. User specified descriptive string for this Backup.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. User specified descriptive string for this Backup.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. User specified descriptive string for this Backup.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPodCount
public int getPodCount()Output only. The total number of Kubernetes Pods contained in the Backup.
int32 pod_count = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPodCountin interfaceBackupOrBuilder- Returns:
- The podCount.
-
setPodCount
Output only. The total number of Kubernetes Pods contained in the Backup.
int32 pod_count = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The podCount to set.- Returns:
- This builder for chaining.
-
clearPodCount
Output only. The total number of Kubernetes Pods contained in the Backup.
int32 pod_count = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getConfigBackupSizeBytes
public long getConfigBackupSizeBytes()Output only. The size of the config backup in bytes.
int64 config_backup_size_bytes = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConfigBackupSizeBytesin interfaceBackupOrBuilder- Returns:
- The configBackupSizeBytes.
-
setConfigBackupSizeBytes
Output only. The size of the config backup in bytes.
int64 config_backup_size_bytes = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The configBackupSizeBytes to set.- Returns:
- This builder for chaining.
-
clearConfigBackupSizeBytes
Output only. The size of the config backup in bytes.
int64 config_backup_size_bytes = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPermissiveMode
public boolean getPermissiveMode()Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan's [permissive_mode][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.permissive_mode] value.
bool permissive_mode = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPermissiveModein interfaceBackupOrBuilder- Returns:
- The permissiveMode.
-
setPermissiveMode
Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan's [permissive_mode][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.permissive_mode] value.
bool permissive_mode = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The permissiveMode to set.- Returns:
- This builder for chaining.
-
clearPermissiveMode
Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan's [permissive_mode][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.permissive_mode] value.
bool permissive_mode = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. [Output Only] Reserved for future use.
bool satisfies_pzs = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceBackupOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. [Output Only] Reserved for future use.
bool satisfies_pzs = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. [Output Only] Reserved for future use.
bool satisfies_pzs = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. [Output Only] Reserved for future use.
bool satisfies_pzi = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceBackupOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. [Output Only] Reserved for future use.
bool satisfies_pzi = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. [Output Only] Reserved for future use.
bool satisfies_pzi = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-