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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RestoreConfig.Builder> implements RestoreConfigOrBuilder
Configuration of a restore. Next id: 12
Protobuf typegoogle.cloud.gkebackup.v1.RestoreConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreConfig.Builder
addAllSubstitutionRules(Iterable<? extends RestoreConfig.SubstitutionRule> values)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addAllTransformationRules(Iterable<? extends RestoreConfig.TransformationRule> values)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RestoreConfig.Builder
addSubstitutionRules(int index, RestoreConfig.SubstitutionRule value)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addSubstitutionRules(RestoreConfig.SubstitutionRule value)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addSubstitutionRules(RestoreConfig.SubstitutionRule.Builder builderForValue)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.SubstitutionRule.Builder
addSubstitutionRulesBuilder()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.SubstitutionRule.Builder
addSubstitutionRulesBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addTransformationRules(int index, RestoreConfig.TransformationRule value)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addTransformationRules(RestoreConfig.TransformationRule value)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
addTransformationRules(RestoreConfig.TransformationRule.Builder builderForValue)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.TransformationRule.Builder
addTransformationRulesBuilder()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.TransformationRule.Builder
addTransformationRulesBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig
build()
RestoreConfig
buildPartial()
RestoreConfig.Builder
clear()
RestoreConfig.Builder
clearAllNamespaces()
Restore all namespaced resources in the Backup if set to "True".RestoreConfig.Builder
clearClusterResourceConflictPolicy()
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.RestoreConfig.Builder
clearClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.Builder
clearExcludedNamespaces()
A list of selected namespaces excluded from restoration.RestoreConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RestoreConfig.Builder
clearNamespacedResourceRestoreMode()
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.RestoreConfig.Builder
clearNamespacedResourceRestoreScope()
RestoreConfig.Builder
clearNoNamespaces()
Do not restore any namespaced resources if set to "True".RestoreConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RestoreConfig.Builder
clearSelectedApplications()
A list of selected ProtectedApplications to restore.RestoreConfig.Builder
clearSelectedNamespaces()
A list of selected Namespaces to restore from the Backup.RestoreConfig.Builder
clearSubstitutionRules()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
clearTransformationRules()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
clearVolumeDataRestorePolicy()
Specifies the mechanism to be used to restore volume data.RestoreConfig.Builder
clone()
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.ClusterResourceRestoreScope.Builder
getClusterResourceRestoreScopeBuilder()
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.ClusterResourceRestoreScopeOrBuilder
getClusterResourceRestoreScopeOrBuilder()
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Namespaces
getExcludedNamespaces()
A list of selected namespaces excluded from restoration.Namespaces.Builder
getExcludedNamespacesBuilder()
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.NamespacedNames.Builder
getSelectedApplicationsBuilder()
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.Namespaces.Builder
getSelectedNamespacesBuilder()
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.RestoreConfig.SubstitutionRule.Builder
getSubstitutionRulesBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.List<RestoreConfig.SubstitutionRule.Builder>
getSubstitutionRulesBuilderList()
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.RestoreConfig.TransformationRule.Builder
getTransformationRulesBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.List<RestoreConfig.TransformationRule.Builder>
getTransformationRulesBuilderList()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RestoreConfig.Builder
mergeClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value)
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.Builder
mergeExcludedNamespaces(Namespaces value)
A list of selected namespaces excluded from restoration.RestoreConfig.Builder
mergeFrom(RestoreConfig other)
RestoreConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RestoreConfig.Builder
mergeFrom(com.google.protobuf.Message other)
RestoreConfig.Builder
mergeSelectedApplications(NamespacedNames value)
A list of selected ProtectedApplications to restore.RestoreConfig.Builder
mergeSelectedNamespaces(Namespaces value)
A list of selected Namespaces to restore from the Backup.RestoreConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RestoreConfig.Builder
removeSubstitutionRules(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
removeTransformationRules(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
setAllNamespaces(boolean value)
Restore all namespaced resources in the Backup if set to "True".RestoreConfig.Builder
setClusterResourceConflictPolicy(RestoreConfig.ClusterResourceConflictPolicy value)
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.RestoreConfig.Builder
setClusterResourceConflictPolicyValue(int value)
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.RestoreConfig.Builder
setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value)
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.Builder
setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope.Builder builderForValue)
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.Builder
setExcludedNamespaces(Namespaces value)
A list of selected namespaces excluded from restoration.RestoreConfig.Builder
setExcludedNamespaces(Namespaces.Builder builderForValue)
A list of selected namespaces excluded from restoration.RestoreConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RestoreConfig.Builder
setNamespacedResourceRestoreMode(RestoreConfig.NamespacedResourceRestoreMode value)
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.RestoreConfig.Builder
setNamespacedResourceRestoreModeValue(int value)
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.RestoreConfig.Builder
setNoNamespaces(boolean value)
Do not restore any namespaced resources if set to "True".RestoreConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RestoreConfig.Builder
setSelectedApplications(NamespacedNames value)
A list of selected ProtectedApplications to restore.RestoreConfig.Builder
setSelectedApplications(NamespacedNames.Builder builderForValue)
A list of selected ProtectedApplications to restore.RestoreConfig.Builder
setSelectedNamespaces(Namespaces value)
A list of selected Namespaces to restore from the Backup.RestoreConfig.Builder
setSelectedNamespaces(Namespaces.Builder builderForValue)
A list of selected Namespaces to restore from the Backup.RestoreConfig.Builder
setSubstitutionRules(int index, RestoreConfig.SubstitutionRule value)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
setSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
setTransformationRules(int index, RestoreConfig.TransformationRule value)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
setTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RestoreConfig.Builder
setVolumeDataRestorePolicy(RestoreConfig.VolumeDataRestorePolicy value)
Specifies the mechanism to be used to restore volume data.RestoreConfig.Builder
setVolumeDataRestorePolicyValue(int value)
Specifies the mechanism to be used to restore volume data.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
clear
public RestoreConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
getDefaultInstanceForType
public RestoreConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RestoreConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RestoreConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RestoreConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
setField
public RestoreConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
clearField
public RestoreConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
clearOneof
public RestoreConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
setRepeatedField
public RestoreConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
addRepeatedField
public RestoreConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
mergeFrom
public RestoreConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.Builder>
-
mergeFrom
public RestoreConfig.Builder mergeFrom(RestoreConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
mergeFrom
public RestoreConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.Builder>
- Throws:
IOException
-
getNamespacedResourceRestoreScopeCase
public RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
- Specified by:
getNamespacedResourceRestoreScopeCase
in interfaceRestoreConfigOrBuilder
-
clearNamespacedResourceRestoreScope
public RestoreConfig.Builder clearNamespacedResourceRestoreScope()
-
getVolumeDataRestorePolicyValue
public int getVolumeDataRestorePolicyValue()
Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;
- Specified by:
getVolumeDataRestorePolicyValue
in interfaceRestoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for volumeDataRestorePolicy.
-
setVolumeDataRestorePolicyValue
public RestoreConfig.Builder setVolumeDataRestorePolicyValue(int value)
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;
- Parameters:
value
- The enum numeric value on the wire for volumeDataRestorePolicy to set.- Returns:
- This builder for chaining.
-
getVolumeDataRestorePolicy
public 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;
- Specified by:
getVolumeDataRestorePolicy
in interfaceRestoreConfigOrBuilder
- Returns:
- The volumeDataRestorePolicy.
-
setVolumeDataRestorePolicy
public RestoreConfig.Builder setVolumeDataRestorePolicy(RestoreConfig.VolumeDataRestorePolicy value)
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;
- Parameters:
value
- The volumeDataRestorePolicy to set.- Returns:
- This builder for chaining.
-
clearVolumeDataRestorePolicy
public RestoreConfig.Builder clearVolumeDataRestorePolicy()
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;
- Returns:
- This builder for chaining.
-
getClusterResourceConflictPolicyValue
public 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;
- Specified by:
getClusterResourceConflictPolicyValue
in interfaceRestoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for clusterResourceConflictPolicy.
-
setClusterResourceConflictPolicyValue
public RestoreConfig.Builder setClusterResourceConflictPolicyValue(int value)
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;
- Parameters:
value
- The enum numeric value on the wire for clusterResourceConflictPolicy to set.- Returns:
- This builder for chaining.
-
getClusterResourceConflictPolicy
public 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;
- Specified by:
getClusterResourceConflictPolicy
in interfaceRestoreConfigOrBuilder
- Returns:
- The clusterResourceConflictPolicy.
-
setClusterResourceConflictPolicy
public RestoreConfig.Builder setClusterResourceConflictPolicy(RestoreConfig.ClusterResourceConflictPolicy value)
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;
- Parameters:
value
- The clusterResourceConflictPolicy to set.- Returns:
- This builder for chaining.
-
clearClusterResourceConflictPolicy
public RestoreConfig.Builder clearClusterResourceConflictPolicy()
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;
- Returns:
- This builder for chaining.
-
getNamespacedResourceRestoreModeValue
public 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;
- Specified by:
getNamespacedResourceRestoreModeValue
in interfaceRestoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for namespacedResourceRestoreMode.
-
setNamespacedResourceRestoreModeValue
public RestoreConfig.Builder setNamespacedResourceRestoreModeValue(int value)
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;
- Parameters:
value
- The enum numeric value on the wire for namespacedResourceRestoreMode to set.- Returns:
- This builder for chaining.
-
getNamespacedResourceRestoreMode
public 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;
- Specified by:
getNamespacedResourceRestoreMode
in interfaceRestoreConfigOrBuilder
- Returns:
- The namespacedResourceRestoreMode.
-
setNamespacedResourceRestoreMode
public RestoreConfig.Builder setNamespacedResourceRestoreMode(RestoreConfig.NamespacedResourceRestoreMode value)
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;
- Parameters:
value
- The namespacedResourceRestoreMode to set.- Returns:
- This builder for chaining.
-
clearNamespacedResourceRestoreMode
public RestoreConfig.Builder clearNamespacedResourceRestoreMode()
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;
- Returns:
- This builder for chaining.
-
hasClusterResourceRestoreScope
public 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;
- Specified by:
hasClusterResourceRestoreScope
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the clusterResourceRestoreScope field is set.
-
getClusterResourceRestoreScope
public 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;
- Specified by:
getClusterResourceRestoreScope
in interfaceRestoreConfigOrBuilder
- Returns:
- The clusterResourceRestoreScope.
-
setClusterResourceRestoreScope
public RestoreConfig.Builder setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value)
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;
-
setClusterResourceRestoreScope
public RestoreConfig.Builder setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope.Builder builderForValue)
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;
-
mergeClusterResourceRestoreScope
public RestoreConfig.Builder mergeClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value)
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;
-
clearClusterResourceRestoreScope
public RestoreConfig.Builder clearClusterResourceRestoreScope()
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;
-
getClusterResourceRestoreScopeBuilder
public RestoreConfig.ClusterResourceRestoreScope.Builder getClusterResourceRestoreScopeBuilder()
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;
-
getClusterResourceRestoreScopeOrBuilder
public 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;
- Specified by:
getClusterResourceRestoreScopeOrBuilder
in 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:
hasAllNamespaces
in 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:
getAllNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The allNamespaces.
-
setAllNamespaces
public RestoreConfig.Builder setAllNamespaces(boolean value)
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
public RestoreConfig.Builder 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:
hasSelectedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the selectedNamespaces field is set.
-
getSelectedNamespaces
public 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;
- Specified by:
getSelectedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The selectedNamespaces.
-
setSelectedNamespaces
public RestoreConfig.Builder setSelectedNamespaces(Namespaces value)
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
public RestoreConfig.Builder setSelectedNamespaces(Namespaces.Builder builderForValue)
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
public RestoreConfig.Builder mergeSelectedNamespaces(Namespaces value)
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
public RestoreConfig.Builder 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
public Namespaces.Builder 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
public 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;
- Specified by:
getSelectedNamespacesOrBuilder
in 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:
hasSelectedApplications
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the selectedApplications field is set.
-
getSelectedApplications
public 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;
- Specified by:
getSelectedApplications
in interfaceRestoreConfigOrBuilder
- Returns:
- The selectedApplications.
-
setSelectedApplications
public RestoreConfig.Builder setSelectedApplications(NamespacedNames value)
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
public RestoreConfig.Builder setSelectedApplications(NamespacedNames.Builder builderForValue)
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
public RestoreConfig.Builder mergeSelectedApplications(NamespacedNames value)
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
public RestoreConfig.Builder 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
public NamespacedNames.Builder 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
public 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;
- Specified by:
getSelectedApplicationsOrBuilder
in 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:
hasNoNamespaces
in 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:
getNoNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The noNamespaces.
-
setNoNamespaces
public RestoreConfig.Builder setNoNamespaces(boolean value)
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
public RestoreConfig.Builder 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:
hasExcludedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the excludedNamespaces field is set.
-
getExcludedNamespaces
public 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;
- Specified by:
getExcludedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The excludedNamespaces.
-
setExcludedNamespaces
public RestoreConfig.Builder setExcludedNamespaces(Namespaces value)
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
public RestoreConfig.Builder setExcludedNamespaces(Namespaces.Builder builderForValue)
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
public RestoreConfig.Builder mergeExcludedNamespaces(Namespaces value)
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
public RestoreConfig.Builder 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
public Namespaces.Builder 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
public 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;
- Specified by:
getExcludedNamespacesOrBuilder
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesList
public 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;
- Specified by:
getSubstitutionRulesList
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesCount
public 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;
- Specified by:
getSubstitutionRulesCount
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRules
public 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;
- Specified by:
getSubstitutionRules
in interfaceRestoreConfigOrBuilder
-
setSubstitutionRules
public RestoreConfig.Builder setSubstitutionRules(int index, RestoreConfig.SubstitutionRule value)
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;
-
setSubstitutionRules
public RestoreConfig.Builder setSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue)
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;
-
addSubstitutionRules
public RestoreConfig.Builder addSubstitutionRules(RestoreConfig.SubstitutionRule value)
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;
-
addSubstitutionRules
public RestoreConfig.Builder addSubstitutionRules(int index, RestoreConfig.SubstitutionRule value)
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;
-
addSubstitutionRules
public RestoreConfig.Builder addSubstitutionRules(RestoreConfig.SubstitutionRule.Builder builderForValue)
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;
-
addSubstitutionRules
public RestoreConfig.Builder addSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue)
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;
-
addAllSubstitutionRules
public RestoreConfig.Builder addAllSubstitutionRules(Iterable<? extends RestoreConfig.SubstitutionRule> values)
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;
-
clearSubstitutionRules
public RestoreConfig.Builder clearSubstitutionRules()
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;
-
removeSubstitutionRules
public RestoreConfig.Builder removeSubstitutionRules(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;
-
getSubstitutionRulesBuilder
public RestoreConfig.SubstitutionRule.Builder getSubstitutionRulesBuilder(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;
-
getSubstitutionRulesOrBuilder
public 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;
- Specified by:
getSubstitutionRulesOrBuilder
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesOrBuilderList
public 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;
- Specified by:
getSubstitutionRulesOrBuilderList
in interfaceRestoreConfigOrBuilder
-
addSubstitutionRulesBuilder
public RestoreConfig.SubstitutionRule.Builder addSubstitutionRulesBuilder()
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;
-
addSubstitutionRulesBuilder
public RestoreConfig.SubstitutionRule.Builder addSubstitutionRulesBuilder(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;
-
getSubstitutionRulesBuilderList
public List<RestoreConfig.SubstitutionRule.Builder> getSubstitutionRulesBuilderList()
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;
-
getTransformationRulesList
public 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;
- Specified by:
getTransformationRulesList
in interfaceRestoreConfigOrBuilder
-
getTransformationRulesCount
public 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;
- Specified by:
getTransformationRulesCount
in interfaceRestoreConfigOrBuilder
-
getTransformationRules
public 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;
- Specified by:
getTransformationRules
in interfaceRestoreConfigOrBuilder
-
setTransformationRules
public RestoreConfig.Builder setTransformationRules(int index, RestoreConfig.TransformationRule value)
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;
-
setTransformationRules
public RestoreConfig.Builder setTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue)
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;
-
addTransformationRules
public RestoreConfig.Builder addTransformationRules(RestoreConfig.TransformationRule value)
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;
-
addTransformationRules
public RestoreConfig.Builder addTransformationRules(int index, RestoreConfig.TransformationRule value)
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;
-
addTransformationRules
public RestoreConfig.Builder addTransformationRules(RestoreConfig.TransformationRule.Builder builderForValue)
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;
-
addTransformationRules
public RestoreConfig.Builder addTransformationRules(int index, RestoreConfig.TransformationRule.Builder builderForValue)
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;
-
addAllTransformationRules
public RestoreConfig.Builder addAllTransformationRules(Iterable<? extends RestoreConfig.TransformationRule> values)
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;
-
clearTransformationRules
public RestoreConfig.Builder clearTransformationRules()
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;
-
removeTransformationRules
public RestoreConfig.Builder removeTransformationRules(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;
-
getTransformationRulesBuilder
public RestoreConfig.TransformationRule.Builder getTransformationRulesBuilder(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;
-
getTransformationRulesOrBuilder
public 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;
- Specified by:
getTransformationRulesOrBuilder
in interfaceRestoreConfigOrBuilder
-
getTransformationRulesOrBuilderList
public 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;
- Specified by:
getTransformationRulesOrBuilderList
in interfaceRestoreConfigOrBuilder
-
addTransformationRulesBuilder
public RestoreConfig.TransformationRule.Builder addTransformationRulesBuilder()
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;
-
addTransformationRulesBuilder
public RestoreConfig.TransformationRule.Builder addTransformationRulesBuilder(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;
-
getTransformationRulesBuilderList
public List<RestoreConfig.TransformationRule.Builder> getTransformationRulesBuilderList()
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;
-
setUnknownFields
public final RestoreConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
mergeUnknownFields
public final RestoreConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.Builder>
-
-