Interface RestoreConfig.TransformationRuleOrBuilder (0.33.0)

public static interface RestoreConfig.TransformationRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

The description is a user specified string description of the transformation rule.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description is a user specified string description of the transformation rule.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getFieldActions(int index)

public abstract 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.TransformationRuleAction

getFieldActionsCount()

public abstract 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];

Returns
TypeDescription
int

getFieldActionsList()

public abstract 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];

Returns
TypeDescription
List<TransformationRuleAction>

getFieldActionsOrBuilder(int index)

public abstract 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.TransformationRuleActionOrBuilder

getFieldActionsOrBuilderList()

public abstract 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];

Returns
TypeDescription
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleActionOrBuilder>

getResourceFilter()

public abstract 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;

Returns
TypeDescription
RestoreConfig.ResourceFilter

The resourceFilter.

getResourceFilterOrBuilder()

public abstract 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;

Returns
TypeDescription
RestoreConfig.ResourceFilterOrBuilder

hasResourceFilter()

public abstract 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;

Returns
TypeDescription
boolean

Whether the resourceFilter field is set.