Interface RuleSetOrBuilder (0.20.0)

public interface RuleSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Short description of the rule-set.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Short description of the rule-set.

string description = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Rule

getRulesCount()

public abstract int getRulesCount()

List of rules given by the customer.

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

Returns
TypeDescription
int

getRulesList()

public abstract List<Rule> getRulesList()

List of rules given by the customer.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends RuleOrBuilder> getRulesOrBuilderList()

List of rules given by the customer.

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

Returns
TypeDescription
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
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

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

string source = 2;

Returns
TypeDescription
ByteString

The bytes for source.