Class RuleEngineOutput (0.38.0)

public final class RuleEngineOutput extends GeneratedMessageV3 implements RuleEngineOutputOrBuilder

Records the output of Rule Engine including rule evaluation and actions result.

Protobuf type google.cloud.contentwarehouse.v1.RuleEngineOutput

Static Fields

ACTION_EXECUTOR_OUTPUT_FIELD_NUMBER

public static final int ACTION_EXECUTOR_OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENT_NAME_FIELD_NUMBER

public static final int DOCUMENT_NAME_FIELD_NUMBER
Field Value
Type Description
int

RULE_EVALUATOR_OUTPUT_FIELD_NUMBER

public static final int RULE_EVALUATOR_OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuleEngineOutput getDefaultInstance()
Returns
Type Description
RuleEngineOutput

getDescriptor()

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

newBuilder()

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

newBuilder(RuleEngineOutput prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionExecutorOutput()

public ActionExecutorOutput getActionExecutorOutput()

Output from Action Executor containing rule and corresponding actions execution result.

.google.cloud.contentwarehouse.v1.ActionExecutorOutput action_executor_output = 2;

Returns
Type Description
ActionExecutorOutput

The actionExecutorOutput.

getActionExecutorOutputOrBuilder()

public ActionExecutorOutputOrBuilder getActionExecutorOutputOrBuilder()

Output from Action Executor containing rule and corresponding actions execution result.

.google.cloud.contentwarehouse.v1.ActionExecutorOutput action_executor_output = 2;

Returns
Type Description
ActionExecutorOutputOrBuilder

getDefaultInstanceForType()

public RuleEngineOutput getDefaultInstanceForType()
Returns
Type Description
RuleEngineOutput

getDocumentName()

public String getDocumentName()

Name of the document against which the rules and actions were evaluated.

string document_name = 3;

Returns
Type Description
String

The documentName.

getDocumentNameBytes()

public ByteString getDocumentNameBytes()

Name of the document against which the rules and actions were evaluated.

string document_name = 3;

Returns
Type Description
ByteString

The bytes for documentName.

getParserForType()

public Parser<RuleEngineOutput> getParserForType()
Returns
Type Description
Parser<RuleEngineOutput>
Overrides

getRuleEvaluatorOutput()

public RuleEvaluatorOutput getRuleEvaluatorOutput()

Output from Rule Evaluator containing matched, unmatched and invalid rules.

.google.cloud.contentwarehouse.v1.RuleEvaluatorOutput rule_evaluator_output = 1;

Returns
Type Description
RuleEvaluatorOutput

The ruleEvaluatorOutput.

getRuleEvaluatorOutputOrBuilder()

public RuleEvaluatorOutputOrBuilder getRuleEvaluatorOutputOrBuilder()

Output from Rule Evaluator containing matched, unmatched and invalid rules.

.google.cloud.contentwarehouse.v1.RuleEvaluatorOutput rule_evaluator_output = 1;

Returns
Type Description
RuleEvaluatorOutputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasActionExecutorOutput()

public boolean hasActionExecutorOutput()

Output from Action Executor containing rule and corresponding actions execution result.

.google.cloud.contentwarehouse.v1.ActionExecutorOutput action_executor_output = 2;

Returns
Type Description
boolean

Whether the actionExecutorOutput field is set.

hasRuleEvaluatorOutput()

public boolean hasRuleEvaluatorOutput()

Output from Rule Evaluator containing matched, unmatched and invalid rules.

.google.cloud.contentwarehouse.v1.RuleEvaluatorOutput rule_evaluator_output = 1;

Returns
Type Description
boolean

Whether the ruleEvaluatorOutput field is set.

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 RuleEngineOutput.Builder newBuilderForType()
Returns
Type Description
RuleEngineOutput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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