- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class RestoreConfig.Builder extends GeneratedMessageV3.Builder<RestoreConfig.Builder> implements RestoreConfigOrBuilder
Configuration of a restore. Next id: 9
Protobuf type google.cloud.gkebackup.v1.RestoreConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreConfig.BuilderImplements
RestoreConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSubstitutionRules(Iterable<? extends RestoreConfig.SubstitutionRule> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule> |
Type | Description |
RestoreConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreConfig.Builder |
addSubstitutionRules(RestoreConfig.SubstitutionRule value)
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;
Name | Description |
value | RestoreConfig.SubstitutionRule |
Type | Description |
RestoreConfig.Builder |
addSubstitutionRules(RestoreConfig.SubstitutionRule.Builder builderForValue)
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;
Name | Description |
builderForValue | RestoreConfig.SubstitutionRule.Builder |
Type | Description |
RestoreConfig.Builder |
addSubstitutionRules(int index, RestoreConfig.SubstitutionRule value)
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;
Name | Description |
index | int |
value | RestoreConfig.SubstitutionRule |
Type | Description |
RestoreConfig.Builder |
addSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | RestoreConfig.SubstitutionRule.Builder |
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.SubstitutionRule.Builder |
addSubstitutionRulesBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
RestoreConfig.SubstitutionRule.Builder |
build()
public RestoreConfig build()
Type | Description |
RestoreConfig |
buildPartial()
public RestoreConfig buildPartial()
Type | Description |
RestoreConfig |
clear()
public RestoreConfig.Builder clear()
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.Builder | 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 is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
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;
Type | Description |
RestoreConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
clearNamespacedResourceRestoreScope()
public RestoreConfig.Builder clearNamespacedResourceRestoreScope()
Type | Description |
RestoreConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
clone()
public RestoreConfig.Builder clone()
Type | Description |
RestoreConfig.Builder |
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;
Type | Description |
boolean | The allNamespaces. |
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 is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
Type | Description |
RestoreConfig.ClusterResourceConflictPolicy | The clusterResourceConflictPolicy. |
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 is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
Type | Description |
int | The enum numeric value on the wire for clusterResourceConflictPolicy. |
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;
Type | Description |
RestoreConfig.ClusterResourceRestoreScope | The clusterResourceRestoreScope. |
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;
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
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;
Type | Description |
RestoreConfig.ClusterResourceRestoreScopeOrBuilder |
getDefaultInstanceForType()
public RestoreConfig getDefaultInstanceForType()
Type | Description |
RestoreConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
RestoreConfig.NamespacedResourceRestoreMode | The namespacedResourceRestoreMode. |
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;
Type | Description |
int | The enum numeric value on the wire for namespacedResourceRestoreMode. |
getNamespacedResourceRestoreScopeCase()
public RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
Type | Description |
RestoreConfig.NamespacedResourceRestoreScopeCase |
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;
Type | Description |
NamespacedNames | The selectedApplications. |
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;
Type | Description |
NamespacedNames.Builder |
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;
Type | Description |
NamespacedNamesOrBuilder |
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;
Type | Description |
Namespaces | The selectedNamespaces. |
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;
Type | Description |
Namespaces.Builder |
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;
Type | Description |
NamespacesOrBuilder |
getSubstitutionRules(int index)
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;
Name | Description |
index | int |
Type | Description |
RestoreConfig.SubstitutionRule |
getSubstitutionRulesBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
RestoreConfig.SubstitutionRule.Builder |
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<SubstitutionRule> |
getSubstitutionRulesOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
RestoreConfig.SubstitutionRuleOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRuleOrBuilder> |
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;
Type | Description |
RestoreConfig.VolumeDataRestorePolicy | The volumeDataRestorePolicy. |
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;
Type | Description |
int | The enum numeric value on the wire for volumeDataRestorePolicy. |
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;
Type | Description |
boolean | Whether the allNamespaces field is set. |
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;
Type | Description |
boolean | Whether the clusterResourceRestoreScope field is set. |
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;
Type | Description |
boolean | Whether the selectedApplications field is set. |
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;
Type | Description |
boolean | Whether the selectedNamespaces field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value)
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;
Name | Description |
value | RestoreConfig.ClusterResourceRestoreScope |
Type | Description |
RestoreConfig.Builder |
mergeFrom(RestoreConfig other)
public RestoreConfig.Builder mergeFrom(RestoreConfig other)
Name | Description |
other | RestoreConfig |
Type | Description |
RestoreConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RestoreConfig.Builder |
mergeSelectedApplications(NamespacedNames value)
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;
Name | Description |
value | NamespacedNames |
Type | Description |
RestoreConfig.Builder |
mergeSelectedNamespaces(Namespaces value)
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;
Name | Description |
value | Namespaces |
Type | Description |
RestoreConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreConfig.Builder |
removeSubstitutionRules(int index)
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;
Name | Description |
index | int |
Type | Description |
RestoreConfig.Builder |
setAllNamespaces(boolean value)
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;
Name | Description |
value | boolean The allNamespaces to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
setClusterResourceConflictPolicy(RestoreConfig.ClusterResourceConflictPolicy value)
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 is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
Name | Description |
value | RestoreConfig.ClusterResourceConflictPolicy The clusterResourceConflictPolicy to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
setClusterResourceConflictPolicyValue(int value)
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 is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
Name | Description |
value | int The enum numeric value on the wire for clusterResourceConflictPolicy to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope value)
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;
Name | Description |
value | RestoreConfig.ClusterResourceRestoreScope |
Type | Description |
RestoreConfig.Builder |
setClusterResourceRestoreScope(RestoreConfig.ClusterResourceRestoreScope.Builder builderForValue)
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;
Name | Description |
builderForValue | RestoreConfig.ClusterResourceRestoreScope.Builder |
Type | Description |
RestoreConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreConfig.Builder |
setNamespacedResourceRestoreMode(RestoreConfig.NamespacedResourceRestoreMode value)
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;
Name | Description |
value | RestoreConfig.NamespacedResourceRestoreMode The namespacedResourceRestoreMode to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
setNamespacedResourceRestoreModeValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for namespacedResourceRestoreMode to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RestoreConfig.Builder |
setSelectedApplications(NamespacedNames value)
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;
Name | Description |
value | NamespacedNames |
Type | Description |
RestoreConfig.Builder |
setSelectedApplications(NamespacedNames.Builder builderForValue)
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;
Name | Description |
builderForValue | NamespacedNames.Builder |
Type | Description |
RestoreConfig.Builder |
setSelectedNamespaces(Namespaces value)
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;
Name | Description |
value | Namespaces |
Type | Description |
RestoreConfig.Builder |
setSelectedNamespaces(Namespaces.Builder builderForValue)
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;
Name | Description |
builderForValue | Namespaces.Builder |
Type | Description |
RestoreConfig.Builder |
setSubstitutionRules(int index, RestoreConfig.SubstitutionRule value)
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;
Name | Description |
index | int |
value | RestoreConfig.SubstitutionRule |
Type | Description |
RestoreConfig.Builder |
setSubstitutionRules(int index, RestoreConfig.SubstitutionRule.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | RestoreConfig.SubstitutionRule.Builder |
Type | Description |
RestoreConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreConfig.Builder |
setVolumeDataRestorePolicy(RestoreConfig.VolumeDataRestorePolicy value)
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;
Name | Description |
value | RestoreConfig.VolumeDataRestorePolicy The volumeDataRestorePolicy to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |
setVolumeDataRestorePolicyValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for volumeDataRestorePolicy to set. |
Type | Description |
RestoreConfig.Builder | This builder for chaining. |