Interface RestoreConfigOrBuilder (0.14.1)

public interface RestoreConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllNamespaces()

public abstract boolean getAllNamespaces()

Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

bool all_namespaces = 5;

Returns
TypeDescription
boolean

The allNamespaces.

getClusterResourceConflictPolicy()

public abstract RestoreConfig.ClusterResourceConflictPolicy getClusterResourceConflictPolicy()

Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.

.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;

Returns
TypeDescription
RestoreConfig.ClusterResourceConflictPolicy

The clusterResourceConflictPolicy.

getClusterResourceConflictPolicyValue()

public abstract int getClusterResourceConflictPolicyValue()

Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.

.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for clusterResourceConflictPolicy.

getClusterResourceRestoreScope()

public abstract RestoreConfig.ClusterResourceRestoreScope getClusterResourceRestoreScope()

Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.

.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;

Returns
TypeDescription
RestoreConfig.ClusterResourceRestoreScope

The clusterResourceRestoreScope.

getClusterResourceRestoreScopeOrBuilder()

public abstract RestoreConfig.ClusterResourceRestoreScopeOrBuilder getClusterResourceRestoreScopeOrBuilder()

Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.

.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;

Returns
TypeDescription
RestoreConfig.ClusterResourceRestoreScopeOrBuilder

getNamespacedResourceRestoreMode()

public abstract RestoreConfig.NamespacedResourceRestoreMode getNamespacedResourceRestoreMode()

Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.

.google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode namespaced_resource_restore_mode = 3;

Returns
TypeDescription
RestoreConfig.NamespacedResourceRestoreMode

The namespacedResourceRestoreMode.

getNamespacedResourceRestoreModeValue()

public abstract int getNamespacedResourceRestoreModeValue()

Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.

.google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode namespaced_resource_restore_mode = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for namespacedResourceRestoreMode.

getNamespacedResourceRestoreScopeCase()

public abstract RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
Returns
TypeDescription
RestoreConfig.NamespacedResourceRestoreScopeCase

getSelectedApplications()

public abstract NamespacedNames getSelectedApplications()

A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

.google.events.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;

Returns
TypeDescription
NamespacedNames

The selectedApplications.

getSelectedApplicationsOrBuilder()

public abstract NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()

A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

.google.events.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;

Returns
TypeDescription
NamespacedNamesOrBuilder

getSelectedNamespaces()

public abstract Namespaces getSelectedNamespaces()

A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

.google.events.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;

Returns
TypeDescription
Namespaces

The selectedNamespaces.

getSelectedNamespacesOrBuilder()

public abstract NamespacesOrBuilder getSelectedNamespacesOrBuilder()

A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

.google.events.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;

Returns
TypeDescription
NamespacesOrBuilder

getSubstitutionRules(int index)

public abstract RestoreConfig.SubstitutionRule getSubstitutionRules(int index)

A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

repeated .google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.SubstitutionRule

getSubstitutionRulesCount()

public abstract int getSubstitutionRulesCount()

A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

repeated .google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;

Returns
TypeDescription
int

getSubstitutionRulesList()

public abstract List<RestoreConfig.SubstitutionRule> getSubstitutionRulesList()

A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

repeated .google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;

Returns
TypeDescription
List<SubstitutionRule>

getSubstitutionRulesOrBuilder(int index)

public abstract RestoreConfig.SubstitutionRuleOrBuilder getSubstitutionRulesOrBuilder(int index)

A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

repeated .google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.SubstitutionRuleOrBuilder

getSubstitutionRulesOrBuilderList()

public abstract List<? extends RestoreConfig.SubstitutionRuleOrBuilder> getSubstitutionRulesOrBuilderList()

A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

repeated .google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;

Returns
TypeDescription
List<? extends com.google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRuleOrBuilder>

getVolumeDataRestorePolicy()

public abstract RestoreConfig.VolumeDataRestorePolicy getVolumeDataRestorePolicy()

Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).

.google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;

Returns
TypeDescription
RestoreConfig.VolumeDataRestorePolicy

The volumeDataRestorePolicy.

getVolumeDataRestorePolicyValue()

public abstract int getVolumeDataRestorePolicyValue()

Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).

.google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for volumeDataRestorePolicy.

hasAllNamespaces()

public abstract boolean hasAllNamespaces()

Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

bool all_namespaces = 5;

Returns
TypeDescription
boolean

Whether the allNamespaces field is set.

hasClusterResourceRestoreScope()

public abstract boolean hasClusterResourceRestoreScope()

Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.

.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;

Returns
TypeDescription
boolean

Whether the clusterResourceRestoreScope field is set.

hasSelectedApplications()

public abstract boolean hasSelectedApplications()

A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

.google.events.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;

Returns
TypeDescription
boolean

Whether the selectedApplications field is set.

hasSelectedNamespaces()

public abstract boolean hasSelectedNamespaces()

A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

.google.events.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;

Returns
TypeDescription
boolean

Whether the selectedNamespaces field is set.