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.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 resourcesBackupPlan.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 resourcesBackupPlan.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 resourcesboolean
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 resourcesBackupPlan.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
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
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 value)
If set, include just the resources referenced by the listed ProtectedApplications.BackupPlan.BackupConfig.Builder
setSelectedApplications(NamespacedNames.Builder builderForValue)
If set, include just the resources referenced by the listed ProtectedApplications.BackupPlan.BackupConfig.Builder
setSelectedNamespaces(Namespaces value)
If set, include just the resources in the listed namespaces.BackupPlan.BackupConfig.Builder
setSelectedNamespaces(Namespaces.Builder builderForValue)
If set, include just the resources in the listed namespaces.BackupPlan.BackupConfig.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
clear
public BackupPlan.BackupConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
getDefaultInstanceForType
public BackupPlan.BackupConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BackupPlan.BackupConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BackupPlan.BackupConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BackupPlan.BackupConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
setField
public BackupPlan.BackupConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
clearField
public BackupPlan.BackupConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
clearOneof
public BackupPlan.BackupConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
setRepeatedField
public BackupPlan.BackupConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
addRepeatedField
public BackupPlan.BackupConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
mergeFrom
public BackupPlan.BackupConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BackupPlan.BackupConfig.Builder>
-
mergeFrom
public BackupPlan.BackupConfig.Builder mergeFrom(BackupPlan.BackupConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BackupPlan.BackupConfig.Builder>
- Throws:
IOException
-
getBackupScopeCase
public BackupPlan.BackupConfig.BackupScopeCase getBackupScopeCase()
- Specified by:
getBackupScopeCase
in interfaceBackupPlan.BackupConfigOrBuilder
-
clearBackupScope
public BackupPlan.BackupConfig.Builder clearBackupScope()
-
hasAllNamespaces
public boolean hasAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;
- Specified by:
hasAllNamespaces
in 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:
getAllNamespaces
in 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:
hasSelectedNamespaces
in 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:
getSelectedNamespaces
in 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:
getSelectedNamespacesOrBuilder
in 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:
hasSelectedApplications
in 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:
getSelectedApplications
in 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:
getSelectedApplicationsOrBuilder
in 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:
getIncludeVolumeData
in 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:
getIncludeSecrets
in 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:
hasEncryptionKey
in 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:
getEncryptionKey
in 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:
getEncryptionKeyOrBuilder
in interfaceBackupPlan.BackupConfigOrBuilder
-
setUnknownFields
public final BackupPlan.BackupConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
mergeUnknownFields
public final BackupPlan.BackupConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BackupPlan.BackupConfig.Builder>
-
-