public static final class Backup.Builder extends com.google.protobuf.GeneratedMessageV3.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). Next id: 28Protobuf type
google.cloud.gkebackup.v1.Backup| Modifier and Type | Method and Description |
|---|---|
Backup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backup |
build() |
Backup |
buildPartial() |
Backup.Builder |
clear() |
Backup.Builder |
clearAllNamespaces()
Output only.
|
Backup.Builder |
clearBackupScope() |
Backup.Builder |
clearClusterMetadata()
Output only.
|
Backup.Builder |
clearCompleteTime()
Output only.
|
Backup.Builder |
clearConfigBackupSizeBytes()
Output only.
|
Backup.Builder |
clearContainsSecrets()
Output only.
|
Backup.Builder |
clearContainsVolumeData()
Output only.
|
Backup.Builder |
clearCreateTime()
Output only.
|
Backup.Builder |
clearDeleteLockDays()
Minimum age for this Backup (in days).
|
Backup.Builder |
clearDeleteLockExpireTime()
Output only.
|
Backup.Builder |
clearDescription()
User specified descriptive string for this Backup.
|
Backup.Builder |
clearEncryptionKey()
Output only.
|
Backup.Builder |
clearEtag()
Output only.
|
Backup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Backup.Builder |
clearLabels() |
Backup.Builder |
clearManual()
Output only.
|
Backup.Builder |
clearName()
Output only.
|
Backup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Backup.Builder |
clearPodCount()
Output only.
|
Backup.Builder |
clearResourceCount()
Output only.
|
Backup.Builder |
clearRetainDays()
The age (in days) after which this Backup will be automatically deleted.
|
Backup.Builder |
clearRetainExpireTime()
Output only.
|
Backup.Builder |
clearSelectedApplications()
Output only.
|
Backup.Builder |
clearSelectedNamespaces()
Output only.
|
Backup.Builder |
clearSizeBytes()
Output only.
|
Backup.Builder |
clearState()
Output only.
|
Backup.Builder |
clearStateReason()
Output only.
|
Backup.Builder |
clearUid()
Output only.
|
Backup.Builder |
clearUpdateTime()
Output only.
|
Backup.Builder |
clearVolumeCount()
Output only.
|
Backup.Builder |
clone() |
boolean |
containsLabels(String key)
A set of custom labels supplied by user.
|
boolean |
getAllNamespaces()
Output only.
|
Backup.BackupScopeCase |
getBackupScopeCase() |
Backup.ClusterMetadata |
getClusterMetadata()
Output only.
|
Backup.ClusterMetadata.Builder |
getClusterMetadataBuilder()
Output only.
|
Backup.ClusterMetadataOrBuilder |
getClusterMetadataOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCompleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCompleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCompleteTimeOrBuilder()
Output only.
|
long |
getConfigBackupSizeBytes()
Output only.
|
boolean |
getContainsSecrets()
Output only.
|
boolean |
getContainsVolumeData()
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() |
int |
getDeleteLockDays()
Minimum age for this Backup (in days).
|
com.google.protobuf.Timestamp |
getDeleteLockExpireTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteLockExpireTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteLockExpireTimeOrBuilder()
Output only.
|
String |
getDescription()
User specified descriptive string for this Backup.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User specified descriptive string for this Backup.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EncryptionKey |
getEncryptionKey()
Output only.
|
EncryptionKey.Builder |
getEncryptionKeyBuilder()
Output only.
|
EncryptionKeyOrBuilder |
getEncryptionKeyOrBuilder()
Output only.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
A set of custom labels supplied by user.
|
Map<String,String> |
getLabelsMap()
A set of custom labels supplied by user.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
A set of custom labels supplied by user.
|
String |
getLabelsOrThrow(String key)
A set of custom labels supplied by user.
|
boolean |
getManual()
Output only.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
int |
getPodCount()
Output only.
|
int |
getResourceCount()
Output only.
|
int |
getRetainDays()
The age (in days) after which this Backup will be automatically deleted.
|
com.google.protobuf.Timestamp |
getRetainExpireTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getRetainExpireTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getRetainExpireTimeOrBuilder()
Output only.
|
NamespacedNames |
getSelectedApplications()
Output only.
|
NamespacedNames.Builder |
getSelectedApplicationsBuilder()
Output only.
|
NamespacedNamesOrBuilder |
getSelectedApplicationsOrBuilder()
Output only.
|
Namespaces |
getSelectedNamespaces()
Output only.
|
Namespaces.Builder |
getSelectedNamespacesBuilder()
Output only.
|
NamespacesOrBuilder |
getSelectedNamespacesOrBuilder()
Output only.
|
long |
getSizeBytes()
Output only.
|
Backup.State |
getState()
Output only.
|
String |
getStateReason()
Output only.
|
com.google.protobuf.ByteString |
getStateReasonBytes()
Output only.
|
int |
getStateValue()
Output only.
|
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.
|
int |
getVolumeCount()
Output only.
|
boolean |
hasAllNamespaces()
Output only.
|
boolean |
hasClusterMetadata()
Output only.
|
boolean |
hasCompleteTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteLockExpireTime()
Output only.
|
boolean |
hasEncryptionKey()
Output only.
|
boolean |
hasRetainExpireTime()
Output only.
|
boolean |
hasSelectedApplications()
Output only.
|
boolean |
hasSelectedNamespaces()
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 |
mergeClusterMetadata(Backup.ClusterMetadata value)
Output only.
|
Backup.Builder |
mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeDeleteLockExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeEncryptionKey(EncryptionKey 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 |
mergeRetainExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
mergeSelectedApplications(NamespacedNames value)
Output only.
|
Backup.Builder |
mergeSelectedNamespaces(Namespaces value)
Output only.
|
Backup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Backup.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
putAllLabels(Map<String,String> values)
A set of custom labels supplied by user.
|
Backup.Builder |
putLabels(String key,
String value)
A set of custom labels supplied by user.
|
Backup.Builder |
removeLabels(String key)
A set of custom labels supplied by user.
|
Backup.Builder |
setAllNamespaces(boolean value)
Output only.
|
Backup.Builder |
setClusterMetadata(Backup.ClusterMetadata.Builder builderForValue)
Output only.
|
Backup.Builder |
setClusterMetadata(Backup.ClusterMetadata value)
Output only.
|
Backup.Builder |
setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setCompleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setConfigBackupSizeBytes(long value)
Output only.
|
Backup.Builder |
setContainsSecrets(boolean value)
Output only.
|
Backup.Builder |
setContainsVolumeData(boolean value)
Output only.
|
Backup.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setDeleteLockDays(int value)
Minimum age for this Backup (in days).
|
Backup.Builder |
setDeleteLockExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setDeleteLockExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setDescription(String value)
User specified descriptive string for this Backup.
|
Backup.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
User specified descriptive string for this Backup.
|
Backup.Builder |
setEncryptionKey(EncryptionKey.Builder builderForValue)
Output only.
|
Backup.Builder |
setEncryptionKey(EncryptionKey value)
Output only.
|
Backup.Builder |
setEtag(String value)
Output only.
|
Backup.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Backup.Builder |
setManual(boolean value)
Output only.
|
Backup.Builder |
setName(String value)
Output only.
|
Backup.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup.Builder |
setPodCount(int value)
Output only.
|
Backup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Backup.Builder |
setResourceCount(int value)
Output only.
|
Backup.Builder |
setRetainDays(int value)
The age (in days) after which this Backup will be automatically deleted.
|
Backup.Builder |
setRetainExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Backup.Builder |
setRetainExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setSelectedApplications(NamespacedNames.Builder builderForValue)
Output only.
|
Backup.Builder |
setSelectedApplications(NamespacedNames value)
Output only.
|
Backup.Builder |
setSelectedNamespaces(Namespaces.Builder builderForValue)
Output only.
|
Backup.Builder |
setSelectedNamespaces(Namespaces value)
Output only.
|
Backup.Builder |
setSizeBytes(long value)
Output only.
|
Backup.Builder |
setState(Backup.State value)
Output only.
|
Backup.Builder |
setStateReason(String value)
Output only.
|
Backup.Builder |
setStateReasonBytes(com.google.protobuf.ByteString value)
Output only.
|
Backup.Builder |
setStateValue(int value)
Output only.
|
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.Builder builderForValue)
Output only.
|
Backup.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Backup.Builder |
setVolumeCount(int value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Backup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Backup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Backup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backup.Builder>public Backup.Builder mergeFrom(Backup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public Backup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Backup.Builder>IOExceptionpublic Backup.BackupScopeCase getBackupScopeCase()
getBackupScopeCase in interface BackupOrBuilderpublic Backup.Builder clearBackupScope()
public String getName()
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface BackupOrBuilderpublic 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];getNameBytes in interface BackupOrBuilderpublic Backup.Builder setName(String value)
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Backup.Builder clearName()
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Backup.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The fully qualified name of the Backup. `projects/*/locations/*/backupPlans/*/backups/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String 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];getUid in interface BackupOrBuilderpublic 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];getUidBytes in interface BackupOrBuilderpublic Backup.Builder setUid(String value)
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];value - The uid to set.public Backup.Builder 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];public Backup.Builder setUidBytes(com.google.protobuf.ByteString value)
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];value - The bytes for uid to set.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];
hasCreateTime in interface BackupOrBuilderpublic 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];
getCreateTime in interface BackupOrBuilderpublic Backup.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearCreateTime()
Output only. The timestamp when this Backup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCreateTimeOrBuilder in interface BackupOrBuilderpublic 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];
hasUpdateTime in interface BackupOrBuilderpublic 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];
getUpdateTime in interface BackupOrBuilderpublic Backup.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearUpdateTime()
Output only. The timestamp when this Backup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getUpdateTimeOrBuilder in interface BackupOrBuilderpublic 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];getManual in interface BackupOrBuilderpublic Backup.Builder setManual(boolean value)
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];value - The manual to set.public Backup.Builder 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];public int getLabelsCount()
BackupOrBuilderA set of custom labels supplied by user.
map<string, string> labels = 6;getLabelsCount in interface BackupOrBuilderpublic boolean containsLabels(String key)
A set of custom labels supplied by user.
map<string, string> labels = 6;containsLabels in interface BackupOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface BackupOrBuilderpublic Map<String,String> getLabelsMap()
A set of custom labels supplied by user.
map<string, string> labels = 6;getLabelsMap in interface BackupOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
A set of custom labels supplied by user.
map<string, string> labels = 6;getLabelsOrDefault in interface BackupOrBuilderpublic String getLabelsOrThrow(String key)
A set of custom labels supplied by user.
map<string, string> labels = 6;getLabelsOrThrow in interface BackupOrBuilderpublic Backup.Builder clearLabels()
public Backup.Builder removeLabels(String key)
A set of custom labels supplied by user.
map<string, string> labels = 6;@Deprecated public Map<String,String> getMutableLabels()
public Backup.Builder putLabels(String key, String value)
A set of custom labels supplied by user.
map<string, string> labels = 6;public Backup.Builder putAllLabels(Map<String,String> values)
A set of custom labels supplied by user.
map<string, string> labels = 6;public int getDeleteLockDays()
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;getDeleteLockDays in interface BackupOrBuilderpublic Backup.Builder setDeleteLockDays(int value)
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;value - The deleteLockDays to set.public Backup.Builder clearDeleteLockDays()
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;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];
hasDeleteLockExpireTime in interface BackupOrBuilderpublic 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];
getDeleteLockExpireTime in interface BackupOrBuilderpublic Backup.Builder setDeleteLockExpireTime(com.google.protobuf.Timestamp value)
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];
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];
public Backup.Builder mergeDeleteLockExpireTime(com.google.protobuf.Timestamp value)
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];
public Backup.Builder 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];
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];
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];
getDeleteLockExpireTimeOrBuilder in interface BackupOrBuilderpublic int getRetainDays()
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;getRetainDays in interface BackupOrBuilderpublic Backup.Builder setRetainDays(int value)
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;value - The retainDays to set.public Backup.Builder clearRetainDays()
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;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];
hasRetainExpireTime in interface BackupOrBuilderpublic 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];
getRetainExpireTime in interface BackupOrBuilderpublic Backup.Builder setRetainExpireTime(com.google.protobuf.Timestamp value)
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];
public Backup.Builder setRetainExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public Backup.Builder mergeRetainExpireTime(com.google.protobuf.Timestamp value)
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];
public Backup.Builder 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];
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];
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];
getRetainExpireTimeOrBuilder in interface BackupOrBuilderpublic 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];
hasEncryptionKey in interface BackupOrBuilderpublic EncryptionKey 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];
getEncryptionKey in interface BackupOrBuilderpublic Backup.Builder setEncryptionKey(EncryptionKey value)
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];
public Backup.Builder setEncryptionKey(EncryptionKey.Builder builderForValue)
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];
public Backup.Builder mergeEncryptionKey(EncryptionKey value)
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];
public Backup.Builder 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];
public EncryptionKey.Builder 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];
public EncryptionKeyOrBuilder 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];
getEncryptionKeyOrBuilder in interface BackupOrBuilderpublic boolean hasAllNamespaces()
Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];hasAllNamespaces in interface BackupOrBuilderpublic boolean getAllNamespaces()
Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getAllNamespaces in interface BackupOrBuilderpublic Backup.Builder setAllNamespaces(boolean value)
Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The allNamespaces to set.public Backup.Builder clearAllNamespaces()
Output only. If True, all namespaces were included in the Backup.
bool all_namespaces = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];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];
hasSelectedNamespaces in interface BackupOrBuilderpublic Namespaces 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];
getSelectedNamespaces in interface BackupOrBuilderpublic Backup.Builder setSelectedNamespaces(Namespaces value)
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];
public Backup.Builder setSelectedNamespaces(Namespaces.Builder builderForValue)
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];
public Backup.Builder mergeSelectedNamespaces(Namespaces value)
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];
public Backup.Builder 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];
public Namespaces.Builder 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];
public NamespacesOrBuilder 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];
getSelectedNamespacesOrBuilder in interface BackupOrBuilderpublic 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];
hasSelectedApplications in interface BackupOrBuilderpublic NamespacedNames 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];
getSelectedApplications in interface BackupOrBuilderpublic Backup.Builder setSelectedApplications(NamespacedNames value)
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];
public Backup.Builder setSelectedApplications(NamespacedNames.Builder builderForValue)
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];
public Backup.Builder mergeSelectedApplications(NamespacedNames value)
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];
public Backup.Builder 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];
public NamespacedNames.Builder 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];
public NamespacedNamesOrBuilder 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];
getSelectedApplicationsOrBuilder in interface BackupOrBuilderpublic 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];getContainsVolumeData in interface BackupOrBuilderpublic Backup.Builder setContainsVolumeData(boolean value)
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];value - The containsVolumeData to set.public Backup.Builder 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];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];getContainsSecrets in interface BackupOrBuilderpublic Backup.Builder setContainsSecrets(boolean value)
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];value - The containsSecrets to set.public Backup.Builder 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];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];
hasClusterMetadata in interface BackupOrBuilderpublic Backup.ClusterMetadata 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];
getClusterMetadata in interface BackupOrBuilderpublic Backup.Builder setClusterMetadata(Backup.ClusterMetadata value)
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];
public Backup.Builder setClusterMetadata(Backup.ClusterMetadata.Builder builderForValue)
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];
public Backup.Builder mergeClusterMetadata(Backup.ClusterMetadata value)
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];
public Backup.Builder 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];
public Backup.ClusterMetadata.Builder 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];
public Backup.ClusterMetadataOrBuilder 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];
getClusterMetadataOrBuilder in interface BackupOrBuilderpublic int getStateValue()
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface BackupOrBuilderpublic Backup.Builder setStateValue(int value)
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Backup.State getState()
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface BackupOrBuilderpublic Backup.Builder setState(Backup.State value)
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Backup.Builder clearState()
Output only. Current state of the Backup
.google.cloud.gkebackup.v1.Backup.State state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getStateReason()
Output only. Human-readable description of why the backup is in the current `state`.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateReason in interface BackupOrBuilderpublic com.google.protobuf.ByteString getStateReasonBytes()
Output only. Human-readable description of why the backup is in the current `state`.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateReasonBytes in interface BackupOrBuilderpublic Backup.Builder setStateReason(String value)
Output only. Human-readable description of why the backup is in the current `state`.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The stateReason to set.public Backup.Builder clearStateReason()
Output only. Human-readable description of why the backup is in the current `state`.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];public Backup.Builder setStateReasonBytes(com.google.protobuf.ByteString value)
Output only. Human-readable description of why the backup is in the current `state`.
string state_reason = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for stateReason to set.public boolean hasCompleteTime()
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCompleteTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getCompleteTime()
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompleteTime in interface BackupOrBuilderpublic Backup.Builder setCompleteTime(com.google.protobuf.Timestamp value)
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Backup.Builder clearCompleteTime()
Output only. Completion time of the Backup
.google.protobuf.Timestamp complete_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCompleteTimeOrBuilder in interface BackupOrBuilderpublic int getResourceCount()
Output only. The total number of Kubernetes resources included in the Backup.
int32 resource_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];getResourceCount in interface BackupOrBuilderpublic Backup.Builder setResourceCount(int value)
Output only. The total number of Kubernetes resources included in the Backup.
int32 resource_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The resourceCount to set.public Backup.Builder clearResourceCount()
Output only. The total number of Kubernetes resources included in the Backup.
int32 resource_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];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];getVolumeCount in interface BackupOrBuilderpublic Backup.Builder setVolumeCount(int value)
Output only. The total number of volume backups contained in the Backup.
int32 volume_count = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The volumeCount to set.public Backup.Builder clearVolumeCount()
Output only. The total number of volume backups contained in the Backup.
int32 volume_count = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];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];getSizeBytes in interface BackupOrBuilderpublic Backup.Builder setSizeBytes(long value)
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];value - The sizeBytes to set.public Backup.Builder 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];public String 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];getEtag in interface BackupOrBuilderpublic 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];getEtagBytes in interface BackupOrBuilderpublic Backup.Builder setEtag(String value)
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];value - The etag to set.public Backup.Builder 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];public Backup.Builder setEtagBytes(com.google.protobuf.ByteString value)
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];value - The bytes for etag to set.public String getDescription()
User specified descriptive string for this Backup.
string description = 25;getDescription in interface BackupOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User specified descriptive string for this Backup.
string description = 25;getDescriptionBytes in interface BackupOrBuilderpublic Backup.Builder setDescription(String value)
User specified descriptive string for this Backup.
string description = 25;value - The description to set.public Backup.Builder clearDescription()
User specified descriptive string for this Backup.
string description = 25;public Backup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User specified descriptive string for this Backup.
string description = 25;value - The bytes for description to set.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];getPodCount in interface BackupOrBuilderpublic Backup.Builder setPodCount(int value)
Output only. The total number of Kubernetes Pods contained in the Backup.
int32 pod_count = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The podCount to set.public Backup.Builder clearPodCount()
Output only. The total number of Kubernetes Pods contained in the Backup.
int32 pod_count = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];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];
getConfigBackupSizeBytes in interface BackupOrBuilderpublic Backup.Builder setConfigBackupSizeBytes(long value)
Output only. The size of the config backup in bytes.
int64 config_backup_size_bytes = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The configBackupSizeBytes to set.public Backup.Builder clearConfigBackupSizeBytes()
Output only. The size of the config backup in bytes.
int64 config_backup_size_bytes = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Backup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>public final Backup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Backup.Builder>Copyright © 2023 Google LLC. All rights reserved.