Class RestoreConfig.TransformationRule.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
      • getDefaultInstanceForType

        public RestoreConfig.TransformationRule getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RestoreConfig.TransformationRule build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RestoreConfig.TransformationRule buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.TransformationRule.Builder>
      • 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 interface RestoreConfig.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 interface RestoreConfig.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 interface RestoreConfig.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 interface RestoreConfig.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 interface RestoreConfig.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 interface RestoreConfig.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 interface RestoreConfig.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 interface RestoreConfig.TransformationRuleOrBuilder
      • 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 interface RestoreConfig.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.