- 0.72.0 (latest)
- 0.71.0
- 0.69.0
- 0.67.0
- 0.66.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule> |
Returns | |
---|---|
Type | Description |
RestoreConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
RestoreConfig.SubstitutionRule |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
RestoreConfig.SubstitutionRule.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RestoreConfig.SubstitutionRule |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RestoreConfig.SubstitutionRule.Builder |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.SubstitutionRule.Builder |
build()
public RestoreConfig build()
Returns | |
---|---|
Type | Description |
RestoreConfig |
buildPartial()
public RestoreConfig buildPartial()
Returns | |
---|---|
Type | Description |
RestoreConfig |
clear()
public RestoreConfig.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
|