Class ConversionValueRuleSet.Builder

    • 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<ConversionValueRuleSet.Builder>
      • clear

        public ConversionValueRuleSet.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<ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
      • getDefaultInstanceForType

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

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

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

        public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
      • setField

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

        public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
      • clearOneof

        public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
      • setRepeatedField

        public ConversionValueRuleSet.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
      • addRepeatedField

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
      • mergeFrom

        public ConversionValueRuleSet.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.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<ConversionValueRuleSet.Builder>
        Throws:
        java.io.IOException
      • getResourceName

        public java.lang.String getResourceName()
         Immutable. The resource name of the conversion value rule set.
         Conversion value rule set resource names have the form:
        
         `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface ConversionValueRuleSetOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the conversion value rule set.
         Conversion value rule set resource names have the form:
        
         `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface ConversionValueRuleSetOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public ConversionValueRuleSet.Builder setResourceName​(java.lang.String value)
         Immutable. The resource name of the conversion value rule set.
         Conversion value rule set resource names have the form:
        
         `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public ConversionValueRuleSet.Builder clearResourceName()
         Immutable. The resource name of the conversion value rule set.
         Conversion value rule set resource names have the form:
        
         `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public ConversionValueRuleSet.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Immutable. The resource name of the conversion value rule set.
         Conversion value rule set resource names have the form:
        
         `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • getId

        public long getId()
         Output only. The ID of the conversion value rule set.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface ConversionValueRuleSetOrBuilder
        Returns:
        The id.
      • setId

        public ConversionValueRuleSet.Builder setId​(long value)
         Output only. The ID of the conversion value rule set.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ConversionValueRuleSet.Builder clearId()
         Output only. The ID of the conversion value rule set.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getConversionValueRulesList

        public com.google.protobuf.ProtocolStringList getConversionValueRulesList()
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getConversionValueRulesList in interface ConversionValueRuleSetOrBuilder
        Returns:
        A list containing the conversionValueRules.
      • getConversionValueRulesCount

        public int getConversionValueRulesCount()
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getConversionValueRulesCount in interface ConversionValueRuleSetOrBuilder
        Returns:
        The count of conversionValueRules.
      • getConversionValueRules

        public java.lang.String getConversionValueRules​(int index)
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getConversionValueRules in interface ConversionValueRuleSetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The conversionValueRules at the given index.
      • getConversionValueRulesBytes

        public com.google.protobuf.ByteString getConversionValueRulesBytes​(int index)
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getConversionValueRulesBytes in interface ConversionValueRuleSetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the conversionValueRules at the given index.
      • setConversionValueRules

        public ConversionValueRuleSet.Builder setConversionValueRules​(int index,
                                                                      java.lang.String value)
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The conversionValueRules to set.
        Returns:
        This builder for chaining.
      • addConversionValueRules

        public ConversionValueRuleSet.Builder addConversionValueRules​(java.lang.String value)
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The conversionValueRules to add.
        Returns:
        This builder for chaining.
      • addAllConversionValueRules

        public ConversionValueRuleSet.Builder addAllConversionValueRules​(java.lang.Iterable<java.lang.String> values)
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        values - The conversionValueRules to add.
        Returns:
        This builder for chaining.
      • clearConversionValueRules

        public ConversionValueRuleSet.Builder clearConversionValueRules()
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • addConversionValueRulesBytes

        public ConversionValueRuleSet.Builder addConversionValueRulesBytes​(com.google.protobuf.ByteString value)
         Resource names of rules within the rule set.
         
        repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes of the conversionValueRules to add.
        Returns:
        This builder for chaining.
      • getDimensionsList

        public java.util.List<ValueRuleSetDimensionEnum.ValueRuleSetDimension> getDimensionsList()
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Specified by:
        getDimensionsList in interface ConversionValueRuleSetOrBuilder
        Returns:
        A list containing the dimensions.
      • getDimensionsCount

        public int getDimensionsCount()
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Specified by:
        getDimensionsCount in interface ConversionValueRuleSetOrBuilder
        Returns:
        The count of dimensions.
      • getDimensions

        public ValueRuleSetDimensionEnum.ValueRuleSetDimension getDimensions​(int index)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Specified by:
        getDimensions in interface ConversionValueRuleSetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The dimensions at the given index.
      • setDimensions

        public ConversionValueRuleSet.Builder setDimensions​(int index,
                                                            ValueRuleSetDimensionEnum.ValueRuleSetDimension value)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Parameters:
        index - The index to set the value at.
        value - The dimensions to set.
        Returns:
        This builder for chaining.
      • addDimensions

        public ConversionValueRuleSet.Builder addDimensions​(ValueRuleSetDimensionEnum.ValueRuleSetDimension value)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Parameters:
        value - The dimensions to add.
        Returns:
        This builder for chaining.
      • addAllDimensions

        public ConversionValueRuleSet.Builder addAllDimensions​(java.lang.Iterable<? extends ValueRuleSetDimensionEnum.ValueRuleSetDimension> values)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Parameters:
        values - The dimensions to add.
        Returns:
        This builder for chaining.
      • clearDimensions

        public ConversionValueRuleSet.Builder clearDimensions()
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Returns:
        This builder for chaining.
      • getDimensionsValueList

        public java.util.List<java.lang.Integer> getDimensionsValueList()
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Specified by:
        getDimensionsValueList in interface ConversionValueRuleSetOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for dimensions.
      • getDimensionsValue

        public int getDimensionsValue​(int index)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Specified by:
        getDimensionsValue in interface ConversionValueRuleSetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of dimensions at the given index.
      • setDimensionsValue

        public ConversionValueRuleSet.Builder setDimensionsValue​(int index,
                                                                 int value)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for dimensions to set.
        Returns:
        This builder for chaining.
      • addDimensionsValue

        public ConversionValueRuleSet.Builder addDimensionsValue​(int value)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Parameters:
        value - The enum numeric value on the wire for dimensions to add.
        Returns:
        This builder for chaining.
      • addAllDimensionsValue

        public ConversionValueRuleSet.Builder addAllDimensionsValue​(java.lang.Iterable<java.lang.Integer> values)
         Defines dimensions for Value Rule conditions. The condition types of value
         rules within this value rule set must be of these dimensions. The first
         entry in this list is the primary dimension of the included value rules.
         When using value rule primary dimension segmentation, conversion values
         will be segmented into the values adjusted by value rules and the original
         values, if some value rules apply.
         
        repeated .google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
        Parameters:
        values - The enum numeric values on the wire for dimensions to add.
        Returns:
        This builder for chaining.
      • getOwnerCustomer

        public java.lang.String getOwnerCustomer()
         Output only. The resource name of the conversion value rule set's owner
         customer. When the value rule set is inherited from a manager customer,
         owner_customer will be the resource name of the manager whereas the
         customer in the resource_name will be of the requesting serving customer.
         ** Read-only **
         
        string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getOwnerCustomer in interface ConversionValueRuleSetOrBuilder
        Returns:
        The ownerCustomer.
      • getOwnerCustomerBytes

        public com.google.protobuf.ByteString getOwnerCustomerBytes()
         Output only. The resource name of the conversion value rule set's owner
         customer. When the value rule set is inherited from a manager customer,
         owner_customer will be the resource name of the manager whereas the
         customer in the resource_name will be of the requesting serving customer.
         ** Read-only **
         
        string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getOwnerCustomerBytes in interface ConversionValueRuleSetOrBuilder
        Returns:
        The bytes for ownerCustomer.
      • setOwnerCustomer

        public ConversionValueRuleSet.Builder setOwnerCustomer​(java.lang.String value)
         Output only. The resource name of the conversion value rule set's owner
         customer. When the value rule set is inherited from a manager customer,
         owner_customer will be the resource name of the manager whereas the
         customer in the resource_name will be of the requesting serving customer.
         ** Read-only **
         
        string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The ownerCustomer to set.
        Returns:
        This builder for chaining.
      • clearOwnerCustomer

        public ConversionValueRuleSet.Builder clearOwnerCustomer()
         Output only. The resource name of the conversion value rule set's owner
         customer. When the value rule set is inherited from a manager customer,
         owner_customer will be the resource name of the manager whereas the
         customer in the resource_name will be of the requesting serving customer.
         ** Read-only **
         
        string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setOwnerCustomerBytes

        public ConversionValueRuleSet.Builder setOwnerCustomerBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the conversion value rule set's owner
         customer. When the value rule set is inherited from a manager customer,
         owner_customer will be the resource name of the manager whereas the
         customer in the resource_name will be of the requesting serving customer.
         ** Read-only **
         
        string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for ownerCustomer to set.
        Returns:
        This builder for chaining.
      • getAttachmentTypeValue

        public int getAttachmentTypeValue()
         Immutable. Defines the scope where the conversion value rule set is
         attached.
         
        .google.ads.googleads.v14.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getAttachmentTypeValue in interface ConversionValueRuleSetOrBuilder
        Returns:
        The enum numeric value on the wire for attachmentType.
      • setAttachmentTypeValue

        public ConversionValueRuleSet.Builder setAttachmentTypeValue​(int value)
         Immutable. Defines the scope where the conversion value rule set is
         attached.
         
        .google.ads.googleads.v14.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The enum numeric value on the wire for attachmentType to set.
        Returns:
        This builder for chaining.
      • setAttachmentType

        public ConversionValueRuleSet.Builder setAttachmentType​(ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType value)
         Immutable. Defines the scope where the conversion value rule set is
         attached.
         
        .google.ads.googleads.v14.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The attachmentType to set.
        Returns:
        This builder for chaining.
      • clearAttachmentType

        public ConversionValueRuleSet.Builder clearAttachmentType()
         Immutable. Defines the scope where the conversion value rule set is
         attached.
         
        .google.ads.googleads.v14.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • getCampaign

        public java.lang.String getCampaign()
         The resource name of the campaign when the conversion value rule
         set is attached to a campaign.
         
        string campaign = 7 [(.google.api.resource_reference) = { ... }
        Specified by:
        getCampaign in interface ConversionValueRuleSetOrBuilder
        Returns:
        The campaign.
      • getCampaignBytes

        public com.google.protobuf.ByteString getCampaignBytes()
         The resource name of the campaign when the conversion value rule
         set is attached to a campaign.
         
        string campaign = 7 [(.google.api.resource_reference) = { ... }
        Specified by:
        getCampaignBytes in interface ConversionValueRuleSetOrBuilder
        Returns:
        The bytes for campaign.
      • setCampaign

        public ConversionValueRuleSet.Builder setCampaign​(java.lang.String value)
         The resource name of the campaign when the conversion value rule
         set is attached to a campaign.
         
        string campaign = 7 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The campaign to set.
        Returns:
        This builder for chaining.
      • clearCampaign

        public ConversionValueRuleSet.Builder clearCampaign()
         The resource name of the campaign when the conversion value rule
         set is attached to a campaign.
         
        string campaign = 7 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setCampaignBytes

        public ConversionValueRuleSet.Builder setCampaignBytes​(com.google.protobuf.ByteString value)
         The resource name of the campaign when the conversion value rule
         set is attached to a campaign.
         
        string campaign = 7 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for campaign to set.
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         Output only. The status of the conversion value rule set.
         ** Read-only **
         
        .google.ads.googleads.v14.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusValue in interface ConversionValueRuleSetOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public ConversionValueRuleSet.Builder setStatusValue​(int value)
         Output only. The status of the conversion value rule set.
         ** Read-only **
         
        .google.ads.googleads.v14.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public ConversionValueRuleSet.Builder clearStatus()
         Output only. The status of the conversion value rule set.
         ** Read-only **
         
        .google.ads.googleads.v14.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getConversionActionCategoriesCount

        public int getConversionActionCategoriesCount()
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConversionActionCategoriesCount in interface ConversionValueRuleSetOrBuilder
        Returns:
        The count of conversionActionCategories.
      • getConversionActionCategories

        public ConversionActionCategoryEnum.ConversionActionCategory getConversionActionCategories​(int index)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConversionActionCategories in interface ConversionValueRuleSetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The conversionActionCategories at the given index.
      • setConversionActionCategories

        public ConversionValueRuleSet.Builder setConversionActionCategories​(int index,
                                                                            ConversionActionCategoryEnum.ConversionActionCategory value)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        index - The index to set the value at.
        value - The conversionActionCategories to set.
        Returns:
        This builder for chaining.
      • addConversionActionCategories

        public ConversionValueRuleSet.Builder addConversionActionCategories​(ConversionActionCategoryEnum.ConversionActionCategory value)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The conversionActionCategories to add.
        Returns:
        This builder for chaining.
      • addAllConversionActionCategories

        public ConversionValueRuleSet.Builder addAllConversionActionCategories​(java.lang.Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        values - The conversionActionCategories to add.
        Returns:
        This builder for chaining.
      • clearConversionActionCategories

        public ConversionValueRuleSet.Builder clearConversionActionCategories()
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • getConversionActionCategoriesValueList

        public java.util.List<java.lang.Integer> getConversionActionCategoriesValueList()
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConversionActionCategoriesValueList in interface ConversionValueRuleSetOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for conversionActionCategories.
      • getConversionActionCategoriesValue

        public int getConversionActionCategoriesValue​(int index)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConversionActionCategoriesValue in interface ConversionValueRuleSetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of conversionActionCategories at the given index.
      • setConversionActionCategoriesValue

        public ConversionValueRuleSet.Builder setConversionActionCategoriesValue​(int index,
                                                                                 int value)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for conversionActionCategories to set.
        Returns:
        This builder for chaining.
      • addConversionActionCategoriesValue

        public ConversionValueRuleSet.Builder addConversionActionCategoriesValue​(int value)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The enum numeric value on the wire for conversionActionCategories to add.
        Returns:
        This builder for chaining.
      • addAllConversionActionCategoriesValue

        public ConversionValueRuleSet.Builder addAllConversionActionCategoriesValue​(java.lang.Iterable<java.lang.Integer> values)
         Immutable. The conversion action categories of the conversion value rule
         set.
         
        repeated .google.ads.googleads.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        values - The enum numeric values on the wire for conversionActionCategories to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
      • mergeUnknownFields

        public final ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>