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.Builder
addAllFieldActions(Iterable<? extends RestoreConfig.TransformationRuleAction> values)
Required.RestoreConfig.TransformationRule.Builder
addFieldActions(int index, RestoreConfig.TransformationRuleAction value)
Required.RestoreConfig.TransformationRule.Builder
addFieldActions(int index, RestoreConfig.TransformationRuleAction.Builder builderForValue)
Required.RestoreConfig.TransformationRule.Builder
addFieldActions(RestoreConfig.TransformationRuleAction value)
Required.RestoreConfig.TransformationRule.Builder
addFieldActions(RestoreConfig.TransformationRuleAction.Builder builderForValue)
Required.RestoreConfig.TransformationRuleAction.Builder
addFieldActionsBuilder()
Required.RestoreConfig.TransformationRuleAction.Builder
addFieldActionsBuilder(int index)
Required.RestoreConfig.TransformationRule.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RestoreConfig.TransformationRule
build()
RestoreConfig.TransformationRule
buildPartial()
RestoreConfig.TransformationRule.Builder
clear()
RestoreConfig.TransformationRule.Builder
clearDescription()
The description is a user specified string description of the transformation rule.RestoreConfig.TransformationRule.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RestoreConfig.TransformationRule.Builder
clearFieldActions()
Required.RestoreConfig.TransformationRule.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
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.RestoreConfig.TransformationRule.Builder
clone()
RestoreConfig.TransformationRule
getDefaultInstanceForType()
String
getDescription()
The description is a user specified string description of the transformation rule.com.google.protobuf.ByteString
getDescriptionBytes()
The description is a user specified string description of the transformation rule.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RestoreConfig.TransformationRuleAction
getFieldActions(int index)
Required.RestoreConfig.TransformationRuleAction.Builder
getFieldActionsBuilder(int index)
Required.List<RestoreConfig.TransformationRuleAction.Builder>
getFieldActionsBuilderList()
Required.int
getFieldActionsCount()
Required.List<RestoreConfig.TransformationRuleAction>
getFieldActionsList()
Required.RestoreConfig.TransformationRuleActionOrBuilder
getFieldActionsOrBuilder(int index)
Required.List<? extends RestoreConfig.TransformationRuleActionOrBuilder>
getFieldActionsOrBuilderList()
Required.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.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.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RestoreConfig.TransformationRule.Builder
mergeFrom(RestoreConfig.TransformationRule other)
RestoreConfig.TransformationRule.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RestoreConfig.TransformationRule.Builder
mergeFrom(com.google.protobuf.Message other)
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.RestoreConfig.TransformationRule.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RestoreConfig.TransformationRule.Builder
removeFieldActions(int index)
Required.RestoreConfig.TransformationRule.Builder
setDescription(String value)
The description is a user specified string description of the transformation rule.RestoreConfig.TransformationRule.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The description is a user specified string description of the transformation rule.RestoreConfig.TransformationRule.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RestoreConfig.TransformationRule.Builder
setFieldActions(int index, RestoreConfig.TransformationRuleAction value)
Required.RestoreConfig.TransformationRule.Builder
setFieldActions(int index, RestoreConfig.TransformationRuleAction.Builder builderForValue)
Required.RestoreConfig.TransformationRule.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.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.RestoreConfig.TransformationRule.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
clear
public RestoreConfig.TransformationRule.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.TransformationRule.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.TransformationRule.Builder>
-
getDefaultInstanceForType
public RestoreConfig.TransformationRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RestoreConfig.TransformationRule build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RestoreConfig.TransformationRule buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
setField
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
clearField
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
clearOneof
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
setRepeatedField
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
addRepeatedField
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
mergeFrom
public RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
mergeFrom
public RestoreConfig.TransformationRule.Builder mergeFrom(RestoreConfig.TransformationRule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.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:
getFieldActionsList
in 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:
getFieldActionsCount
in 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:
getFieldActions
in 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:
getFieldActionsOrBuilder
in 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:
getFieldActionsOrBuilderList
in 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:
hasResourceFilter
in 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:
getResourceFilter
in 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:
getResourceFilterOrBuilder
in interfaceRestoreConfig.TransformationRuleOrBuilder
-
getDescription
public String getDescription()
The description is a user specified string description of the transformation rule.
string description = 3;
- Specified by:
getDescription
in 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:
getDescriptionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
-
mergeUnknownFields
public final RestoreConfig.TransformationRule.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.TransformationRule.Builder>
-
-