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.Builder
addActionOutputs(int index, ActionOutput value)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
addActionOutputs(int index, ActionOutput.Builder builderForValue)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
addActionOutputs(ActionOutput value)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
addActionOutputs(ActionOutput.Builder builderForValue)
Outputs of executing the actions associated with the above rule.ActionOutput.Builder
addActionOutputsBuilder()
Outputs of executing the actions associated with the above rule.ActionOutput.Builder
addActionOutputsBuilder(int index)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
addAllActionOutputs(Iterable<? extends ActionOutput> values)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RuleActionsPair
build()
RuleActionsPair
buildPartial()
RuleActionsPair.Builder
clear()
RuleActionsPair.Builder
clearActionOutputs()
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RuleActionsPair.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RuleActionsPair.Builder
clearRule()
Represents the rule.RuleActionsPair.Builder
clone()
ActionOutput
getActionOutputs(int index)
Outputs of executing the actions associated with the above rule.ActionOutput.Builder
getActionOutputsBuilder(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.int
getActionOutputsCount()
Outputs of executing the actions associated with the above rule.List<ActionOutput>
getActionOutputsList()
Outputs of executing the actions associated with the above rule.ActionOutputOrBuilder
getActionOutputsOrBuilder(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.RuleActionsPair
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Rule
getRule()
Represents the rule.Rule.Builder
getRuleBuilder()
Represents the rule.RuleOrBuilder
getRuleOrBuilder()
Represents the rule.boolean
hasRule()
Represents the rule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RuleActionsPair.Builder
mergeFrom(RuleActionsPair other)
RuleActionsPair.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RuleActionsPair.Builder
mergeFrom(com.google.protobuf.Message other)
RuleActionsPair.Builder
mergeRule(Rule value)
Represents the rule.RuleActionsPair.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RuleActionsPair.Builder
removeActionOutputs(int index)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
setActionOutputs(int index, ActionOutput value)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
setActionOutputs(int index, ActionOutput.Builder builderForValue)
Outputs of executing the actions associated with the above rule.RuleActionsPair.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RuleActionsPair.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RuleActionsPair.Builder
setRule(Rule value)
Represents the rule.RuleActionsPair.Builder
setRule(Rule.Builder builderForValue)
Represents the rule.RuleActionsPair.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
clear
public RuleActionsPair.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
getDefaultInstanceForType
public RuleActionsPair getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RuleActionsPair build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RuleActionsPair buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RuleActionsPair.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
setField
public RuleActionsPair.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
clearField
public RuleActionsPair.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
clearOneof
public RuleActionsPair.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
setRepeatedField
public RuleActionsPair.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
addRepeatedField
public RuleActionsPair.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
mergeFrom
public RuleActionsPair.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RuleActionsPair.Builder>
-
mergeFrom
public RuleActionsPair.Builder mergeFrom(RuleActionsPair other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasRule
in interfaceRuleActionsPairOrBuilder
- Returns:
- Whether the rule field is set.
-
getRule
public Rule getRule()
Represents the rule.
.google.cloud.contentwarehouse.v1.Rule rule = 1;
- Specified by:
getRule
in 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:
getRuleOrBuilder
in 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:
getActionOutputsList
in 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:
getActionOutputsCount
in 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:
getActionOutputs
in 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:
getActionOutputsOrBuilder
in 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:
getActionOutputsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
mergeUnknownFields
public final RuleActionsPair.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
-
-