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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuleEvaluatorOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public RuleEvaluatorOutput build()
Returns
buildPartial()
public RuleEvaluatorOutput buildPartial()
Returns
clear()
public RuleEvaluatorOutput.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RuleEvaluatorOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public RuleEvaluatorOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public RuleEvaluatorOutput.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RuleEvaluatorOutput getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RuleEvaluatorOutput other)
public RuleEvaluatorOutput.Builder mergeFrom(RuleEvaluatorOutput other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuleEvaluatorOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RuleEvaluatorOutput.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuleEvaluatorOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RuleEvaluatorOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuleEvaluatorOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RuleEvaluatorOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides