Package com.google.cloud.gkebackup.v1
Class RestoreConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.Builder>
com.google.cloud.gkebackup.v1.RestoreConfig.Builder
- All Implemented Interfaces:
RestoreConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RestoreConfig
public static final class RestoreConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.Builder>
implements RestoreConfigOrBuilder
Configuration of a restore.Protobuf type
google.cloud.gkebackup.v1.RestoreConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllSubstitutionRules(Iterable<? extends RestoreConfig.SubstitutionRule> values) Optional.addAllTransformationRules(Iterable<? extends RestoreConfig.TransformationRule> values) Optional.addAllVolumeDataRestorePolicyBindings(Iterable<? extends RestoreConfig.VolumeDataRestorePolicyBinding> values) Optional.addSubstitutionRules(int index, RestoreConfig.SubstitutionRule value) Optional.addSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue) Optional.Optional.addSubstitutionRules(RestoreConfig.SubstitutionRule.Builder builderForValue) Optional.Optional.addSubstitutionRulesBuilder(int index) Optional.addTransformationRules(int index, RestoreConfig.TransformationRule value) Optional.addTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue) Optional.Optional.addTransformationRules(RestoreConfig.TransformationRule.Builder builderForValue) Optional.Optional.addTransformationRulesBuilder(int index) Optional.Optional.addVolumeDataRestorePolicyBindings(int index, RestoreConfig.VolumeDataRestorePolicyBinding.Builder builderForValue) Optional.Optional.addVolumeDataRestorePolicyBindings(RestoreConfig.VolumeDataRestorePolicyBinding.Builder builderForValue) Optional.Optional.addVolumeDataRestorePolicyBindingsBuilder(int index) Optional.build()clear()Restore all namespaced resources in the Backup if set to "True".Optional.Optional.A list of selected namespaces excluded from restoration.Optional.Do not restore any namespaced resources if set to "True".Optional.A list of selected ProtectedApplications to restore.A list of selected Namespaces to restore from the Backup.Optional.Optional.Optional.Optional.booleanRestore all namespaced resources in the Backup if set to "True".Optional.intOptional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA list of selected namespaces excluded from restoration.A list of selected namespaces excluded from restoration.A list of selected namespaces excluded from restoration.Optional.intOptional.booleanDo not restore any namespaced resources if set to "True".Optional.Optional.Optional.A list of selected ProtectedApplications to restore.A list of selected ProtectedApplications to restore.A list of selected ProtectedApplications to restore.A list of selected Namespaces to restore from the Backup.A list of selected Namespaces to restore from the Backup.A list of selected Namespaces to restore from the Backup.getSubstitutionRules(int index) Optional.getSubstitutionRulesBuilder(int index) Optional.Optional.intOptional.Optional.getSubstitutionRulesOrBuilder(int index) Optional.List<? extends RestoreConfig.SubstitutionRuleOrBuilder>Optional.getTransformationRules(int index) Optional.getTransformationRulesBuilder(int index) Optional.Optional.intOptional.Optional.getTransformationRulesOrBuilder(int index) Optional.List<? extends RestoreConfig.TransformationRuleOrBuilder>Optional.Optional.getVolumeDataRestorePolicyBindings(int index) Optional.getVolumeDataRestorePolicyBindingsBuilder(int index) Optional.Optional.intOptional.Optional.getVolumeDataRestorePolicyBindingsOrBuilder(int index) Optional.Optional.intOptional.booleanRestore all namespaced resources in the Backup if set to "True".booleanOptional.booleanA list of selected namespaces excluded from restoration.booleanDo not restore any namespaced resources if set to "True".booleanOptional.booleanA list of selected ProtectedApplications to restore.booleanA list of selected Namespaces to restore from the Backup.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.A list of selected namespaces excluded from restoration.mergeFrom(RestoreConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.A list of selected ProtectedApplications to restore.A list of selected Namespaces to restore from the Backup.removeSubstitutionRules(int index) Optional.removeTransformationRules(int index) Optional.removeVolumeDataRestorePolicyBindings(int index) Optional.setAllNamespaces(boolean value) Restore all namespaced resources in the Backup if set to "True".Optional.setClusterResourceConflictPolicyValue(int value) Optional.Optional.Optional.setExcludedNamespaces(Namespaces value) A list of selected namespaces excluded from restoration.setExcludedNamespaces(Namespaces.Builder builderForValue) A list of selected namespaces excluded from restoration.Optional.setNamespacedResourceRestoreModeValue(int value) Optional.setNoNamespaces(boolean value) Do not restore any namespaced resources if set to "True".Optional.setRestoreOrder(RestoreConfig.RestoreOrder.Builder builderForValue) Optional.A list of selected ProtectedApplications to restore.setSelectedApplications(NamespacedNames.Builder builderForValue) A list of selected ProtectedApplications to restore.setSelectedNamespaces(Namespaces value) A list of selected Namespaces to restore from the Backup.setSelectedNamespaces(Namespaces.Builder builderForValue) A list of selected Namespaces to restore from the Backup.setSubstitutionRules(int index, RestoreConfig.SubstitutionRule value) Optional.setSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue) Optional.setTransformationRules(int index, RestoreConfig.TransformationRule value) Optional.setTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue) Optional.Optional.Optional.setVolumeDataRestorePolicyBindings(int index, RestoreConfig.VolumeDataRestorePolicyBinding.Builder builderForValue) Optional.setVolumeDataRestorePolicyValue(int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.Builder>
-
mergeFrom
public RestoreConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.Builder>- Throws:
IOException
-
getNamespacedResourceRestoreScopeCase
- Specified by:
getNamespacedResourceRestoreScopeCasein interfaceRestoreConfigOrBuilder
-
clearNamespacedResourceRestoreScope
-
getVolumeDataRestorePolicyValue
public 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];- Specified by:
getVolumeDataRestorePolicyValuein interfaceRestoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for volumeDataRestorePolicy.
-
setVolumeDataRestorePolicyValue
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];- Parameters:
value- The enum numeric value on the wire for volumeDataRestorePolicy to set.- Returns:
- This builder for chaining.
-
getVolumeDataRestorePolicy
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];- Specified by:
getVolumeDataRestorePolicyin interfaceRestoreConfigOrBuilder- Returns:
- The volumeDataRestorePolicy.
-
setVolumeDataRestorePolicy
public RestoreConfig.Builder setVolumeDataRestorePolicy(RestoreConfig.VolumeDataRestorePolicy value) 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];- Parameters:
value- The volumeDataRestorePolicy to set.- Returns:
- This builder for chaining.
-
clearVolumeDataRestorePolicy
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];- Returns:
- This builder for chaining.
-
getClusterResourceConflictPolicyValue
public 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];- Specified by:
getClusterResourceConflictPolicyValuein interfaceRestoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for clusterResourceConflictPolicy.
-
setClusterResourceConflictPolicyValue
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];- Parameters:
value- The enum numeric value on the wire for clusterResourceConflictPolicy to set.- Returns:
- This builder for chaining.
-
getClusterResourceConflictPolicy
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];- Specified by:
getClusterResourceConflictPolicyin interfaceRestoreConfigOrBuilder- Returns:
- The clusterResourceConflictPolicy.
-
setClusterResourceConflictPolicy
public RestoreConfig.Builder setClusterResourceConflictPolicy(RestoreConfig.ClusterResourceConflictPolicy value) 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];- Parameters:
value- The clusterResourceConflictPolicy to set.- Returns:
- This builder for chaining.
-
clearClusterResourceConflictPolicy
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];- Returns:
- This builder for chaining.
-
getNamespacedResourceRestoreModeValue
public 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];- Specified by:
getNamespacedResourceRestoreModeValuein interfaceRestoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for namespacedResourceRestoreMode.
-
setNamespacedResourceRestoreModeValue
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];- Parameters:
value- The enum numeric value on the wire for namespacedResourceRestoreMode to set.- Returns:
- This builder for chaining.
-
getNamespacedResourceRestoreMode
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];- Specified by:
getNamespacedResourceRestoreModein interfaceRestoreConfigOrBuilder- Returns:
- The namespacedResourceRestoreMode.
-
setNamespacedResourceRestoreMode
public RestoreConfig.Builder setNamespacedResourceRestoreMode(RestoreConfig.NamespacedResourceRestoreMode value) 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];- Parameters:
value- The namespacedResourceRestoreMode to set.- Returns:
- This builder for chaining.
-
clearNamespacedResourceRestoreMode
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];- Returns:
- This builder for chaining.
-
hasClusterResourceRestoreScope
public 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];- Specified by:
hasClusterResourceRestoreScopein interfaceRestoreConfigOrBuilder- Returns:
- Whether the clusterResourceRestoreScope field is set.
-
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];- Specified by:
getClusterResourceRestoreScopein interfaceRestoreConfigOrBuilder- Returns:
- The clusterResourceRestoreScope.
-
setClusterResourceRestoreScope
public RestoreConfig.Builder setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value) 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]; -
setClusterResourceRestoreScope
public RestoreConfig.Builder setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope.Builder builderForValue) 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]; -
mergeClusterResourceRestoreScope
public RestoreConfig.Builder mergeClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value) 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]; -
clearClusterResourceRestoreScope
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]; -
getClusterResourceRestoreScopeBuilder
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]; -
getClusterResourceRestoreScopeOrBuilder
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];- Specified by:
getClusterResourceRestoreScopeOrBuilderin interfaceRestoreConfigOrBuilder
-
hasAllNamespaces
public 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;- Specified by:
hasAllNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- Whether the allNamespaces field is set.
-
getAllNamespaces
public 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;- Specified by:
getAllNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- The allNamespaces.
-
setAllNamespaces
Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
bool all_namespaces = 5;- Parameters:
value- The allNamespaces to set.- Returns:
- This builder for chaining.
-
clearAllNamespaces
Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
bool all_namespaces = 5;- Returns:
- This builder for chaining.
-
hasSelectedNamespaces
public 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;- Specified by:
hasSelectedNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- Whether the selectedNamespaces field is set.
-
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;- Specified by:
getSelectedNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- The selectedNamespaces.
-
setSelectedNamespaces
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; -
setSelectedNamespaces
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; -
mergeSelectedNamespaces
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; -
clearSelectedNamespaces
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; -
getSelectedNamespacesBuilder
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; -
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;- Specified by:
getSelectedNamespacesOrBuilderin interfaceRestoreConfigOrBuilder
-
hasSelectedApplications
public 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;- Specified by:
hasSelectedApplicationsin interfaceRestoreConfigOrBuilder- Returns:
- Whether the selectedApplications field is set.
-
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;- Specified by:
getSelectedApplicationsin interfaceRestoreConfigOrBuilder- Returns:
- The selectedApplications.
-
setSelectedApplications
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; -
setSelectedApplications
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; -
mergeSelectedApplications
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; -
clearSelectedApplications
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; -
getSelectedApplicationsBuilder
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; -
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;- Specified by:
getSelectedApplicationsOrBuilderin interfaceRestoreConfigOrBuilder
-
hasNoNamespaces
public boolean hasNoNamespaces()Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;- Specified by:
hasNoNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- Whether the noNamespaces field is set.
-
getNoNamespaces
public boolean getNoNamespaces()Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;- Specified by:
getNoNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- The noNamespaces.
-
setNoNamespaces
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;- Parameters:
value- The noNamespaces to set.- Returns:
- This builder for chaining.
-
clearNoNamespaces
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;- Returns:
- This builder for chaining.
-
hasExcludedNamespaces
public 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;- Specified by:
hasExcludedNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- Whether the excludedNamespaces field is set.
-
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;- Specified by:
getExcludedNamespacesin interfaceRestoreConfigOrBuilder- Returns:
- The excludedNamespaces.
-
setExcludedNamespaces
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; -
setExcludedNamespaces
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; -
mergeExcludedNamespaces
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; -
clearExcludedNamespaces
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; -
getExcludedNamespacesBuilder
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; -
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;- Specified by:
getExcludedNamespacesOrBuilderin interfaceRestoreConfigOrBuilder
-
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];- Specified by:
getSubstitutionRulesListin interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesCount
public 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];- Specified by:
getSubstitutionRulesCountin interfaceRestoreConfigOrBuilder
-
getSubstitutionRules
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];- Specified by:
getSubstitutionRulesin interfaceRestoreConfigOrBuilder
-
setSubstitutionRules
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]; -
setSubstitutionRules
public RestoreConfig.Builder setSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue) 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]; -
addSubstitutionRules
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]; -
addSubstitutionRules
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]; -
addSubstitutionRules
public RestoreConfig.Builder addSubstitutionRules(RestoreConfig.SubstitutionRule.Builder builderForValue) 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]; -
addSubstitutionRules
public RestoreConfig.Builder addSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue) 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]; -
addAllSubstitutionRules
public RestoreConfig.Builder addAllSubstitutionRules(Iterable<? extends RestoreConfig.SubstitutionRule> values) 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]; -
clearSubstitutionRules
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]; -
removeSubstitutionRules
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]; -
getSubstitutionRulesBuilder
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]; -
getSubstitutionRulesOrBuilder
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];- Specified by:
getSubstitutionRulesOrBuilderin interfaceRestoreConfigOrBuilder
-
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];- Specified by:
getSubstitutionRulesOrBuilderListin interfaceRestoreConfigOrBuilder
-
addSubstitutionRulesBuilder
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]; -
addSubstitutionRulesBuilder
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]; -
getSubstitutionRulesBuilderList
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]; -
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];- Specified by:
getTransformationRulesListin interfaceRestoreConfigOrBuilder
-
getTransformationRulesCount
public 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];- Specified by:
getTransformationRulesCountin interfaceRestoreConfigOrBuilder
-
getTransformationRules
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];- Specified by:
getTransformationRulesin interfaceRestoreConfigOrBuilder
-
setTransformationRules
public RestoreConfig.Builder setTransformationRules(int index, RestoreConfig.TransformationRule value) 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]; -
setTransformationRules
public RestoreConfig.Builder setTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue) 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]; -
addTransformationRules
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]; -
addTransformationRules
public RestoreConfig.Builder addTransformationRules(int index, RestoreConfig.TransformationRule value) 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]; -
addTransformationRules
public RestoreConfig.Builder addTransformationRules(RestoreConfig.TransformationRule.Builder builderForValue) 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]; -
addTransformationRules
public RestoreConfig.Builder addTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue) 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]; -
addAllTransformationRules
public RestoreConfig.Builder addAllTransformationRules(Iterable<? extends RestoreConfig.TransformationRule> values) 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]; -
clearTransformationRules
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]; -
removeTransformationRules
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]; -
getTransformationRulesBuilder
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]; -
getTransformationRulesOrBuilder
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];- Specified by:
getTransformationRulesOrBuilderin interfaceRestoreConfigOrBuilder
-
getTransformationRulesOrBuilderList
public List<? extends RestoreConfig.TransformationRuleOrBuilder> 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];- Specified by:
getTransformationRulesOrBuilderListin interfaceRestoreConfigOrBuilder
-
addTransformationRulesBuilder
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]; -
addTransformationRulesBuilder
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]; -
getTransformationRulesBuilderList
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]; -
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];- Specified by:
getVolumeDataRestorePolicyBindingsListin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindingsCount
public 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];- Specified by:
getVolumeDataRestorePolicyBindingsCountin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindings
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];- Specified by:
getVolumeDataRestorePolicyBindingsin interfaceRestoreConfigOrBuilder
-
setVolumeDataRestorePolicyBindings
public RestoreConfig.Builder setVolumeDataRestorePolicyBindings(int index, RestoreConfig.VolumeDataRestorePolicyBinding value) 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]; -
setVolumeDataRestorePolicyBindings
public RestoreConfig.Builder setVolumeDataRestorePolicyBindings(int index, RestoreConfig.VolumeDataRestorePolicyBinding.Builder builderForValue) 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]; -
addVolumeDataRestorePolicyBindings
public RestoreConfig.Builder addVolumeDataRestorePolicyBindings(RestoreConfig.VolumeDataRestorePolicyBinding value) 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]; -
addVolumeDataRestorePolicyBindings
public RestoreConfig.Builder addVolumeDataRestorePolicyBindings(int index, RestoreConfig.VolumeDataRestorePolicyBinding value) 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]; -
addVolumeDataRestorePolicyBindings
public RestoreConfig.Builder addVolumeDataRestorePolicyBindings(RestoreConfig.VolumeDataRestorePolicyBinding.Builder builderForValue) 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]; -
addVolumeDataRestorePolicyBindings
public RestoreConfig.Builder addVolumeDataRestorePolicyBindings(int index, RestoreConfig.VolumeDataRestorePolicyBinding.Builder builderForValue) 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]; -
addAllVolumeDataRestorePolicyBindings
public RestoreConfig.Builder addAllVolumeDataRestorePolicyBindings(Iterable<? extends RestoreConfig.VolumeDataRestorePolicyBinding> values) 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]; -
clearVolumeDataRestorePolicyBindings
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]; -
removeVolumeDataRestorePolicyBindings
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]; -
getVolumeDataRestorePolicyBindingsBuilder
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder getVolumeDataRestorePolicyBindingsBuilder(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]; -
getVolumeDataRestorePolicyBindingsOrBuilder
public RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder getVolumeDataRestorePolicyBindingsOrBuilder(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];- Specified by:
getVolumeDataRestorePolicyBindingsOrBuilderin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindingsOrBuilderList
public List<? extends 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];- Specified by:
getVolumeDataRestorePolicyBindingsOrBuilderListin interfaceRestoreConfigOrBuilder
-
addVolumeDataRestorePolicyBindingsBuilder
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder addVolumeDataRestorePolicyBindingsBuilder()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]; -
addVolumeDataRestorePolicyBindingsBuilder
public RestoreConfig.VolumeDataRestorePolicyBinding.Builder addVolumeDataRestorePolicyBindingsBuilder(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]; -
getVolumeDataRestorePolicyBindingsBuilderList
public List<RestoreConfig.VolumeDataRestorePolicyBinding.Builder> getVolumeDataRestorePolicyBindingsBuilderList()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]; -
hasRestoreOrder
public 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];- Specified by:
hasRestoreOrderin interfaceRestoreConfigOrBuilder- Returns:
- Whether the restoreOrder field is set.
-
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];- Specified by:
getRestoreOrderin interfaceRestoreConfigOrBuilder- Returns:
- The restoreOrder.
-
setRestoreOrder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setRestoreOrder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRestoreOrder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearRestoreOrder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getRestoreOrderBuilder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getRestoreOrderOrBuilder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestoreOrderOrBuilderin interfaceRestoreConfigOrBuilder
-