public static final class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder extends GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder> implements BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilderBackupConfigDetails defines the configuration of Backups created via this BackupPlan.
Protobuf type
google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails build()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails |
|
buildPartial()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails |
|
clear()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
clearAllNamespaces()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearAllNamespaces()Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
This builder for chaining. |
clearBackupScope()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearBackupScope()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
clearEncryptionKey()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearEncryptionKey()Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
clearIncludeSecrets()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearIncludeSecrets()Output only. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
Default: False
bool include_secrets = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
This builder for chaining. |
clearIncludeVolumeData()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearIncludeVolumeData()Output only. 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
This builder for chaining. |
clearSelectedApplications()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearSelectedApplications()Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
clearSelectedNamespaces()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearSelectedNamespaces()Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
getAllNamespaces()
public boolean getAllNamespaces()Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The allNamespaces. |
getBackupScopeCase()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.BackupScopeCase getBackupScopeCase()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.BackupScopeCase |
|
getDefaultInstanceForType()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryptionKey()
public EncryptionKey getEncryptionKey()Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionKey |
The encryptionKey. |
getEncryptionKeyBuilder()
public EncryptionKey.Builder getEncryptionKeyBuilder()Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionKey.Builder |
|
getEncryptionKeyOrBuilder()
public EncryptionKeyOrBuilder getEncryptionKeyOrBuilder()Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EncryptionKeyOrBuilder |
|
getIncludeSecrets()
public boolean getIncludeSecrets()Output only. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
Default: False
bool include_secrets = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The includeSecrets. |
getIncludeVolumeData()
public boolean getIncludeVolumeData()Output only. 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The includeVolumeData. |
getSelectedApplications()
public NamespacedNames getSelectedApplications()Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
NamespacedNames |
The selectedApplications. |
getSelectedApplicationsBuilder()
public NamespacedNames.Builder getSelectedApplicationsBuilder()Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
NamespacedNames.Builder |
|
getSelectedApplicationsOrBuilder()
public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
NamespacedNamesOrBuilder |
|
getSelectedNamespaces()
public Namespaces getSelectedNamespaces()Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Namespaces |
The selectedNamespaces. |
getSelectedNamespacesBuilder()
public Namespaces.Builder getSelectedNamespacesBuilder()Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Namespaces.Builder |
|
getSelectedNamespacesOrBuilder()
public NamespacesOrBuilder getSelectedNamespacesOrBuilder()Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
NamespacesOrBuilder |
|
hasAllNamespaces()
public boolean hasAllNamespaces()Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allNamespaces field is set. |
hasEncryptionKey()
public boolean hasEncryptionKey()Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryptionKey field is set. |
hasSelectedApplications()
public boolean hasSelectedApplications()Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selectedApplications field is set. |
hasSelectedNamespaces()
public boolean hasSelectedNamespaces()Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selectedNamespaces field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEncryptionKey(EncryptionKey value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeEncryptionKey(EncryptionKey value)Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionKey |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
mergeFrom(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails other)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeFrom(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
mergeSelectedApplications(NamespacedNames value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeSelectedApplications(NamespacedNames value)Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
NamespacedNames |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
mergeSelectedNamespaces(Namespaces value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeSelectedNamespaces(Namespaces value)Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Namespaces |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
setAllNamespaces(boolean value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setAllNamespaces(boolean value)Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allNamespaces to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
This builder for chaining. |
setEncryptionKey(EncryptionKey value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setEncryptionKey(EncryptionKey value)Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionKey |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
setEncryptionKey(EncryptionKey.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setEncryptionKey(EncryptionKey.Builder builderForValue)Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EncryptionKey.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
setIncludeSecrets(boolean value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setIncludeSecrets(boolean value)Output only. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
Default: False
bool include_secrets = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe includeSecrets to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
This builder for chaining. |
setIncludeVolumeData(boolean value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setIncludeVolumeData(boolean value)Output only. 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe includeVolumeData to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
This builder for chaining. |
setSelectedApplications(NamespacedNames value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedApplications(NamespacedNames value)Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
NamespacedNames |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
setSelectedApplications(NamespacedNames.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedApplications(NamespacedNames.Builder builderForValue)Output only. If set, include just the resources referenced by the listed ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NamespacedNames.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
setSelectedNamespaces(Namespaces value)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedNamespaces(Namespaces value)Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Namespaces |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|
setSelectedNamespaces(Namespaces.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedNamespaces(Namespaces.Builder builderForValue)Output only. If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Namespaces.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
|