All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.gkebackup.v1.RestoreConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.54.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/gkebackup/v1/restore.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.gkebackup.v1;

public interface RestoreConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.gkebackup.v1.RestoreConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for volumeDataRestorePolicy. */ int getVolumeDataRestorePolicyValue(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The volumeDataRestorePolicy. */ com.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy getVolumeDataRestorePolicy(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for clusterResourceConflictPolicy. */ int getClusterResourceConflictPolicyValue(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The clusterResourceConflictPolicy. */ com.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy getClusterResourceConflictPolicy(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The enum numeric value on the wire for namespacedResourceRestoreMode. */ int getNamespacedResourceRestoreModeValue(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The namespacedResourceRestoreMode. */ com.google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode getNamespacedResourceRestoreMode(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the clusterResourceRestoreScope field is set. */ boolean hasClusterResourceRestoreScope(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The clusterResourceRestoreScope. */ com.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope getClusterResourceRestoreScope(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScopeOrBuilder getClusterResourceRestoreScopeOrBuilder(); /** * * *
   * Restore all namespaced resources in the Backup if set to "True".
   * Specifying this field to "False" is an error.
   * 
* * bool all_namespaces = 5; * * @return Whether the allNamespaces field is set. */ 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; * * @return The allNamespaces. */ boolean getAllNamespaces(); /** * * *
   * 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; * * @return Whether the selectedNamespaces field is set. */ 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; * * @return The selectedNamespaces. */ com.google.cloud.gkebackup.v1.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; */ com.google.cloud.gkebackup.v1.NamespacesOrBuilder getSelectedNamespacesOrBuilder(); /** * * *
   * 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; * * @return Whether the selectedApplications field is set. */ 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; * * @return The selectedApplications. */ com.google.cloud.gkebackup.v1.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; */ com.google.cloud.gkebackup.v1.NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder(); /** * * *
   * Do not restore any namespaced resources if set to "True".
   * Specifying this field to "False" is not allowed.
   * 
* * bool no_namespaces = 9; * * @return Whether the noNamespaces field is set. */ boolean hasNoNamespaces(); /** * * *
   * Do not restore any namespaced resources if set to "True".
   * Specifying this field to "False" is not allowed.
   * 
* * bool no_namespaces = 9; * * @return The noNamespaces. */ boolean getNoNamespaces(); /** * * *
   * 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; * * @return Whether the excludedNamespaces field is set. */ 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; * * @return The excludedNamespaces. */ com.google.cloud.gkebackup.v1.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; */ com.google.cloud.gkebackup.v1.NamespacesOrBuilder getExcludedNamespacesOrBuilder(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getSubstitutionRulesList(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule getSubstitutionRules(int index); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ int getSubstitutionRulesCount(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getSubstitutionRulesOrBuilderList(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRuleOrBuilder getSubstitutionRulesOrBuilder(int index); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getTransformationRulesList(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.TransformationRule getTransformationRules(int index); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ int getTransformationRulesCount(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getTransformationRulesOrBuilderList(); /** * * *
   * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleOrBuilder getTransformationRulesOrBuilder(int index); /** * * *
   * Optional. A table that binds volumes by their scope to a restore policy.
   * Bindings must have a unique scope. Any volumes not scoped in the bindings
   * are subject to the policy defined in volume_data_restore_policy.
   * 
* * * repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List getVolumeDataRestorePolicyBindingsList(); /** * * *
   * Optional. A table that binds volumes by their scope to a restore policy.
   * Bindings must have a unique scope. Any volumes not scoped in the bindings
   * are subject to the policy defined in volume_data_restore_policy.
   * 
* * * repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding getVolumeDataRestorePolicyBindings(int index); /** * * *
   * Optional. A table that binds volumes by their scope to a restore policy.
   * Bindings must have a unique scope. Any volumes not scoped in the bindings
   * are subject to the policy defined in volume_data_restore_policy.
   * 
* * * repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ int getVolumeDataRestorePolicyBindingsCount(); /** * * *
   * Optional. A table that binds volumes by their scope to a restore policy.
   * Bindings must have a unique scope. Any volumes not scoped in the bindings
   * are subject to the policy defined in volume_data_restore_policy.
   * 
* * * repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ java.util.List< ? extends com.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder> getVolumeDataRestorePolicyBindingsOrBuilderList(); /** * * *
   * Optional. A table that binds volumes by their scope to a restore policy.
   * Bindings must have a unique scope. Any volumes not scoped in the bindings
   * are subject to the policy defined in volume_data_restore_policy.
   * 
* * * repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder getVolumeDataRestorePolicyBindingsOrBuilder(int index); /** * * *
   * Optional. RestoreOrder contains custom ordering to use on a Restore.
   * 
* * * .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the restoreOrder field is set. */ boolean hasRestoreOrder(); /** * * *
   * Optional. RestoreOrder contains custom ordering to use on a Restore.
   * 
* * * .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The restoreOrder. */ com.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder getRestoreOrder(); /** * * *
   * Optional. RestoreOrder contains custom ordering to use on a Restore.
   * 
* * * .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrderOrBuilder getRestoreOrderOrBuilder(); com.google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy