public static final class BackupPlan.BackupConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder> implements BackupPlan.BackupConfigOrBuilder
BackupConfig defines the configuration of Backups created via this BackupPlan.Protobuf type
google.cloud.gkebackup.v1.BackupPlan.BackupConfig| Modifier and Type | Method and Description |
|---|---|
BackupPlan.BackupConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackupPlan.BackupConfig |
build() |
BackupPlan.BackupConfig |
buildPartial() |
BackupPlan.BackupConfig.Builder |
clear() |
BackupPlan.BackupConfig.Builder |
clearAllNamespaces()
If True, include all namespaced resources
|
BackupPlan.BackupConfig.Builder |
clearBackupScope() |
BackupPlan.BackupConfig.Builder |
clearEncryptionKey()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
BackupPlan.BackupConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BackupPlan.BackupConfig.Builder |
clearIncludeSecrets()
This flag specifies whether Kubernetes Secret resources should be
included when they fall into the scope of Backups.
|
BackupPlan.BackupConfig.Builder |
clearIncludeVolumeData()
This flag specifies whether volume data should be backed up when
PVCs are included in the scope of a Backup.
|
BackupPlan.BackupConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BackupPlan.BackupConfig.Builder |
clearSelectedApplications()
If set, include just the resources referenced by the listed
ProtectedApplications.
|
BackupPlan.BackupConfig.Builder |
clearSelectedNamespaces()
If set, include just the resources in the listed namespaces.
|
BackupPlan.BackupConfig.Builder |
clone() |
boolean |
getAllNamespaces()
If True, include all namespaced resources
|
BackupPlan.BackupConfig.BackupScopeCase |
getBackupScopeCase() |
BackupPlan.BackupConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EncryptionKey |
getEncryptionKey()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
EncryptionKey.Builder |
getEncryptionKeyBuilder()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
EncryptionKeyOrBuilder |
getEncryptionKeyOrBuilder()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
boolean |
getIncludeSecrets()
This flag specifies whether Kubernetes Secret resources should be
included when they fall into the scope of Backups.
|
boolean |
getIncludeVolumeData()
This flag specifies whether volume data should be backed up when
PVCs are included in the scope of a Backup.
|
NamespacedNames |
getSelectedApplications()
If set, include just the resources referenced by the listed
ProtectedApplications.
|
NamespacedNames.Builder |
getSelectedApplicationsBuilder()
If set, include just the resources referenced by the listed
ProtectedApplications.
|
NamespacedNamesOrBuilder |
getSelectedApplicationsOrBuilder()
If set, include just the resources referenced by the listed
ProtectedApplications.
|
Namespaces |
getSelectedNamespaces()
If set, include just the resources in the listed namespaces.
|
Namespaces.Builder |
getSelectedNamespacesBuilder()
If set, include just the resources in the listed namespaces.
|
NamespacesOrBuilder |
getSelectedNamespacesOrBuilder()
If set, include just the resources in the listed namespaces.
|
boolean |
hasAllNamespaces()
If True, include all namespaced resources
|
boolean |
hasEncryptionKey()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
boolean |
hasSelectedApplications()
If set, include just the resources referenced by the listed
ProtectedApplications.
|
boolean |
hasSelectedNamespaces()
If set, include just the resources in the listed namespaces.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BackupPlan.BackupConfig.Builder |
mergeEncryptionKey(EncryptionKey value)
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
BackupPlan.BackupConfig.Builder |
mergeFrom(BackupPlan.BackupConfig other) |
BackupPlan.BackupConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BackupPlan.BackupConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
BackupPlan.BackupConfig.Builder |
mergeSelectedApplications(NamespacedNames value)
If set, include just the resources referenced by the listed
ProtectedApplications.
|
BackupPlan.BackupConfig.Builder |
mergeSelectedNamespaces(Namespaces value)
If set, include just the resources in the listed namespaces.
|
BackupPlan.BackupConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BackupPlan.BackupConfig.Builder |
setAllNamespaces(boolean value)
If True, include all namespaced resources
|
BackupPlan.BackupConfig.Builder |
setEncryptionKey(EncryptionKey.Builder builderForValue)
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
BackupPlan.BackupConfig.Builder |
setEncryptionKey(EncryptionKey value)
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
|
BackupPlan.BackupConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackupPlan.BackupConfig.Builder |
setIncludeSecrets(boolean value)
This flag specifies whether Kubernetes Secret resources should be
included when they fall into the scope of Backups.
|
BackupPlan.BackupConfig.Builder |
setIncludeVolumeData(boolean value)
This flag specifies whether volume data should be backed up when
PVCs are included in the scope of a Backup.
|
BackupPlan.BackupConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BackupPlan.BackupConfig.Builder |
setSelectedApplications(NamespacedNames.Builder builderForValue)
If set, include just the resources referenced by the listed
ProtectedApplications.
|
BackupPlan.BackupConfig.Builder |
setSelectedApplications(NamespacedNames value)
If set, include just the resources referenced by the listed
ProtectedApplications.
|
BackupPlan.BackupConfig.Builder |
setSelectedNamespaces(Namespaces.Builder builderForValue)
If set, include just the resources in the listed namespaces.
|
BackupPlan.BackupConfig.Builder |
setSelectedNamespaces(Namespaces value)
If set, include just the resources in the listed namespaces.
|
BackupPlan.BackupConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.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<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BackupPlan.BackupConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BackupPlan.BackupConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BackupPlan.BackupConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.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<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.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<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.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<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.Builder mergeFrom(BackupPlan.BackupConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>public BackupPlan.BackupConfig.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<BackupPlan.BackupConfig.Builder>IOExceptionpublic BackupPlan.BackupConfig.BackupScopeCase getBackupScopeCase()
getBackupScopeCase in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder clearBackupScope()
public boolean hasAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;hasAllNamespaces in interface BackupPlan.BackupConfigOrBuilderpublic boolean getAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;getAllNamespaces in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder setAllNamespaces(boolean value)
If True, include all namespaced resources
bool all_namespaces = 1;value - The allNamespaces to set.public BackupPlan.BackupConfig.Builder clearAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;public boolean hasSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;hasSelectedNamespaces in interface BackupPlan.BackupConfigOrBuilderpublic Namespaces getSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;getSelectedNamespaces in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder setSelectedNamespaces(Namespaces value)
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;public BackupPlan.BackupConfig.Builder setSelectedNamespaces(Namespaces.Builder builderForValue)
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;public BackupPlan.BackupConfig.Builder mergeSelectedNamespaces(Namespaces value)
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;public BackupPlan.BackupConfig.Builder clearSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;public Namespaces.Builder getSelectedNamespacesBuilder()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;public NamespacesOrBuilder getSelectedNamespacesOrBuilder()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;getSelectedNamespacesOrBuilder in interface BackupPlan.BackupConfigOrBuilderpublic boolean hasSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;hasSelectedApplications in interface BackupPlan.BackupConfigOrBuilderpublic NamespacedNames getSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;getSelectedApplications in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder setSelectedApplications(NamespacedNames value)
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;public BackupPlan.BackupConfig.Builder setSelectedApplications(NamespacedNames.Builder builderForValue)
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;public BackupPlan.BackupConfig.Builder mergeSelectedApplications(NamespacedNames value)
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;public BackupPlan.BackupConfig.Builder clearSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;public NamespacedNames.Builder getSelectedApplicationsBuilder()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;getSelectedApplicationsOrBuilder in interface BackupPlan.BackupConfigOrBuilderpublic boolean getIncludeVolumeData()
This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
bool include_volume_data = 4;getIncludeVolumeData in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder setIncludeVolumeData(boolean value)
This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
bool include_volume_data = 4;value - The includeVolumeData to set.public BackupPlan.BackupConfig.Builder clearIncludeVolumeData()
This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
bool include_volume_data = 4;public boolean getIncludeSecrets()
This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
bool include_secrets = 5;getIncludeSecrets in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder setIncludeSecrets(boolean value)
This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
bool include_secrets = 5;value - The includeSecrets to set.public BackupPlan.BackupConfig.Builder clearIncludeSecrets()
This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
bool include_secrets = 5;public boolean hasEncryptionKey()
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;hasEncryptionKey in interface BackupPlan.BackupConfigOrBuilderpublic EncryptionKey getEncryptionKey()
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;getEncryptionKey in interface BackupPlan.BackupConfigOrBuilderpublic BackupPlan.BackupConfig.Builder setEncryptionKey(EncryptionKey value)
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;public BackupPlan.BackupConfig.Builder setEncryptionKey(EncryptionKey.Builder builderForValue)
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;public BackupPlan.BackupConfig.Builder mergeEncryptionKey(EncryptionKey value)
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;public BackupPlan.BackupConfig.Builder clearEncryptionKey()
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;public EncryptionKey.Builder getEncryptionKeyBuilder()
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;public EncryptionKeyOrBuilder getEncryptionKeyOrBuilder()
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;getEncryptionKeyOrBuilder in interface BackupPlan.BackupConfigOrBuilderpublic final BackupPlan.BackupConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>public final BackupPlan.BackupConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.