- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class BackupPlan.BackupConfig.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupPlan.BackupConfig.BuilderImplements
BackupPlan.BackupConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupPlan.BackupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BackupPlan.BackupConfig.Builder |
build()
public BackupPlan.BackupConfig build()
Type | Description |
BackupPlan.BackupConfig |
buildPartial()
public BackupPlan.BackupConfig buildPartial()
Type | Description |
BackupPlan.BackupConfig |
clear()
public BackupPlan.BackupConfig.Builder clear()
Type | Description |
BackupPlan.BackupConfig.Builder |
clearAllNamespaces()
public BackupPlan.BackupConfig.Builder clearAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;
Type | Description |
BackupPlan.BackupConfig.Builder | This builder for chaining. |
clearBackupScope()
public BackupPlan.BackupConfig.Builder clearBackupScope()
Type | Description |
BackupPlan.BackupConfig.Builder |
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;
Type | Description |
BackupPlan.BackupConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public BackupPlan.BackupConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BackupPlan.BackupConfig.Builder |
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;
Type | Description |
BackupPlan.BackupConfig.Builder | 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;
Type | Description |
BackupPlan.BackupConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupPlan.BackupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BackupPlan.BackupConfig.Builder |
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;
Type | Description |
BackupPlan.BackupConfig.Builder |
clearSelectedNamespaces()
public BackupPlan.BackupConfig.Builder clearSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Type | Description |
BackupPlan.BackupConfig.Builder |
clone()
public BackupPlan.BackupConfig.Builder clone()
Type | Description |
BackupPlan.BackupConfig.Builder |
getAllNamespaces()
public boolean getAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;
Type | Description |
boolean | The allNamespaces. |
getBackupScopeCase()
public BackupPlan.BackupConfig.BackupScopeCase getBackupScopeCase()
Type | Description |
BackupPlan.BackupConfig.BackupScopeCase |
getDefaultInstanceForType()
public BackupPlan.BackupConfig getDefaultInstanceForType()
Type | Description |
BackupPlan.BackupConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
EncryptionKey | The encryptionKey. |
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;
Type | Description |
EncryptionKey.Builder |
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;
Type | Description |
EncryptionKeyOrBuilder |
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;
Type | Description |
boolean | The includeSecrets. |
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;
Type | Description |
boolean | The includeVolumeData. |
getSelectedApplications()
public NamespacedNames getSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
Type | Description |
NamespacedNames | The selectedApplications. |
getSelectedApplicationsBuilder()
public NamespacedNames.Builder getSelectedApplicationsBuilder()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
Type | Description |
NamespacedNames.Builder |
getSelectedApplicationsOrBuilder()
public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
Type | Description |
NamespacedNamesOrBuilder |
getSelectedNamespaces()
public Namespaces getSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Type | Description |
Namespaces | The selectedNamespaces. |
getSelectedNamespacesBuilder()
public Namespaces.Builder getSelectedNamespacesBuilder()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Type | Description |
Namespaces.Builder |
getSelectedNamespacesOrBuilder()
public NamespacesOrBuilder getSelectedNamespacesOrBuilder()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Type | Description |
NamespacesOrBuilder |
hasAllNamespaces()
public boolean hasAllNamespaces()
If True, include all namespaced resources
bool all_namespaces = 1;
Type | Description |
boolean | Whether the allNamespaces field is set. |
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;
Type | Description |
boolean | Whether the encryptionKey field is set. |
hasSelectedApplications()
public boolean hasSelectedApplications()
If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
Type | Description |
boolean | Whether the selectedApplications field is set. |
hasSelectedNamespaces()
public boolean hasSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Type | Description |
boolean | Whether the selectedNamespaces field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEncryptionKey(EncryptionKey value)
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;
Name | Description |
value | EncryptionKey |
Type | Description |
BackupPlan.BackupConfig.Builder |
mergeFrom(BackupPlan.BackupConfig other)
public BackupPlan.BackupConfig.Builder mergeFrom(BackupPlan.BackupConfig other)
Name | Description |
other | BackupPlan.BackupConfig |
Type | Description |
BackupPlan.BackupConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupPlan.BackupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BackupPlan.BackupConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BackupPlan.BackupConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BackupPlan.BackupConfig.Builder |
mergeSelectedApplications(NamespacedNames value)
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;
Name | Description |
value | NamespacedNames |
Type | Description |
BackupPlan.BackupConfig.Builder |
mergeSelectedNamespaces(Namespaces value)
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;
Name | Description |
value | Namespaces |
Type | Description |
BackupPlan.BackupConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlan.BackupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BackupPlan.BackupConfig.Builder |
setAllNamespaces(boolean value)
public BackupPlan.BackupConfig.Builder setAllNamespaces(boolean value)
If True, include all namespaced resources
bool all_namespaces = 1;
Name | Description |
value | boolean The allNamespaces to set. |
Type | Description |
BackupPlan.BackupConfig.Builder | This builder for chaining. |
setEncryptionKey(EncryptionKey value)
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;
Name | Description |
value | EncryptionKey |
Type | Description |
BackupPlan.BackupConfig.Builder |
setEncryptionKey(EncryptionKey.Builder builderForValue)
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;
Name | Description |
builderForValue | EncryptionKey.Builder |
Type | Description |
BackupPlan.BackupConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupPlan.BackupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BackupPlan.BackupConfig.Builder |
setIncludeSecrets(boolean value)
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;
Name | Description |
value | boolean The includeSecrets to set. |
Type | Description |
BackupPlan.BackupConfig.Builder | This builder for chaining. |
setIncludeVolumeData(boolean value)
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;
Name | Description |
value | boolean The includeVolumeData to set. |
Type | Description |
BackupPlan.BackupConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupPlan.BackupConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BackupPlan.BackupConfig.Builder |
setSelectedApplications(NamespacedNames value)
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;
Name | Description |
value | NamespacedNames |
Type | Description |
BackupPlan.BackupConfig.Builder |
setSelectedApplications(NamespacedNames.Builder builderForValue)
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;
Name | Description |
builderForValue | NamespacedNames.Builder |
Type | Description |
BackupPlan.BackupConfig.Builder |
setSelectedNamespaces(Namespaces value)
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;
Name | Description |
value | Namespaces |
Type | Description |
BackupPlan.BackupConfig.Builder |
setSelectedNamespaces(Namespaces.Builder builderForValue)
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;
Name | Description |
builderForValue | Namespaces.Builder |
Type | Description |
BackupPlan.BackupConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupPlan.BackupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BackupPlan.BackupConfig.Builder |