Class RuleEvaluatorOutput (0.35.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
TypeDescription
int

MATCHED_RULES_FIELD_NUMBER

public static final int MATCHED_RULES_FIELD_NUMBER
Field Value
TypeDescription
int

TRIGGERED_RULES_FIELD_NUMBER

public static final int TRIGGERED_RULES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuleEvaluatorOutput getDefaultInstance()
Returns
TypeDescription
RuleEvaluatorOutput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RuleEvaluatorOutput.Builder newBuilder()
Returns
TypeDescription
RuleEvaluatorOutput.Builder

newBuilder(RuleEvaluatorOutput prototype)

public static RuleEvaluatorOutput.Builder newBuilder(RuleEvaluatorOutput prototype)
Parameter
NameDescription
prototypeRuleEvaluatorOutput
Returns
TypeDescription
RuleEvaluatorOutput.Builder

parseDelimitedFrom(InputStream input)

public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RuleEvaluatorOutput parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuleEvaluatorOutput parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuleEvaluatorOutput parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RuleEvaluatorOutput parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RuleEvaluatorOutput parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuleEvaluatorOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEvaluatorOutput
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RuleEvaluatorOutput> parser()
Returns
TypeDescription
Parser<RuleEvaluatorOutput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RuleEvaluatorOutput getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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

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>

getParserForType()

public Parser<RuleEvaluatorOutput> getParserForType()
Returns
TypeDescription
Parser<RuleEvaluatorOutput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RuleEvaluatorOutput.Builder newBuilderForType()
Returns
TypeDescription
RuleEvaluatorOutput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuleEvaluatorOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RuleEvaluatorOutput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RuleEvaluatorOutput.Builder toBuilder()
Returns
TypeDescription
RuleEvaluatorOutput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException