Class RuleEngineOutput.Builder (0.42.0)

public static final class RuleEngineOutput.Builder extends GeneratedMessageV3.Builder<RuleEngineOutput.Builder> implements RuleEngineOutputOrBuilder

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

Protobuf type google.cloud.contentwarehouse.v1.RuleEngineOutput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuleEngineOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuleEngineOutput.Builder
Overrides

build()

public RuleEngineOutput build()
Returns
Type Description
RuleEngineOutput

buildPartial()

public RuleEngineOutput buildPartial()
Returns
Type Description
RuleEngineOutput

clear()

public RuleEngineOutput.Builder clear()
Returns
Type Description
RuleEngineOutput.Builder
Overrides

clearActionExecutorOutput()

public RuleEngineOutput.Builder clearActionExecutorOutput()

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

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

Returns
Type Description
RuleEngineOutput.Builder

clearDocumentName()

public RuleEngineOutput.Builder clearDocumentName()

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

string document_name = 3;

Returns
Type Description
RuleEngineOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuleEngineOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuleEngineOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuleEngineOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuleEngineOutput.Builder
Overrides

clearRuleEvaluatorOutput()

public RuleEngineOutput.Builder clearRuleEvaluatorOutput()

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

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

Returns
Type Description
RuleEngineOutput.Builder

clone()

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

getActionExecutorOutputBuilder()

public ActionExecutorOutput.Builder getActionExecutorOutputBuilder()

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

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

Returns
Type Description
ActionExecutorOutput.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getRuleEvaluatorOutputBuilder()

public RuleEvaluatorOutput.Builder getRuleEvaluatorOutputBuilder()

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

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

Returns
Type Description
RuleEvaluatorOutput.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActionExecutorOutput(ActionExecutorOutput value)

public RuleEngineOutput.Builder mergeActionExecutorOutput(ActionExecutorOutput value)

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

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

Parameter
Name Description
value ActionExecutorOutput
Returns
Type Description
RuleEngineOutput.Builder

mergeFrom(RuleEngineOutput other)

public RuleEngineOutput.Builder mergeFrom(RuleEngineOutput other)
Parameter
Name Description
other RuleEngineOutput
Returns
Type Description
RuleEngineOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuleEngineOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleEngineOutput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuleEngineOutput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuleEngineOutput.Builder
Overrides

mergeRuleEvaluatorOutput(RuleEvaluatorOutput value)

public RuleEngineOutput.Builder mergeRuleEvaluatorOutput(RuleEvaluatorOutput value)

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

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

Parameter
Name Description
value RuleEvaluatorOutput
Returns
Type Description
RuleEngineOutput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuleEngineOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuleEngineOutput.Builder
Overrides

setActionExecutorOutput(ActionExecutorOutput value)

public RuleEngineOutput.Builder setActionExecutorOutput(ActionExecutorOutput value)

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

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

Parameter
Name Description
value ActionExecutorOutput
Returns
Type Description
RuleEngineOutput.Builder

setActionExecutorOutput(ActionExecutorOutput.Builder builderForValue)

public RuleEngineOutput.Builder setActionExecutorOutput(ActionExecutorOutput.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ActionExecutorOutput.Builder
Returns
Type Description
RuleEngineOutput.Builder

setDocumentName(String value)

public RuleEngineOutput.Builder setDocumentName(String value)

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

string document_name = 3;

Parameter
Name Description
value String

The documentName to set.

Returns
Type Description
RuleEngineOutput.Builder

This builder for chaining.

setDocumentNameBytes(ByteString value)

public RuleEngineOutput.Builder setDocumentNameBytes(ByteString value)

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

string document_name = 3;

Parameter
Name Description
value ByteString

The bytes for documentName to set.

Returns
Type Description
RuleEngineOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RuleEngineOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuleEngineOutput.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuleEngineOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuleEngineOutput.Builder
Overrides

setRuleEvaluatorOutput(RuleEvaluatorOutput value)

public RuleEngineOutput.Builder setRuleEvaluatorOutput(RuleEvaluatorOutput value)

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

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

Parameter
Name Description
value RuleEvaluatorOutput
Returns
Type Description
RuleEngineOutput.Builder

setRuleEvaluatorOutput(RuleEvaluatorOutput.Builder builderForValue)

public RuleEngineOutput.Builder setRuleEvaluatorOutput(RuleEvaluatorOutput.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue RuleEvaluatorOutput.Builder
Returns
Type Description
RuleEngineOutput.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuleEngineOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuleEngineOutput.Builder
Overrides