Class RuleActionsPair.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
- com.google.cloud.contentwarehouse.v1.RuleActionsPair.Builder
-
- All Implemented Interfaces:
RuleActionsPairOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RuleActionsPair
public static final class RuleActionsPair.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder> implements RuleActionsPairOrBuilder
Represents a rule and outputs of associated actions.
Protobuf typegoogle.cloud.contentwarehouse.v1.RuleActionsPair
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleActionsPair.BuilderaddActionOutputs(int index, ActionOutput value)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuilderaddActionOutputs(int index, ActionOutput.Builder builderForValue)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuilderaddActionOutputs(ActionOutput value)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuilderaddActionOutputs(ActionOutput.Builder builderForValue)Outputs of executing the actions associated with the above rule.ActionOutput.BuilderaddActionOutputsBuilder()Outputs of executing the actions associated with the above rule.ActionOutput.BuilderaddActionOutputsBuilder(int index)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuilderaddAllActionOutputs(Iterable<? extends ActionOutput> values)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RuleActionsPairbuild()RuleActionsPairbuildPartial()RuleActionsPair.Builderclear()RuleActionsPair.BuilderclearActionOutputs()Outputs of executing the actions associated with the above rule.RuleActionsPair.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RuleActionsPair.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RuleActionsPair.BuilderclearRule()Represents the rule.RuleActionsPair.Builderclone()ActionOutputgetActionOutputs(int index)Outputs of executing the actions associated with the above rule.ActionOutput.BuildergetActionOutputsBuilder(int index)Outputs of executing the actions associated with the above rule.List<ActionOutput.Builder>getActionOutputsBuilderList()Outputs of executing the actions associated with the above rule.intgetActionOutputsCount()Outputs of executing the actions associated with the above rule.List<ActionOutput>getActionOutputsList()Outputs of executing the actions associated with the above rule.ActionOutputOrBuildergetActionOutputsOrBuilder(int index)Outputs of executing the actions associated with the above rule.List<? extends ActionOutputOrBuilder>getActionOutputsOrBuilderList()Outputs of executing the actions associated with the above rule.RuleActionsPairgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RulegetRule()Represents the rule.Rule.BuildergetRuleBuilder()Represents the rule.RuleOrBuildergetRuleOrBuilder()Represents the rule.booleanhasRule()Represents the rule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RuleActionsPair.BuildermergeFrom(RuleActionsPair other)RuleActionsPair.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RuleActionsPair.BuildermergeFrom(com.google.protobuf.Message other)RuleActionsPair.BuildermergeRule(Rule value)Represents the rule.RuleActionsPair.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RuleActionsPair.BuilderremoveActionOutputs(int index)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuildersetActionOutputs(int index, ActionOutput value)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuildersetActionOutputs(int index, ActionOutput.Builder builderForValue)Outputs of executing the actions associated with the above rule.RuleActionsPair.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RuleActionsPair.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RuleActionsPair.BuildersetRule(Rule value)Represents the rule.RuleActionsPair.BuildersetRule(Rule.Builder builderForValue)Represents the rule.RuleActionsPair.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
clear
public RuleActionsPair.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
getDefaultInstanceForType
public RuleActionsPair getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RuleActionsPair build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RuleActionsPair buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RuleActionsPair.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
setField
public RuleActionsPair.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
clearField
public RuleActionsPair.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
clearOneof
public RuleActionsPair.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
setRepeatedField
public RuleActionsPair.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
addRepeatedField
public RuleActionsPair.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
mergeFrom
public RuleActionsPair.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuleActionsPair.Builder>
-
mergeFrom
public RuleActionsPair.Builder mergeFrom(RuleActionsPair other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
mergeFrom
public RuleActionsPair.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuleActionsPair.Builder>- Throws:
IOException
-
hasRule
public boolean hasRule()
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;- Specified by:
hasRulein interfaceRuleActionsPairOrBuilder- Returns:
- Whether the rule field is set.
-
getRule
public Rule getRule()
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;- Specified by:
getRulein interfaceRuleActionsPairOrBuilder- Returns:
- The rule.
-
setRule
public RuleActionsPair.Builder setRule(Rule value)
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
-
setRule
public RuleActionsPair.Builder setRule(Rule.Builder builderForValue)
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
-
mergeRule
public RuleActionsPair.Builder mergeRule(Rule value)
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
-
clearRule
public RuleActionsPair.Builder clearRule()
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
-
getRuleBuilder
public Rule.Builder getRuleBuilder()
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
-
getRuleOrBuilder
public RuleOrBuilder getRuleOrBuilder()
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;- Specified by:
getRuleOrBuilderin interfaceRuleActionsPairOrBuilder
-
getActionOutputsList
public List<ActionOutput> getActionOutputsList()
Outputs of executing the actions associated with the above rule.
repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;- Specified by:
getActionOutputsListin interfaceRuleActionsPairOrBuilder
-
getActionOutputsCount
public int getActionOutputsCount()
Outputs of executing the actions associated with the above rule.
repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;- Specified by:
getActionOutputsCountin interfaceRuleActionsPairOrBuilder
-
getActionOutputs
public ActionOutput getActionOutputs(int index)
Outputs of executing the actions associated with the above rule.
repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;- Specified by:
getActionOutputsin interfaceRuleActionsPairOrBuilder
-
setActionOutputs
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;
-
setActionOutputs
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;
-
addActionOutputs
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;
-
addActionOutputs
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;
-
addActionOutputs
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;
-
addActionOutputs
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;
-
addAllActionOutputs
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;
-
clearActionOutputs
public RuleActionsPair.Builder clearActionOutputs()
Outputs of executing the actions associated with the above rule.
repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;
-
removeActionOutputs
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;
-
getActionOutputsBuilder
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;
-
getActionOutputsOrBuilder
public ActionOutputOrBuilder getActionOutputsOrBuilder(int index)
Outputs of executing the actions associated with the above rule.
repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;- Specified by:
getActionOutputsOrBuilderin interfaceRuleActionsPairOrBuilder
-
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;- Specified by:
getActionOutputsOrBuilderListin interfaceRuleActionsPairOrBuilder
-
addActionOutputsBuilder
public ActionOutput.Builder addActionOutputsBuilder()
Outputs of executing the actions associated with the above rule.
repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;
-
addActionOutputsBuilder
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;
-
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;
-
setUnknownFields
public final RuleActionsPair.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
mergeUnknownFields
public final RuleActionsPair.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
-