Interface RuleSetOrBuilder (0.39.0)

public interface RuleSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Short description of the rule-set.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Short description of the rule-set.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getName()

public abstract String getName()

The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}.

The name is ignored when creating a rule set.

string name = 6;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}.

The name is ignored when creating a rule set.

string name = 6;

Returns
Type Description
ByteString

The bytes for name.

getRules(int index)

public abstract Rule getRules(int index)

List of rules given by the customer.

repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;

Parameter
Name Description
index int
Returns
Type Description
Rule

getRulesCount()

public abstract int getRulesCount()

List of rules given by the customer.

repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;

Returns
Type Description
int

getRulesList()

public abstract List<Rule> getRulesList()

List of rules given by the customer.

repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;

Returns
Type Description
List<Rule>

getRulesOrBuilder(int index)

public abstract RuleOrBuilder getRulesOrBuilder(int index)

List of rules given by the customer.

repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;

Parameter
Name Description
index int
Returns
Type Description
RuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends RuleOrBuilder> getRulesOrBuilderList()

List of rules given by the customer.

repeated .google.cloud.contentwarehouse.v1.Rule rules = 3;

Returns
Type Description
List<? extends com.google.cloud.contentwarehouse.v1.RuleOrBuilder>

getSource()

public abstract String getSource()

Source of the rules i.e., customer name.

string source = 2;

Returns
Type Description
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Source of the rules i.e., customer name.

string source = 2;

Returns
Type Description
ByteString

The bytes for source.