Class RuleEvaluatorOutput.Builder (0.19.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.InvalidRule>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.Rule>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.Rule>
Returns
TypeDescription
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
NameDescription
valueInvalidRule
Returns
TypeDescription
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
NameDescription
builderForValueInvalidRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInvalidRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInvalidRule.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueRule
Returns
TypeDescription
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
NameDescription
builderForValueRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRule.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Rule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuleEvaluatorOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRule
Returns
TypeDescription
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
NameDescription
builderForValueRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRule.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Rule.Builder

build()

public RuleEvaluatorOutput build()
Returns
TypeDescription
RuleEvaluatorOutput

buildPartial()

public RuleEvaluatorOutput buildPartial()
Returns
TypeDescription
RuleEvaluatorOutput

clear()

public RuleEvaluatorOutput.Builder clear()
Returns
TypeDescription
RuleEvaluatorOutput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RuleEvaluatorOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RuleEvaluatorOutput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RuleEvaluatorOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RuleEvaluatorOutput.Builder

clone()

public RuleEvaluatorOutput.Builder clone()
Returns
TypeDescription
RuleEvaluatorOutput.Builder
Overrides

getDefaultInstanceForType()

public RuleEvaluatorOutput getDefaultInstanceForType()
Returns
TypeDescription
RuleEvaluatorOutput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.RuleOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RuleEvaluatorOutput other)

public RuleEvaluatorOutput.Builder mergeFrom(RuleEvaluatorOutput other)
Parameter
NameDescription
otherRuleEvaluatorOutput
Returns
TypeDescription
RuleEvaluatorOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuleEvaluatorOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuleEvaluatorOutput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuleEvaluatorOutput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuleEvaluatorOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RuleEvaluatorOutput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuleEvaluatorOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInvalidRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInvalidRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRule.Builder
Returns
TypeDescription
RuleEvaluatorOutput.Builder

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

public RuleEvaluatorOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRule.Builder
Returns
TypeDescription
RuleEvaluatorOutput.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuleEvaluatorOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuleEvaluatorOutput.Builder
Overrides