Class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder (0.62.0)

public static final class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder extends GeneratedMessageV3.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder> implements BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder

BackupConfigDetails defines the configuration of Backups created via this BackupPlan.

Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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

clone()

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder clone()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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 boolean

The 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

setField(Descriptors.FieldDescriptor field, Object value)

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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 boolean

The 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 boolean

The includeVolumeData to set.

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides