Class RuleEngineOutput (0.7.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
TypeDescription
int

DOCUMENT_NAME_FIELD_NUMBER

public static final int DOCUMENT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RULE_EVALUATOR_OUTPUT_FIELD_NUMBER

public static final int RULE_EVALUATOR_OUTPUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuleEngineOutput getDefaultInstance()
Returns
TypeDescription
RuleEngineOutput

getDescriptor()

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

newBuilder()

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

newBuilder(RuleEngineOutput prototype)

public static RuleEngineOutput.Builder newBuilder(RuleEngineOutput prototype)
Parameter
NameDescription
prototypeRuleEngineOutput
Returns
TypeDescription
RuleEngineOutput.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ActionExecutorOutputOrBuilder

getDefaultInstanceForType()

public RuleEngineOutput getDefaultInstanceForType()
Returns
TypeDescription
RuleEngineOutput

getDocumentName()

public String getDocumentName()

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

string document_name = 3;

Returns
TypeDescription
String

The documentName.

getDocumentNameBytes()

public ByteString getDocumentNameBytes()

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

string document_name = 3;

Returns
TypeDescription
ByteString

The bytes for documentName.

getParserForType()

public Parser<RuleEngineOutput> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RuleEvaluatorOutputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the ruleEvaluatorOutput field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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