Class 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 type google.cloud.contentwarehouse.v1.RuleActionsPair
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • clear

        public RuleActionsPair.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • getDefaultInstanceForType

        public RuleActionsPair getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RuleActionsPair build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RuleActionsPair buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RuleActionsPair.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • setField

        public RuleActionsPair.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • clearField

        public RuleActionsPair.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • clearOneof

        public RuleActionsPair.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • addRepeatedField

        public RuleActionsPair.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • mergeFrom

        public RuleActionsPair.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuleActionsPair.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface RuleActionsPairOrBuilder
        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 interface RuleActionsPairOrBuilder
        Returns:
        The rule.
      • setRule

        public RuleActionsPair.Builder setRule​(Rule value)
         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;
      • 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 interface RuleActionsPairOrBuilder
      • 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 interface RuleActionsPairOrBuilder
      • 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;
      • 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>
      • mergeUnknownFields

        public final RuleActionsPair.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuleActionsPair.Builder>