public final class RuleEvaluatorOutput extends GeneratedMessageV3 implements RuleEvaluatorOutputOrBuilder
Represents the output of the Rule Evaluator.
Protobuf type google.cloud.contentwarehouse.v1.RuleEvaluatorOutput
Static Fields
INVALID_RULES_FIELD_NUMBER
public static final int INVALID_RULES_FIELD_NUMBER
Field Value
MATCHED_RULES_FIELD_NUMBER
public static final int MATCHED_RULES_FIELD_NUMBER
Field Value
TRIGGERED_RULES_FIELD_NUMBER
public static final int TRIGGERED_RULES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RuleEvaluatorOutput getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RuleEvaluatorOutput.Builder newBuilder()
Returns
newBuilder(RuleEvaluatorOutput prototype)
public static RuleEvaluatorOutput.Builder newBuilder(RuleEvaluatorOutput prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RuleEvaluatorOutput parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RuleEvaluatorOutput parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static RuleEvaluatorOutput parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static RuleEvaluatorOutput parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RuleEvaluatorOutput parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RuleEvaluatorOutput> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RuleEvaluatorOutput getDefaultInstanceForType()
Returns
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
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
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> | |
getParserForType()
public Parser<RuleEvaluatorOutput> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RuleEvaluatorOutput.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuleEvaluatorOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RuleEvaluatorOutput.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions