Class RuleActionsPair.Builder (0.9.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
TypeDescription
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
NameDescription
valueActionOutput
Returns
TypeDescription
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
NameDescription
builderForValueActionOutput.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueActionOutput
Returns
TypeDescription
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
NameDescription
indexint
builderForValueActionOutput.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.ActionOutput>
Returns
TypeDescription
RuleActionsPair.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RuleActionsPair build()
Returns
TypeDescription
RuleActionsPair

buildPartial()

public RuleActionsPair buildPartial()
Returns
TypeDescription
RuleActionsPair

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RuleActionsPair.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuleActionsPair.Builder
Overrides

clearRule()

public RuleActionsPair.Builder clearRule()

Represents the rule.

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

Returns
TypeDescription
RuleActionsPair.Builder

clone()

public RuleActionsPair.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.ActionOutputOrBuilder>

getDefaultInstanceForType()

public RuleActionsPair getDefaultInstanceForType()
Returns
TypeDescription
RuleActionsPair

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRule()

public Rule getRule()

Represents the rule.

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

Returns
TypeDescription
Rule

The rule.

getRuleBuilder()

public Rule.Builder getRuleBuilder()

Represents the rule.

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

Returns
TypeDescription
Rule.Builder

getRuleOrBuilder()

public RuleOrBuilder getRuleOrBuilder()

Represents the rule.

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

Returns
TypeDescription
RuleOrBuilder

hasRule()

public boolean hasRule()

Represents the rule.

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

Returns
TypeDescription
boolean

Whether the rule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RuleActionsPair other)

public RuleActionsPair.Builder mergeFrom(RuleActionsPair other)
Parameter
NameDescription
otherRuleActionsPair
Returns
TypeDescription
RuleActionsPair.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RuleActionsPair.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuleActionsPair.Builder
Overrides

mergeRule(Rule value)

public RuleActionsPair.Builder mergeRule(Rule value)

Represents the rule.

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

Parameter
NameDescription
valueRule
Returns
TypeDescription
RuleActionsPair.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuleActionsPair.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueActionOutput
Returns
TypeDescription
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
NameDescription
indexint
builderForValueActionOutput.Builder
Returns
TypeDescription
RuleActionsPair.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RuleActionsPair.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RuleActionsPair.Builder
Overrides

setRule(Rule value)

public RuleActionsPair.Builder setRule(Rule value)

Represents the rule.

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

Parameter
NameDescription
valueRule
Returns
TypeDescription
RuleActionsPair.Builder

setRule(Rule.Builder builderForValue)

public RuleActionsPair.Builder setRule(Rule.Builder builderForValue)

Represents the rule.

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

Parameter
NameDescription
builderForValueRule.Builder
Returns
TypeDescription
RuleActionsPair.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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