Class RuleEngineOutput.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuleEngineOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuleEngineOutput.Builder
Overrides

build()

public RuleEngineOutput build()
Returns
TypeDescription
RuleEngineOutput

buildPartial()

public RuleEngineOutput buildPartial()
Returns
TypeDescription
RuleEngineOutput

clear()

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

clearDocumentName()

public RuleEngineOutput.Builder clearDocumentName()

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

string document_name = 3;

Returns
TypeDescription
RuleEngineOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuleEngineOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuleEngineOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuleEngineOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RuleEngineOutput.Builder

clone()

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

getDefaultInstanceForType()

public RuleEngineOutput getDefaultInstanceForType()
Returns
TypeDescription
RuleEngineOutput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

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
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueActionExecutorOutput
Returns
TypeDescription
RuleEngineOutput.Builder

mergeFrom(RuleEngineOutput other)

public RuleEngineOutput.Builder mergeFrom(RuleEngineOutput other)
Parameter
NameDescription
otherRuleEngineOutput
Returns
TypeDescription
RuleEngineOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuleEngineOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleEngineOutput.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuleEngineOutput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRuleEvaluatorOutput
Returns
TypeDescription
RuleEngineOutput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuleEngineOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueActionExecutorOutput
Returns
TypeDescription
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
NameDescription
builderForValueActionExecutorOutput.Builder
Returns
TypeDescription
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
NameDescription
valueString

The documentName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for documentName to set.

Returns
TypeDescription
RuleEngineOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RuleEngineOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuleEngineOutput.Builder
Overrides

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

public RuleEngineOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueRuleEvaluatorOutput
Returns
TypeDescription
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
NameDescription
builderForValueRuleEvaluatorOutput.Builder
Returns
TypeDescription
RuleEngineOutput.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuleEngineOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuleEngineOutput.Builder
Overrides