Class RuleEvaluatorOutput.Builder (0.47.0)

public static final class RuleEvaluatorOutput.Builder extends GeneratedMessageV3.Builder<RuleEvaluatorOutput.Builder> implements RuleEvaluatorOutputOrBuilder

Represents the output of the Rule Evaluator.

Protobuf type google.cloud.contentwarehouse.v1.RuleEvaluatorOutput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInvalidRules(Iterable<? extends InvalidRule> values)

public RuleEvaluatorOutput.Builder addAllInvalidRules(Iterable<? extends InvalidRule> values)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.InvalidRule>
Returns
Type Description
RuleEvaluatorOutput.Builder

addAllMatchedRules(Iterable<? extends Rule> values)

public RuleEvaluatorOutput.Builder addAllMatchedRules(Iterable<? extends Rule> values)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.Rule>
Returns
Type Description
RuleEvaluatorOutput.Builder

addAllTriggeredRules(Iterable<? extends Rule> values)

public RuleEvaluatorOutput.Builder addAllTriggeredRules(Iterable<? extends Rule> values)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.Rule>
Returns
Type Description
RuleEvaluatorOutput.Builder

addInvalidRules(InvalidRule value)

public RuleEvaluatorOutput.Builder addInvalidRules(InvalidRule value)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
value InvalidRule
Returns
Type Description
RuleEvaluatorOutput.Builder

addInvalidRules(InvalidRule.Builder builderForValue)

public RuleEvaluatorOutput.Builder addInvalidRules(InvalidRule.Builder builderForValue)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
builderForValue InvalidRule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

addInvalidRules(int index, InvalidRule value)

public RuleEvaluatorOutput.Builder addInvalidRules(int index, InvalidRule value)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameters
Name Description
index int
value InvalidRule
Returns
Type Description
RuleEvaluatorOutput.Builder

addInvalidRules(int index, InvalidRule.Builder builderForValue)

public RuleEvaluatorOutput.Builder addInvalidRules(int index, InvalidRule.Builder builderForValue)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameters
Name Description
index int
builderForValue InvalidRule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

addInvalidRulesBuilder()

public InvalidRule.Builder addInvalidRulesBuilder()

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Returns
Type Description
InvalidRule.Builder

addInvalidRulesBuilder(int index)

public InvalidRule.Builder addInvalidRulesBuilder(int index)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
InvalidRule.Builder

addMatchedRules(Rule value)

public RuleEvaluatorOutput.Builder addMatchedRules(Rule value)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
value Rule
Returns
Type Description
RuleEvaluatorOutput.Builder

addMatchedRules(Rule.Builder builderForValue)

public RuleEvaluatorOutput.Builder addMatchedRules(Rule.Builder builderForValue)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
builderForValue Rule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

addMatchedRules(int index, Rule value)

public RuleEvaluatorOutput.Builder addMatchedRules(int index, Rule value)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameters
Name Description
index int
value Rule
Returns
Type Description
RuleEvaluatorOutput.Builder

addMatchedRules(int index, Rule.Builder builderForValue)

public RuleEvaluatorOutput.Builder addMatchedRules(int index, Rule.Builder builderForValue)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameters
Name Description
index int
builderForValue Rule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

addMatchedRulesBuilder()

public Rule.Builder addMatchedRulesBuilder()

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Returns
Type Description
Rule.Builder

addMatchedRulesBuilder(int index)

public Rule.Builder addMatchedRulesBuilder(int index)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
Rule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuleEvaluatorOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

addTriggeredRules(Rule value)

public RuleEvaluatorOutput.Builder addTriggeredRules(Rule value)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
value Rule
Returns
Type Description
RuleEvaluatorOutput.Builder

addTriggeredRules(Rule.Builder builderForValue)

public RuleEvaluatorOutput.Builder addTriggeredRules(Rule.Builder builderForValue)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
builderForValue Rule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

addTriggeredRules(int index, Rule value)

public RuleEvaluatorOutput.Builder addTriggeredRules(int index, Rule value)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameters
Name Description
index int
value Rule
Returns
Type Description
RuleEvaluatorOutput.Builder

addTriggeredRules(int index, Rule.Builder builderForValue)

public RuleEvaluatorOutput.Builder addTriggeredRules(int index, Rule.Builder builderForValue)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameters
Name Description
index int
builderForValue Rule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

addTriggeredRulesBuilder()

public Rule.Builder addTriggeredRulesBuilder()

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Returns
Type Description
Rule.Builder

addTriggeredRulesBuilder(int index)

public Rule.Builder addTriggeredRulesBuilder(int index)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
Rule.Builder

build()

public RuleEvaluatorOutput build()
Returns
Type Description
RuleEvaluatorOutput

buildPartial()

public RuleEvaluatorOutput buildPartial()
Returns
Type Description
RuleEvaluatorOutput

clear()

public RuleEvaluatorOutput.Builder clear()
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuleEvaluatorOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

clearInvalidRules()

public RuleEvaluatorOutput.Builder clearInvalidRules()

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Returns
Type Description
RuleEvaluatorOutput.Builder

clearMatchedRules()

public RuleEvaluatorOutput.Builder clearMatchedRules()

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Returns
Type Description
RuleEvaluatorOutput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RuleEvaluatorOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

clearTriggeredRules()

public RuleEvaluatorOutput.Builder clearTriggeredRules()

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Returns
Type Description
RuleEvaluatorOutput.Builder

clone()

public RuleEvaluatorOutput.Builder clone()
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

getDefaultInstanceForType()

public RuleEvaluatorOutput getDefaultInstanceForType()
Returns
Type Description
RuleEvaluatorOutput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInvalidRules(int index)

public InvalidRule getInvalidRules(int index)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
InvalidRule

getInvalidRulesBuilder(int index)

public InvalidRule.Builder getInvalidRulesBuilder(int index)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
InvalidRule.Builder

getInvalidRulesBuilderList()

public List<InvalidRule.Builder> getInvalidRulesBuilderList()

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Returns
Type Description
List<Builder>

getInvalidRulesCount()

public int getInvalidRulesCount()

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Returns
Type Description
int

getInvalidRulesList()

public List<InvalidRule> getInvalidRulesList()

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Returns
Type Description
List<InvalidRule>

getInvalidRulesOrBuilder(int index)

public InvalidRuleOrBuilder getInvalidRulesOrBuilder(int index)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
InvalidRuleOrBuilder

getInvalidRulesOrBuilderList()

public List<? extends InvalidRuleOrBuilder> getInvalidRulesOrBuilderList()

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

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

getMatchedRules(int index)

public Rule getMatchedRules(int index)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
Rule

getMatchedRulesBuilder(int index)

public Rule.Builder getMatchedRulesBuilder(int index)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
Rule.Builder

getMatchedRulesBuilderList()

public List<Rule.Builder> getMatchedRulesBuilderList()

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Returns
Type Description
List<Builder>

getMatchedRulesCount()

public int getMatchedRulesCount()

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Returns
Type Description
int

getMatchedRulesList()

public List<Rule> getMatchedRulesList()

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Returns
Type Description
List<Rule>

getMatchedRulesOrBuilder(int index)

public RuleOrBuilder getMatchedRulesOrBuilder(int index)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
RuleOrBuilder

getMatchedRulesOrBuilderList()

public List<? extends RuleOrBuilder> getMatchedRulesOrBuilderList()

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

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

getTriggeredRules(int index)

public Rule getTriggeredRules(int index)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
Rule

getTriggeredRulesBuilder(int index)

public Rule.Builder getTriggeredRulesBuilder(int index)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
Rule.Builder

getTriggeredRulesBuilderList()

public List<Rule.Builder> getTriggeredRulesBuilderList()

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Returns
Type Description
List<Builder>

getTriggeredRulesCount()

public int getTriggeredRulesCount()

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Returns
Type Description
int

getTriggeredRulesList()

public List<Rule> getTriggeredRulesList()

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Returns
Type Description
List<Rule>

getTriggeredRulesOrBuilder(int index)

public RuleOrBuilder getTriggeredRulesOrBuilder(int index)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
RuleOrBuilder

getTriggeredRulesOrBuilderList()

public List<? extends RuleOrBuilder> getTriggeredRulesOrBuilderList()

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuleEvaluatorOutput other)

public RuleEvaluatorOutput.Builder mergeFrom(RuleEvaluatorOutput other)
Parameter
Name Description
other RuleEvaluatorOutput
Returns
Type Description
RuleEvaluatorOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuleEvaluatorOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuleEvaluatorOutput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuleEvaluatorOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

removeInvalidRules(int index)

public RuleEvaluatorOutput.Builder removeInvalidRules(int index)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
RuleEvaluatorOutput.Builder

removeMatchedRules(int index)

public RuleEvaluatorOutput.Builder removeMatchedRules(int index)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameter
Name Description
index int
Returns
Type Description
RuleEvaluatorOutput.Builder

removeTriggeredRules(int index)

public RuleEvaluatorOutput.Builder removeTriggeredRules(int index)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
RuleEvaluatorOutput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuleEvaluatorOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

setInvalidRules(int index, InvalidRule value)

public RuleEvaluatorOutput.Builder setInvalidRules(int index, InvalidRule value)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameters
Name Description
index int
value InvalidRule
Returns
Type Description
RuleEvaluatorOutput.Builder

setInvalidRules(int index, InvalidRule.Builder builderForValue)

public RuleEvaluatorOutput.Builder setInvalidRules(int index, InvalidRule.Builder builderForValue)

A subset of triggered rules that failed the validation check(s) after parsing.

repeated .google.cloud.contentwarehouse.v1.InvalidRule invalid_rules = 3;

Parameters
Name Description
index int
builderForValue InvalidRule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

setMatchedRules(int index, Rule value)

public RuleEvaluatorOutput.Builder setMatchedRules(int index, Rule value)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameters
Name Description
index int
value Rule
Returns
Type Description
RuleEvaluatorOutput.Builder

setMatchedRules(int index, Rule.Builder builderForValue)

public RuleEvaluatorOutput.Builder setMatchedRules(int index, Rule.Builder builderForValue)

A subset of triggered rules that are evaluated true for a given request.

repeated .google.cloud.contentwarehouse.v1.Rule matched_rules = 2;

Parameters
Name Description
index int
builderForValue Rule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuleEvaluatorOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

setTriggeredRules(int index, Rule value)

public RuleEvaluatorOutput.Builder setTriggeredRules(int index, Rule value)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameters
Name Description
index int
value Rule
Returns
Type Description
RuleEvaluatorOutput.Builder

setTriggeredRules(int index, Rule.Builder builderForValue)

public RuleEvaluatorOutput.Builder setTriggeredRules(int index, Rule.Builder builderForValue)

List of rules fetched from database for the given request trigger type.

repeated .google.cloud.contentwarehouse.v1.Rule triggered_rules = 1;

Parameters
Name Description
index int
builderForValue Rule.Builder
Returns
Type Description
RuleEvaluatorOutput.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuleEvaluatorOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides