Class RuleActionsPair.Builder (0.50.0)

public static final class RuleActionsPair.Builder extends GeneratedMessageV3.Builder<RuleActionsPair.Builder> implements RuleActionsPairOrBuilder

Represents a rule and outputs of associated actions.

Protobuf type google.cloud.contentwarehouse.v1.RuleActionsPair

Static Methods

getDescriptor()

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

Methods

addActionOutputs(ActionOutput value)

public RuleActionsPair.Builder addActionOutputs(ActionOutput value)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
value ActionOutput
Returns
Type Description
RuleActionsPair.Builder

addActionOutputs(ActionOutput.Builder builderForValue)

public RuleActionsPair.Builder addActionOutputs(ActionOutput.Builder builderForValue)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
builderForValue ActionOutput.Builder
Returns
Type Description
RuleActionsPair.Builder

addActionOutputs(int index, ActionOutput value)

public RuleActionsPair.Builder addActionOutputs(int index, ActionOutput value)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameters
Name Description
index int
value ActionOutput
Returns
Type Description
RuleActionsPair.Builder

addActionOutputs(int index, ActionOutput.Builder builderForValue)

public RuleActionsPair.Builder addActionOutputs(int index, ActionOutput.Builder builderForValue)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameters
Name Description
index int
builderForValue ActionOutput.Builder
Returns
Type Description
RuleActionsPair.Builder

addActionOutputsBuilder()

public ActionOutput.Builder addActionOutputsBuilder()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
Type Description
ActionOutput.Builder

addActionOutputsBuilder(int index)

public ActionOutput.Builder addActionOutputsBuilder(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ActionOutput.Builder

addAllActionOutputs(Iterable<? extends ActionOutput> values)

public RuleActionsPair.Builder addAllActionOutputs(Iterable<? extends ActionOutput> values)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contentwarehouse.v1.ActionOutput>
Returns
Type Description
RuleActionsPair.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuleActionsPair build()
Returns
Type Description
RuleActionsPair

buildPartial()

public RuleActionsPair buildPartial()
Returns
Type Description
RuleActionsPair

clear()

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

clearActionOutputs()

public RuleActionsPair.Builder clearActionOutputs()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
Type Description
RuleActionsPair.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRule()

public RuleActionsPair.Builder clearRule()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
Type Description
RuleActionsPair.Builder

clone()

public RuleActionsPair.Builder clone()
Returns
Type Description
RuleActionsPair.Builder
Overrides

getActionOutputs(int index)

public ActionOutput getActionOutputs(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ActionOutput

getActionOutputsBuilder(int index)

public ActionOutput.Builder getActionOutputsBuilder(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ActionOutput.Builder

getActionOutputsBuilderList()

public List<ActionOutput.Builder> getActionOutputsBuilderList()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
Type Description
List<Builder>

getActionOutputsCount()

public int getActionOutputsCount()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
Type Description
int

getActionOutputsList()

public List<ActionOutput> getActionOutputsList()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
Type Description
List<ActionOutput>

getActionOutputsOrBuilder(int index)

public ActionOutputOrBuilder getActionOutputsOrBuilder(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ActionOutputOrBuilder

getActionOutputsOrBuilderList()

public List<? extends ActionOutputOrBuilder> getActionOutputsOrBuilderList()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
Type Description
List<? extends com.google.cloud.contentwarehouse.v1.ActionOutputOrBuilder>

getDefaultInstanceForType()

public RuleActionsPair getDefaultInstanceForType()
Returns
Type Description
RuleActionsPair

getDescriptorForType()

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

getRule()

public Rule getRule()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
Type Description
Rule

The rule.

getRuleBuilder()

public Rule.Builder getRuleBuilder()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
Type Description
Rule.Builder

getRuleOrBuilder()

public RuleOrBuilder getRuleOrBuilder()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
Type Description
RuleOrBuilder

hasRule()

public boolean hasRule()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
Type Description
boolean

Whether the rule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuleActionsPair other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRule(Rule value)

public RuleActionsPair.Builder mergeRule(Rule value)

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Parameter
Name Description
value Rule
Returns
Type Description
RuleActionsPair.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeActionOutputs(int index)

public RuleActionsPair.Builder removeActionOutputs(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
Name Description
index int
Returns
Type Description
RuleActionsPair.Builder

setActionOutputs(int index, ActionOutput value)

public RuleActionsPair.Builder setActionOutputs(int index, ActionOutput value)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameters
Name Description
index int
value ActionOutput
Returns
Type Description
RuleActionsPair.Builder

setActionOutputs(int index, ActionOutput.Builder builderForValue)

public RuleActionsPair.Builder setActionOutputs(int index, ActionOutput.Builder builderForValue)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameters
Name Description
index int
builderForValue ActionOutput.Builder
Returns
Type Description
RuleActionsPair.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRule(Rule value)

public RuleActionsPair.Builder setRule(Rule value)

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Parameter
Name Description
value Rule
Returns
Type Description
RuleActionsPair.Builder

setRule(Rule.Builder builderForValue)

public RuleActionsPair.Builder setRule(Rule.Builder builderForValue)

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Parameter
Name Description
builderForValue Rule.Builder
Returns
Type Description
RuleActionsPair.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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