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 |
---|
Type | Description |
int | |
MATCHED_RULES_FIELD_NUMBER
public static final int MATCHED_RULES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRIGGERED_RULES_FIELD_NUMBER
public static final int TRIGGERED_RULES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RuleEvaluatorOutput getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RuleEvaluatorOutput.Builder newBuilder()
newBuilder(RuleEvaluatorOutput prototype)
public static RuleEvaluatorOutput.Builder newBuilder(RuleEvaluatorOutput prototype)
parseDelimitedFrom(InputStream input)
public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RuleEvaluatorOutput parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RuleEvaluatorOutput parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static RuleEvaluatorOutput parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static RuleEvaluatorOutput parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RuleEvaluatorOutput parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuleEvaluatorOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RuleEvaluatorOutput> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public RuleEvaluatorOutput getDefaultInstanceForType()
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
|
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;
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
|
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 | |
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;
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
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Rule | |
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;
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
|
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()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RuleEvaluatorOutput.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuleEvaluatorOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RuleEvaluatorOutput.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides