Package com.google.cloud.gkebackup.v1
Class RestoreConfig.TransformationRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
- com.google.cloud.gkebackup.v1.RestoreConfig.TransformationRule.Builder
-
- All Implemented Interfaces:
RestoreConfig.TransformationRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RestoreConfig.TransformationRule
public static final class RestoreConfig.TransformationRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder> implements RestoreConfig.TransformationRuleOrBuilder
A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to transform) and transformation logic.
Protobuf typegoogle.cloud.gkebackup.v1.RestoreConfig.TransformationRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreConfig.TransformationRule.BuilderaddAllFieldActions(Iterable<? extends RestoreConfig.TransformationRuleAction> values)Required.RestoreConfig.TransformationRule.BuilderaddFieldActions(int index, RestoreConfig.TransformationRuleAction value)Required.RestoreConfig.TransformationRule.BuilderaddFieldActions(int index, RestoreConfig.TransformationRuleAction.Builder builderForValue)Required.RestoreConfig.TransformationRule.BuilderaddFieldActions(RestoreConfig.TransformationRuleAction value)Required.RestoreConfig.TransformationRule.BuilderaddFieldActions(RestoreConfig.TransformationRuleAction.Builder builderForValue)Required.RestoreConfig.TransformationRuleAction.BuilderaddFieldActionsBuilder()Required.RestoreConfig.TransformationRuleAction.BuilderaddFieldActionsBuilder(int index)Required.RestoreConfig.TransformationRule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RestoreConfig.TransformationRulebuild()RestoreConfig.TransformationRulebuildPartial()RestoreConfig.TransformationRule.Builderclear()RestoreConfig.TransformationRule.BuilderclearDescription()The description is a user specified string description of the transformation rule.RestoreConfig.TransformationRule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RestoreConfig.TransformationRule.BuilderclearFieldActions()Required.RestoreConfig.TransformationRule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RestoreConfig.TransformationRule.BuilderclearResourceFilter()This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.RestoreConfig.TransformationRule.Builderclone()RestoreConfig.TransformationRulegetDefaultInstanceForType()StringgetDescription()The description is a user specified string description of the transformation rule.com.google.protobuf.ByteStringgetDescriptionBytes()The description is a user specified string description of the transformation rule.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RestoreConfig.TransformationRuleActiongetFieldActions(int index)Required.RestoreConfig.TransformationRuleAction.BuildergetFieldActionsBuilder(int index)Required.List<RestoreConfig.TransformationRuleAction.Builder>getFieldActionsBuilderList()Required.intgetFieldActionsCount()Required.List<RestoreConfig.TransformationRuleAction>getFieldActionsList()Required.RestoreConfig.TransformationRuleActionOrBuildergetFieldActionsOrBuilder(int index)Required.List<? extends RestoreConfig.TransformationRuleActionOrBuilder>getFieldActionsOrBuilderList()Required.RestoreConfig.ResourceFiltergetResourceFilter()This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.RestoreConfig.ResourceFilter.BuildergetResourceFilterBuilder()This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.RestoreConfig.ResourceFilterOrBuildergetResourceFilterOrBuilder()This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.booleanhasResourceFilter()This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RestoreConfig.TransformationRule.BuildermergeFrom(RestoreConfig.TransformationRule other)RestoreConfig.TransformationRule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RestoreConfig.TransformationRule.BuildermergeFrom(com.google.protobuf.Message other)RestoreConfig.TransformationRule.BuildermergeResourceFilter(RestoreConfig.ResourceFilter value)This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.RestoreConfig.TransformationRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RestoreConfig.TransformationRule.BuilderremoveFieldActions(int index)Required.RestoreConfig.TransformationRule.BuildersetDescription(String value)The description is a user specified string description of the transformation rule.RestoreConfig.TransformationRule.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The description is a user specified string description of the transformation rule.RestoreConfig.TransformationRule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RestoreConfig.TransformationRule.BuildersetFieldActions(int index, RestoreConfig.TransformationRuleAction value)Required.RestoreConfig.TransformationRule.BuildersetFieldActions(int index, RestoreConfig.TransformationRuleAction.Builder builderForValue)Required.RestoreConfig.TransformationRule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RestoreConfig.TransformationRule.BuildersetResourceFilter(RestoreConfig.ResourceFilter value)This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.RestoreConfig.TransformationRule.BuildersetResourceFilter(RestoreConfig.ResourceFilter.Builder builderForValue)This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.RestoreConfig.TransformationRule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
clear
public RestoreConfig.TransformationRule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
getDefaultInstanceForType
public RestoreConfig.TransformationRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RestoreConfig.TransformationRule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RestoreConfig.TransformationRule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RestoreConfig.TransformationRule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
setField
public RestoreConfig.TransformationRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
clearField
public RestoreConfig.TransformationRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
clearOneof
public RestoreConfig.TransformationRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
setRepeatedField
public RestoreConfig.TransformationRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
addRepeatedField
public RestoreConfig.TransformationRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
mergeFrom
public RestoreConfig.TransformationRule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.TransformationRule.Builder>
-
mergeFrom
public RestoreConfig.TransformationRule.Builder mergeFrom(RestoreConfig.TransformationRule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
mergeFrom
public RestoreConfig.TransformationRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.TransformationRule.Builder>- Throws:
IOException
-
getFieldActionsList
public List<RestoreConfig.TransformationRuleAction> getFieldActionsList()
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldActionsListin interfaceRestoreConfig.TransformationRuleOrBuilder
-
getFieldActionsCount
public int getFieldActionsCount()
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldActionsCountin interfaceRestoreConfig.TransformationRuleOrBuilder
-
getFieldActions
public RestoreConfig.TransformationRuleAction getFieldActions(int index)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldActionsin interfaceRestoreConfig.TransformationRuleOrBuilder
-
setFieldActions
public RestoreConfig.TransformationRule.Builder setFieldActions(int index, RestoreConfig.TransformationRuleAction value)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
setFieldActions
public RestoreConfig.TransformationRule.Builder setFieldActions(int index, RestoreConfig.TransformationRuleAction.Builder builderForValue)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
addFieldActions
public RestoreConfig.TransformationRule.Builder addFieldActions(RestoreConfig.TransformationRuleAction value)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
addFieldActions
public RestoreConfig.TransformationRule.Builder addFieldActions(int index, RestoreConfig.TransformationRuleAction value)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
addFieldActions
public RestoreConfig.TransformationRule.Builder addFieldActions(RestoreConfig.TransformationRuleAction.Builder builderForValue)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
addFieldActions
public RestoreConfig.TransformationRule.Builder addFieldActions(int index, RestoreConfig.TransformationRuleAction.Builder builderForValue)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
addAllFieldActions
public RestoreConfig.TransformationRule.Builder addAllFieldActions(Iterable<? extends RestoreConfig.TransformationRuleAction> values)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearFieldActions
public RestoreConfig.TransformationRule.Builder clearFieldActions()
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
removeFieldActions
public RestoreConfig.TransformationRule.Builder removeFieldActions(int index)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
getFieldActionsBuilder
public RestoreConfig.TransformationRuleAction.Builder getFieldActionsBuilder(int index)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
getFieldActionsOrBuilder
public RestoreConfig.TransformationRuleActionOrBuilder getFieldActionsOrBuilder(int index)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldActionsOrBuilderin interfaceRestoreConfig.TransformationRuleOrBuilder
-
getFieldActionsOrBuilderList
public List<? extends RestoreConfig.TransformationRuleActionOrBuilder> getFieldActionsOrBuilderList()
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFieldActionsOrBuilderListin interfaceRestoreConfig.TransformationRuleOrBuilder
-
addFieldActionsBuilder
public RestoreConfig.TransformationRuleAction.Builder addFieldActionsBuilder()
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
addFieldActionsBuilder
public RestoreConfig.TransformationRuleAction.Builder addFieldActionsBuilder(int index)
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
getFieldActionsBuilderList
public List<RestoreConfig.TransformationRuleAction.Builder> getFieldActionsBuilderList()
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasResourceFilter
public boolean hasResourceFilter()
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;- Specified by:
hasResourceFilterin interfaceRestoreConfig.TransformationRuleOrBuilder- Returns:
- Whether the resourceFilter field is set.
-
getResourceFilter
public RestoreConfig.ResourceFilter getResourceFilter()
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;- Specified by:
getResourceFilterin interfaceRestoreConfig.TransformationRuleOrBuilder- Returns:
- The resourceFilter.
-
setResourceFilter
public RestoreConfig.TransformationRule.Builder setResourceFilter(RestoreConfig.ResourceFilter value)
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;
-
setResourceFilter
public RestoreConfig.TransformationRule.Builder setResourceFilter(RestoreConfig.ResourceFilter.Builder builderForValue)
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;
-
mergeResourceFilter
public RestoreConfig.TransformationRule.Builder mergeResourceFilter(RestoreConfig.ResourceFilter value)
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;
-
clearResourceFilter
public RestoreConfig.TransformationRule.Builder clearResourceFilter()
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;
-
getResourceFilterBuilder
public RestoreConfig.ResourceFilter.Builder getResourceFilterBuilder()
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;
-
getResourceFilterOrBuilder
public RestoreConfig.ResourceFilterOrBuilder getResourceFilterOrBuilder()
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter resource_filter = 2;- Specified by:
getResourceFilterOrBuilderin interfaceRestoreConfig.TransformationRuleOrBuilder
-
getDescription
public String getDescription()
The description is a user specified string description of the transformation rule.
string description = 3;- Specified by:
getDescriptionin interfaceRestoreConfig.TransformationRuleOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description is a user specified string description of the transformation rule.
string description = 3;- Specified by:
getDescriptionBytesin interfaceRestoreConfig.TransformationRuleOrBuilder- Returns:
- The bytes for description.
-
setDescription
public RestoreConfig.TransformationRule.Builder setDescription(String value)
The description is a user specified string description of the transformation rule.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public RestoreConfig.TransformationRule.Builder clearDescription()
The description is a user specified string description of the transformation rule.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public RestoreConfig.TransformationRule.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description is a user specified string description of the transformation rule.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RestoreConfig.TransformationRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
mergeUnknownFields
public final RestoreConfig.TransformationRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
-