Interface FilterRuleSetOrBuilder (0.44.0)

public interface FilterRuleSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilterTypes(int index)

public abstract RuleFilterType getFilterTypes(int index)

Required. List of filters this rule set is applied to.

repeated .google.cloud.modelarmor.v1.RuleFilterType filter_types = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
RuleFilterType

The filterTypes at the given index.

getFilterTypesCount()

public abstract int getFilterTypesCount()

Required. List of filters this rule set is applied to.

repeated .google.cloud.modelarmor.v1.RuleFilterType filter_types = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of filterTypes.

getFilterTypesList()

public abstract List<RuleFilterType> getFilterTypesList()

Required. List of filters this rule set is applied to.

repeated .google.cloud.modelarmor.v1.RuleFilterType filter_types = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<RuleFilterType>

A list containing the filterTypes.

getFilterTypesValue(int index)

public abstract int getFilterTypesValue(int index)

Required. List of filters this rule set is applied to.

repeated .google.cloud.modelarmor.v1.RuleFilterType filter_types = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of filterTypes at the given index.

getFilterTypesValueList()

public abstract List<Integer> getFilterTypesValueList()

Required. List of filters this rule set is applied to.

repeated .google.cloud.modelarmor.v1.RuleFilterType filter_types = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for filterTypes.

getRules(int index)

public abstract FilterRule getRules(int index)

Required. Set of rules to be applied to filterTypes.

repeated .google.cloud.modelarmor.v1.FilterRule rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FilterRule

getRulesCount()

public abstract int getRulesCount()

Required. Set of rules to be applied to filterTypes.

repeated .google.cloud.modelarmor.v1.FilterRule rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRulesList()

public abstract List<FilterRule> getRulesList()

Required. Set of rules to be applied to filterTypes.

repeated .google.cloud.modelarmor.v1.FilterRule rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<FilterRule>

getRulesOrBuilder(int index)

public abstract FilterRuleOrBuilder getRulesOrBuilder(int index)

Required. Set of rules to be applied to filterTypes.

repeated .google.cloud.modelarmor.v1.FilterRule rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FilterRuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends FilterRuleOrBuilder> getRulesOrBuilderList()

Required. Set of rules to be applied to filterTypes.

repeated .google.cloud.modelarmor.v1.FilterRule rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.modelarmor.v1.FilterRuleOrBuilder>