Class ConversionValueRuleSet.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
com.google.ads.googleads.v18.resources.ConversionValueRuleSet.Builder
All Implemented Interfaces:
ConversionValueRuleSetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConversionValueRuleSet

public static final class ConversionValueRuleSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder> implements ConversionValueRuleSetOrBuilder
 A conversion value rule set
 
Protobuf type google.ads.googleads.v18.resources.ConversionValueRuleSet
  • Method Details

    • 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

      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

      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, 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, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
    • mergeFrom

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

    • 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 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:
      IOException
    • getResourceName

      public 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(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

       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 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, 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(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(Iterable<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

       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.v18.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.v18.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.v18.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

       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.v18.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

       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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
      Parameters:
      value - The dimensions to add.
      Returns:
      This builder for chaining.
    • addAllDimensions

       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.v18.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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
      Returns:
      This builder for chaining.
    • getDimensionsValueList

      public List<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.v18.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.v18.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.v18.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.v18.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(Iterable<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.v18.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 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(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.v18.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.v18.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.
    • getAttachmentType

       Immutable. Defines the scope where the conversion value rule set is
       attached.
       
      .google.ads.googleads.v18.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAttachmentType in interface ConversionValueRuleSetOrBuilder
      Returns:
      The attachmentType.
    • setAttachmentType

       Immutable. Defines the scope where the conversion value rule set is
       attached.
       
      .google.ads.googleads.v18.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.v18.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getCampaign

      public 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(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.v18.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.v18.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.
    • getStatus

       Output only. The status of the conversion value rule set.
       ** Read-only **
       
      .google.ads.googleads.v18.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface ConversionValueRuleSetOrBuilder
      Returns:
      The status.
    • setStatus

       Output only. The status of the conversion value rule set.
       ** Read-only **
       
      .google.ads.googleads.v18.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The 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.v18.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getConversionActionCategoriesList

      public List<ConversionActionCategoryEnum.ConversionActionCategory> getConversionActionCategoriesList()
       Immutable. The conversion action categories of the conversion value rule
       set.
       
      repeated .google.ads.googleads.v18.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getConversionActionCategoriesList in interface ConversionValueRuleSetOrBuilder
      Returns:
      A list containing the conversionActionCategories.
    • getConversionActionCategoriesCount

      public int getConversionActionCategoriesCount()
       Immutable. The conversion action categories of the conversion value rule
       set.
       
      repeated .google.ads.googleads.v18.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.v18.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.v18.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

       Immutable. The conversion action categories of the conversion value rule
       set.
       
      repeated .google.ads.googleads.v18.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(Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values)
       Immutable. The conversion action categories of the conversion value rule
       set.
       
      repeated .google.ads.googleads.v18.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.v18.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getConversionActionCategoriesValueList

      public List<Integer> getConversionActionCategoriesValueList()
       Immutable. The conversion action categories of the conversion value rule
       set.
       
      repeated .google.ads.googleads.v18.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.v18.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.v18.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.v18.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(Iterable<Integer> values)
       Immutable. The conversion action categories of the conversion value rule
       set.
       
      repeated .google.ads.googleads.v18.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>