Class RuleEvaluatorOutput (0.41.0)

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()
Returns
Type Description
RuleEvaluatorOutput

getDescriptor()

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

newBuilder()

public static RuleEvaluatorOutput.Builder newBuilder()
Returns
Type Description
RuleEvaluatorOutput.Builder

newBuilder(RuleEvaluatorOutput prototype)

public static RuleEvaluatorOutput.Builder newBuilder(RuleEvaluatorOutput prototype)
Parameter
Name Description
prototype RuleEvaluatorOutput
Returns
Type Description
RuleEvaluatorOutput.Builder

parseDelimitedFrom(InputStream input)

public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RuleEvaluatorOutput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuleEvaluatorOutput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuleEvaluatorOutput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RuleEvaluatorOutput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RuleEvaluatorOutput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEvaluatorOutput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RuleEvaluatorOutput> parser()
Returns
Type Description
Parser<RuleEvaluatorOutput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RuleEvaluatorOutput getDefaultInstanceForType()
Returns
Type Description
RuleEvaluatorOutput

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

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

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>

getParserForType()

public Parser<RuleEvaluatorOutput> getParserForType()
Returns
Type Description
Parser<RuleEvaluatorOutput>
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;

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RuleEvaluatorOutput.Builder newBuilderForType()
Returns
Type Description
RuleEvaluatorOutput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuleEvaluatorOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuleEvaluatorOutput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RuleEvaluatorOutput.Builder toBuilder()
Returns
Type Description
RuleEvaluatorOutput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException