public interface RestoreConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllNamespaces()
Restore all namespaced resources in the Backup if set to "True".
|
RestoreConfig.ClusterResourceConflictPolicy |
getClusterResourceConflictPolicy()
Defines the behavior for handling the situation where cluster-scoped
resources being restored already exist in the target cluster.
|
int |
getClusterResourceConflictPolicyValue()
Defines the behavior for handling the situation where cluster-scoped
resources being restored already exist in the target cluster.
|
RestoreConfig.ClusterResourceRestoreScope |
getClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup.
|
RestoreConfig.ClusterResourceRestoreScopeOrBuilder |
getClusterResourceRestoreScopeOrBuilder()
Identifies the cluster-scoped resources to restore from the Backup.
|
Namespaces |
getExcludedNamespaces()
A list of selected namespaces excluded from restoration.
|
NamespacesOrBuilder |
getExcludedNamespacesOrBuilder()
A list of selected namespaces excluded from restoration.
|
RestoreConfig.NamespacedResourceRestoreMode |
getNamespacedResourceRestoreMode()
Defines the behavior for handling the situation where sets of namespaced
resources being restored already exist in the target cluster.
|
int |
getNamespacedResourceRestoreModeValue()
Defines the behavior for handling the situation where sets of namespaced
resources being restored already exist in the target cluster.
|
RestoreConfig.NamespacedResourceRestoreScopeCase |
getNamespacedResourceRestoreScopeCase() |
boolean |
getNoNamespaces()
Do not restore any namespaced resources if set to "True".
|
NamespacedNames |
getSelectedApplications()
A list of selected ProtectedApplications to restore.
|
NamespacedNamesOrBuilder |
getSelectedApplicationsOrBuilder()
A list of selected ProtectedApplications to restore.
|
Namespaces |
getSelectedNamespaces()
A list of selected Namespaces to restore from the Backup.
|
NamespacesOrBuilder |
getSelectedNamespacesOrBuilder()
A list of selected Namespaces to restore from the Backup.
|
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.
|
int |
getSubstitutionRulesCount()
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
List<RestoreConfig.SubstitutionRule> |
getSubstitutionRulesList()
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
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.
|
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.
|
RestoreConfig.TransformationRule |
getTransformationRules(int index)
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
int |
getTransformationRulesCount()
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
List<RestoreConfig.TransformationRule> |
getTransformationRulesList()
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
RestoreConfig.TransformationRuleOrBuilder |
getTransformationRulesOrBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
List<? extends RestoreConfig.TransformationRuleOrBuilder> |
getTransformationRulesOrBuilderList()
A list of transformation rules to be applied against Kubernetes resources
as they are selected for restoration from a Backup.
|
RestoreConfig.VolumeDataRestorePolicy |
getVolumeDataRestorePolicy()
Specifies the mechanism to be used to restore volume data.
|
int |
getVolumeDataRestorePolicyValue()
Specifies the mechanism to be used to restore volume data.
|
boolean |
hasAllNamespaces()
Restore all namespaced resources in the Backup if set to "True".
|
boolean |
hasClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup.
|
boolean |
hasExcludedNamespaces()
A list of selected namespaces excluded from restoration.
|
boolean |
hasNoNamespaces()
Do not restore any namespaced resources if set to "True".
|
boolean |
hasSelectedApplications()
A list of selected ProtectedApplications to restore.
|
boolean |
hasSelectedNamespaces()
A list of selected Namespaces to restore from the Backup.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint 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.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;
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.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;
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][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope] is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
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][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope] is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
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.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode namespaced_resource_restore_mode = 3;
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.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode namespaced_resource_restore_mode = 3;
boolean hasClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;
RestoreConfig.ClusterResourceRestoreScope getClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;
RestoreConfig.ClusterResourceRestoreScopeOrBuilder getClusterResourceRestoreScopeOrBuilder()
Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;
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;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;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.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;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.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;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.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;boolean hasSelectedApplications()
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;NamespacedNames getSelectedApplications()
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;boolean hasNoNamespaces()
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;boolean getNoNamespaces()
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;boolean hasExcludedNamespaces()
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
.google.cloud.gkebackup.v1.Namespaces excluded_namespaces = 10;Namespaces getExcludedNamespaces()
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
.google.cloud.gkebackup.v1.Namespaces excluded_namespaces = 10;NamespacesOrBuilder getExcludedNamespacesOrBuilder()
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
.google.cloud.gkebackup.v1.Namespaces excluded_namespaces = 10;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.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
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.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
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.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
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.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
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.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
List<RestoreConfig.TransformationRule> getTransformationRulesList()
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 transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
RestoreConfig.TransformationRule getTransformationRules(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 transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
int getTransformationRulesCount()
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 transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
List<? extends RestoreConfig.TransformationRuleOrBuilder> getTransformationRulesOrBuilderList()
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 transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
RestoreConfig.TransformationRuleOrBuilder getTransformationRulesOrBuilder(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 transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
Copyright © 2023 Google LLC. All rights reserved.