public static final class RuleActionsPair.Builder extends GeneratedMessage.Builder<RuleActionsPair.Builder> implements RuleActionsPairOrBuilderRepresents a rule and outputs of associated actions.
Protobuf type google.cloud.contentwarehouse.v1.RuleActionsPair
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RuleActionsPair.BuilderImplements
RuleActionsPairOrBuilderStatic 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 |
|
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 |
|
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 |
|
clearRule()
public RuleActionsPair.Builder clearRule()Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
| Returns | |
|---|---|
| Type | Description |
RuleActionsPair.Builder |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RuleActionsPair.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RuleActionsPair.Builder |
|
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 |
|
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 |
|
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 |
|