Package com.google.cloud.gkebackup.v1
Class BackupPlan.BackupConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
- com.google.cloud.gkebackup.v1.BackupPlan.BackupConfig.Builder
-
- All Implemented Interfaces:
BackupPlan.BackupConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackupPlan.BackupConfig
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 typegoogle.cloud.gkebackup.v1.BackupPlan.BackupConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupPlan.BackupConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackupPlan.BackupConfigbuild()BackupPlan.BackupConfigbuildPartial()BackupPlan.BackupConfig.Builderclear()BackupPlan.BackupConfig.BuilderclearAllNamespaces()If True, include all namespaced resourcesBackupPlan.BackupConfig.BuilderclearBackupScope()BackupPlan.BackupConfig.BuilderclearEncryptionKey()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.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BackupPlan.BackupConfig.BuilderclearIncludeSecrets()This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.BackupPlan.BackupConfig.BuilderclearIncludeVolumeData()This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.BackupPlan.BackupConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BackupPlan.BackupConfig.BuilderclearSelectedApplications()If set, include just the resources referenced by the listed ProtectedApplications.BackupPlan.BackupConfig.BuilderclearSelectedNamespaces()If set, include just the resources in the listed namespaces.BackupPlan.BackupConfig.Builderclone()booleangetAllNamespaces()If True, include all namespaced resourcesBackupPlan.BackupConfig.BackupScopeCasegetBackupScopeCase()BackupPlan.BackupConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EncryptionKeygetEncryptionKey()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.BuildergetEncryptionKeyBuilder()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.EncryptionKeyOrBuildergetEncryptionKeyOrBuilder()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.booleangetIncludeSecrets()This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.booleangetIncludeVolumeData()This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.NamespacedNamesgetSelectedApplications()If set, include just the resources referenced by the listed ProtectedApplications.NamespacedNames.BuildergetSelectedApplicationsBuilder()If set, include just the resources referenced by the listed ProtectedApplications.NamespacedNamesOrBuildergetSelectedApplicationsOrBuilder()If set, include just the resources referenced by the listed ProtectedApplications.NamespacesgetSelectedNamespaces()If set, include just the resources in the listed namespaces.Namespaces.BuildergetSelectedNamespacesBuilder()If set, include just the resources in the listed namespaces.NamespacesOrBuildergetSelectedNamespacesOrBuilder()If set, include just the resources in the listed namespaces.booleanhasAllNamespaces()If True, include all namespaced resourcesbooleanhasEncryptionKey()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.booleanhasSelectedApplications()If set, include just the resources referenced by the listed ProtectedApplications.booleanhasSelectedNamespaces()If set, include just the resources in the listed namespaces.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BackupPlan.BackupConfig.BuildermergeEncryptionKey(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.BuildermergeFrom(BackupPlan.BackupConfig other)BackupPlan.BackupConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BackupPlan.BackupConfig.BuildermergeFrom(com.google.protobuf.Message other)BackupPlan.BackupConfig.BuildermergeSelectedApplications(NamespacedNames value)If set, include just the resources referenced by the listed ProtectedApplications.BackupPlan.BackupConfig.BuildermergeSelectedNamespaces(Namespaces value)If set, include just the resources in the listed namespaces.BackupPlan.BackupConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BackupPlan.BackupConfig.BuildersetAllNamespaces(boolean value)If True, include all namespaced resourcesBackupPlan.BackupConfig.BuildersetEncryptionKey(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.BuildersetEncryptionKey(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BackupPlan.BackupConfig.BuildersetIncludeSecrets(boolean value)This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.BackupPlan.BackupConfig.BuildersetIncludeVolumeData(boolean value)This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.BackupPlan.BackupConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BackupPlan.BackupConfig.BuildersetSelectedApplications(NamespacedNames value)If set, include just the resources referenced by the listed ProtectedApplications.BackupPlan.BackupConfig.BuildersetSelectedApplications(NamespacedNames.Builder builderForValue)If set, include just the resources referenced by the listed ProtectedApplications.BackupPlan.BackupConfig.BuildersetSelectedNamespaces(Namespaces value)If set, include just the resources in the listed namespaces.BackupPlan.BackupConfig.BuildersetSelectedNamespaces(Namespaces.Builder builderForValue)If set, include just the resources in the listed namespaces.BackupPlan.BackupConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
clear
public BackupPlan.BackupConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.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.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
getDefaultInstanceForType
public BackupPlan.BackupConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackupPlan.BackupConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackupPlan.BackupConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackupPlan.BackupConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
setField
public BackupPlan.BackupConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
clearField
public BackupPlan.BackupConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
clearOneof
public BackupPlan.BackupConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
setRepeatedField
public BackupPlan.BackupConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
addRepeatedField
public BackupPlan.BackupConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
mergeFrom
public BackupPlan.BackupConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupPlan.BackupConfig.Builder>
-
mergeFrom
public BackupPlan.BackupConfig.Builder mergeFrom(BackupPlan.BackupConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
mergeFrom
public BackupPlan.BackupConfig.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<BackupPlan.BackupConfig.Builder>- Throws:
IOException
-
getBackupScopeCase
public BackupPlan.BackupConfig.BackupScopeCase getBackupScopeCase()
- Specified by:
getBackupScopeCasein interfaceBackupPlan.BackupConfigOrBuilder
-
clearBackupScope
public BackupPlan.BackupConfig.Builder clearBackupScope()
-
hasAllNamespaces
public boolean hasAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;- Specified by:
hasAllNamespacesin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- Whether the allNamespaces field is set.
-
getAllNamespaces
public boolean getAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;- Specified by:
getAllNamespacesin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- The allNamespaces.
-
setAllNamespaces
public BackupPlan.BackupConfig.Builder setAllNamespaces(boolean value)
If True, include all namespaced resources
bool all_namespaces = 1;- Parameters:
value- The allNamespaces to set.- Returns:
- This builder for chaining.
-
clearAllNamespaces
public BackupPlan.BackupConfig.Builder clearAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;- Returns:
- This builder for chaining.
-
hasSelectedNamespaces
public boolean hasSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;- Specified by:
hasSelectedNamespacesin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- Whether the selectedNamespaces field is set.
-
getSelectedNamespaces
public Namespaces getSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;- Specified by:
getSelectedNamespacesin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- The selectedNamespaces.
-
setSelectedNamespaces
public BackupPlan.BackupConfig.Builder setSelectedNamespaces(Namespaces value)
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
-
setSelectedNamespaces
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;
-
mergeSelectedNamespaces
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;
-
clearSelectedNamespaces
public BackupPlan.BackupConfig.Builder clearSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
-
getSelectedNamespacesBuilder
public Namespaces.Builder getSelectedNamespacesBuilder()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
-
getSelectedNamespacesOrBuilder
public NamespacesOrBuilder getSelectedNamespacesOrBuilder()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;- Specified by:
getSelectedNamespacesOrBuilderin interfaceBackupPlan.BackupConfigOrBuilder
-
hasSelectedApplications
public boolean hasSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;- Specified by:
hasSelectedApplicationsin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- Whether the selectedApplications field is set.
-
getSelectedApplications
public NamespacedNames getSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;- Specified by:
getSelectedApplicationsin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- The selectedApplications.
-
setSelectedApplications
public 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;
-
setSelectedApplications
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;
-
mergeSelectedApplications
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;
-
clearSelectedApplications
public BackupPlan.BackupConfig.Builder clearSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
-
getSelectedApplicationsBuilder
public NamespacedNames.Builder getSelectedApplicationsBuilder()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
-
getSelectedApplicationsOrBuilder
public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;- Specified by:
getSelectedApplicationsOrBuilderin interfaceBackupPlan.BackupConfigOrBuilder
-
getIncludeVolumeData
public 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;- Specified by:
getIncludeVolumeDatain interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- The includeVolumeData.
-
setIncludeVolumeData
public 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;- Parameters:
value- The includeVolumeData to set.- Returns:
- This builder for chaining.
-
clearIncludeVolumeData
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;- Returns:
- This builder for chaining.
-
getIncludeSecrets
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;- Specified by:
getIncludeSecretsin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- The includeSecrets.
-
setIncludeSecrets
public 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;- Parameters:
value- The includeSecrets to set.- Returns:
- This builder for chaining.
-
clearIncludeSecrets
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;- Returns:
- This builder for chaining.
-
hasEncryptionKey
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;- Specified by:
hasEncryptionKeyin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- Whether the encryptionKey field is set.
-
getEncryptionKey
public 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;- Specified by:
getEncryptionKeyin interfaceBackupPlan.BackupConfigOrBuilder- Returns:
- The encryptionKey.
-
setEncryptionKey
public 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;
-
setEncryptionKey
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;
-
mergeEncryptionKey
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;
-
clearEncryptionKey
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;
-
getEncryptionKeyBuilder
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;
-
getEncryptionKeyOrBuilder
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;- Specified by:
getEncryptionKeyOrBuilderin interfaceBackupPlan.BackupConfigOrBuilder
-
setUnknownFields
public final BackupPlan.BackupConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
mergeUnknownFields
public final BackupPlan.BackupConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
-