Class ClickConversion.Builder

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

public static final class ClickConversion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClickConversion.Builder> implements ClickConversionOrBuilder
 A click conversion.
 
Protobuf type google.ads.googleads.v18.services.ClickConversion
  • 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<ClickConversion.Builder>
    • clear

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

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

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

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

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

      public ClickConversion.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<ClickConversion.Builder>
    • clearField

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

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

      public ClickConversion.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<ClickConversion.Builder>
    • addRepeatedField

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

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

      public ClickConversion.Builder mergeFrom(ClickConversion other)
    • isInitialized

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

      public ClickConversion.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<ClickConversion.Builder>
      Throws:
      IOException
    • hasGclid

      public boolean hasGclid()
       The Google click ID (gclid) associated with this conversion.
       
      optional string gclid = 9;
      Specified by:
      hasGclid in interface ClickConversionOrBuilder
      Returns:
      Whether the gclid field is set.
    • getGclid

      public String getGclid()
       The Google click ID (gclid) associated with this conversion.
       
      optional string gclid = 9;
      Specified by:
      getGclid in interface ClickConversionOrBuilder
      Returns:
      The gclid.
    • getGclidBytes

      public com.google.protobuf.ByteString getGclidBytes()
       The Google click ID (gclid) associated with this conversion.
       
      optional string gclid = 9;
      Specified by:
      getGclidBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for gclid.
    • setGclid

      public ClickConversion.Builder setGclid(String value)
       The Google click ID (gclid) associated with this conversion.
       
      optional string gclid = 9;
      Parameters:
      value - The gclid to set.
      Returns:
      This builder for chaining.
    • clearGclid

      public ClickConversion.Builder clearGclid()
       The Google click ID (gclid) associated with this conversion.
       
      optional string gclid = 9;
      Returns:
      This builder for chaining.
    • setGclidBytes

      public ClickConversion.Builder setGclidBytes(com.google.protobuf.ByteString value)
       The Google click ID (gclid) associated with this conversion.
       
      optional string gclid = 9;
      Parameters:
      value - The bytes for gclid to set.
      Returns:
      This builder for chaining.
    • getGbraid

      public String getGbraid()
       The click identifier for clicks associated with app conversions and
       originating from iOS devices starting with iOS14.
       
      string gbraid = 18;
      Specified by:
      getGbraid in interface ClickConversionOrBuilder
      Returns:
      The gbraid.
    • getGbraidBytes

      public com.google.protobuf.ByteString getGbraidBytes()
       The click identifier for clicks associated with app conversions and
       originating from iOS devices starting with iOS14.
       
      string gbraid = 18;
      Specified by:
      getGbraidBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for gbraid.
    • setGbraid

      public ClickConversion.Builder setGbraid(String value)
       The click identifier for clicks associated with app conversions and
       originating from iOS devices starting with iOS14.
       
      string gbraid = 18;
      Parameters:
      value - The gbraid to set.
      Returns:
      This builder for chaining.
    • clearGbraid

      public ClickConversion.Builder clearGbraid()
       The click identifier for clicks associated with app conversions and
       originating from iOS devices starting with iOS14.
       
      string gbraid = 18;
      Returns:
      This builder for chaining.
    • setGbraidBytes

      public ClickConversion.Builder setGbraidBytes(com.google.protobuf.ByteString value)
       The click identifier for clicks associated with app conversions and
       originating from iOS devices starting with iOS14.
       
      string gbraid = 18;
      Parameters:
      value - The bytes for gbraid to set.
      Returns:
      This builder for chaining.
    • getWbraid

      public String getWbraid()
       The click identifier for clicks associated with web conversions and
       originating from iOS devices starting with iOS14.
       
      string wbraid = 19;
      Specified by:
      getWbraid in interface ClickConversionOrBuilder
      Returns:
      The wbraid.
    • getWbraidBytes

      public com.google.protobuf.ByteString getWbraidBytes()
       The click identifier for clicks associated with web conversions and
       originating from iOS devices starting with iOS14.
       
      string wbraid = 19;
      Specified by:
      getWbraidBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for wbraid.
    • setWbraid

      public ClickConversion.Builder setWbraid(String value)
       The click identifier for clicks associated with web conversions and
       originating from iOS devices starting with iOS14.
       
      string wbraid = 19;
      Parameters:
      value - The wbraid to set.
      Returns:
      This builder for chaining.
    • clearWbraid

      public ClickConversion.Builder clearWbraid()
       The click identifier for clicks associated with web conversions and
       originating from iOS devices starting with iOS14.
       
      string wbraid = 19;
      Returns:
      This builder for chaining.
    • setWbraidBytes

      public ClickConversion.Builder setWbraidBytes(com.google.protobuf.ByteString value)
       The click identifier for clicks associated with web conversions and
       originating from iOS devices starting with iOS14.
       
      string wbraid = 19;
      Parameters:
      value - The bytes for wbraid to set.
      Returns:
      This builder for chaining.
    • hasConversionAction

      public boolean hasConversionAction()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 10;
      Specified by:
      hasConversionAction in interface ClickConversionOrBuilder
      Returns:
      Whether the conversionAction field is set.
    • getConversionAction

      public String getConversionAction()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 10;
      Specified by:
      getConversionAction in interface ClickConversionOrBuilder
      Returns:
      The conversionAction.
    • getConversionActionBytes

      public com.google.protobuf.ByteString getConversionActionBytes()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 10;
      Specified by:
      getConversionActionBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for conversionAction.
    • setConversionAction

      public ClickConversion.Builder setConversionAction(String value)
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 10;
      Parameters:
      value - The conversionAction to set.
      Returns:
      This builder for chaining.
    • clearConversionAction

      public ClickConversion.Builder clearConversionAction()
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 10;
      Returns:
      This builder for chaining.
    • setConversionActionBytes

      public ClickConversion.Builder setConversionActionBytes(com.google.protobuf.ByteString value)
       Resource name of the conversion action associated with this conversion.
       Note: Although this resource name consists of a customer id and a
       conversion action id, validation will ignore the customer id and use the
       conversion action id as the sole identifier of the conversion action.
       
      optional string conversion_action = 10;
      Parameters:
      value - The bytes for conversionAction to set.
      Returns:
      This builder for chaining.
    • hasConversionDateTime

      public boolean hasConversionDateTime()
       The date time at which the conversion occurred. Must be after
       the click time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 11;
      Specified by:
      hasConversionDateTime in interface ClickConversionOrBuilder
      Returns:
      Whether the conversionDateTime field is set.
    • getConversionDateTime

      public String getConversionDateTime()
       The date time at which the conversion occurred. Must be after
       the click time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 11;
      Specified by:
      getConversionDateTime in interface ClickConversionOrBuilder
      Returns:
      The conversionDateTime.
    • getConversionDateTimeBytes

      public com.google.protobuf.ByteString getConversionDateTimeBytes()
       The date time at which the conversion occurred. Must be after
       the click time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 11;
      Specified by:
      getConversionDateTimeBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for conversionDateTime.
    • setConversionDateTime

      public ClickConversion.Builder setConversionDateTime(String value)
       The date time at which the conversion occurred. Must be after
       the click time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 11;
      Parameters:
      value - The conversionDateTime to set.
      Returns:
      This builder for chaining.
    • clearConversionDateTime

      public ClickConversion.Builder clearConversionDateTime()
       The date time at which the conversion occurred. Must be after
       the click time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 11;
      Returns:
      This builder for chaining.
    • setConversionDateTimeBytes

      public ClickConversion.Builder setConversionDateTimeBytes(com.google.protobuf.ByteString value)
       The date time at which the conversion occurred. Must be after
       the click time. The timezone must be specified. The format is
       "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
       
      optional string conversion_date_time = 11;
      Parameters:
      value - The bytes for conversionDateTime to set.
      Returns:
      This builder for chaining.
    • hasConversionValue

      public boolean hasConversionValue()
       The value of the conversion for the advertiser.
       
      optional double conversion_value = 12;
      Specified by:
      hasConversionValue in interface ClickConversionOrBuilder
      Returns:
      Whether the conversionValue field is set.
    • getConversionValue

      public double getConversionValue()
       The value of the conversion for the advertiser.
       
      optional double conversion_value = 12;
      Specified by:
      getConversionValue in interface ClickConversionOrBuilder
      Returns:
      The conversionValue.
    • setConversionValue

      public ClickConversion.Builder setConversionValue(double value)
       The value of the conversion for the advertiser.
       
      optional double conversion_value = 12;
      Parameters:
      value - The conversionValue to set.
      Returns:
      This builder for chaining.
    • clearConversionValue

      public ClickConversion.Builder clearConversionValue()
       The value of the conversion for the advertiser.
       
      optional double conversion_value = 12;
      Returns:
      This builder for chaining.
    • hasCurrencyCode

      public boolean hasCurrencyCode()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 13;
      Specified by:
      hasCurrencyCode in interface ClickConversionOrBuilder
      Returns:
      Whether the currencyCode field is set.
    • getCurrencyCode

      public String getCurrencyCode()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 13;
      Specified by:
      getCurrencyCode in interface ClickConversionOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 13;
      Specified by:
      getCurrencyCodeBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for currencyCode.
    • setCurrencyCode

      public ClickConversion.Builder setCurrencyCode(String value)
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 13;
      Parameters:
      value - The currencyCode to set.
      Returns:
      This builder for chaining.
    • clearCurrencyCode

      public ClickConversion.Builder clearCurrencyCode()
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 13;
      Returns:
      This builder for chaining.
    • setCurrencyCodeBytes

      public ClickConversion.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
       Currency associated with the conversion value. This is the ISO 4217
       3-character currency code. For example: USD, EUR.
       
      optional string currency_code = 13;
      Parameters:
      value - The bytes for currencyCode to set.
      Returns:
      This builder for chaining.
    • hasOrderId

      public boolean hasOrderId()
       The order ID associated with the conversion. An order id can only be used
       for one conversion per conversion action.
       
      optional string order_id = 14;
      Specified by:
      hasOrderId in interface ClickConversionOrBuilder
      Returns:
      Whether the orderId field is set.
    • getOrderId

      public String getOrderId()
       The order ID associated with the conversion. An order id can only be used
       for one conversion per conversion action.
       
      optional string order_id = 14;
      Specified by:
      getOrderId in interface ClickConversionOrBuilder
      Returns:
      The orderId.
    • getOrderIdBytes

      public com.google.protobuf.ByteString getOrderIdBytes()
       The order ID associated with the conversion. An order id can only be used
       for one conversion per conversion action.
       
      optional string order_id = 14;
      Specified by:
      getOrderIdBytes in interface ClickConversionOrBuilder
      Returns:
      The bytes for orderId.
    • setOrderId

      public ClickConversion.Builder setOrderId(String value)
       The order ID associated with the conversion. An order id can only be used
       for one conversion per conversion action.
       
      optional string order_id = 14;
      Parameters:
      value - The orderId to set.
      Returns:
      This builder for chaining.
    • clearOrderId

      public ClickConversion.Builder clearOrderId()
       The order ID associated with the conversion. An order id can only be used
       for one conversion per conversion action.
       
      optional string order_id = 14;
      Returns:
      This builder for chaining.
    • setOrderIdBytes

      public ClickConversion.Builder setOrderIdBytes(com.google.protobuf.ByteString value)
       The order ID associated with the conversion. An order id can only be used
       for one conversion per conversion action.
       
      optional string order_id = 14;
      Parameters:
      value - The bytes for orderId to set.
      Returns:
      This builder for chaining.
    • hasExternalAttributionData

      public boolean hasExternalAttributionData()
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
      Specified by:
      hasExternalAttributionData in interface ClickConversionOrBuilder
      Returns:
      Whether the externalAttributionData field is set.
    • getExternalAttributionData

      public ExternalAttributionData getExternalAttributionData()
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
      Specified by:
      getExternalAttributionData in interface ClickConversionOrBuilder
      Returns:
      The externalAttributionData.
    • setExternalAttributionData

      public ClickConversion.Builder setExternalAttributionData(ExternalAttributionData value)
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
    • setExternalAttributionData

      public ClickConversion.Builder setExternalAttributionData(ExternalAttributionData.Builder builderForValue)
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
    • mergeExternalAttributionData

      public ClickConversion.Builder mergeExternalAttributionData(ExternalAttributionData value)
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
    • clearExternalAttributionData

      public ClickConversion.Builder clearExternalAttributionData()
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
    • getExternalAttributionDataBuilder

      public ExternalAttributionData.Builder getExternalAttributionDataBuilder()
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
    • getExternalAttributionDataOrBuilder

      public ExternalAttributionDataOrBuilder getExternalAttributionDataOrBuilder()
       Additional data about externally attributed conversions. This field
       is required for conversions with an externally attributed conversion
       action, but should not be set otherwise.
       
      .google.ads.googleads.v18.services.ExternalAttributionData external_attribution_data = 7;
      Specified by:
      getExternalAttributionDataOrBuilder in interface ClickConversionOrBuilder
    • getCustomVariablesList

      public List<CustomVariable> getCustomVariablesList()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
      Specified by:
      getCustomVariablesList in interface ClickConversionOrBuilder
    • getCustomVariablesCount

      public int getCustomVariablesCount()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
      Specified by:
      getCustomVariablesCount in interface ClickConversionOrBuilder
    • getCustomVariables

      public CustomVariable getCustomVariables(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
      Specified by:
      getCustomVariables in interface ClickConversionOrBuilder
    • setCustomVariables

      public ClickConversion.Builder setCustomVariables(int index, CustomVariable value)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • setCustomVariables

      public ClickConversion.Builder setCustomVariables(int index, CustomVariable.Builder builderForValue)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • addCustomVariables

      public ClickConversion.Builder addCustomVariables(CustomVariable value)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • addCustomVariables

      public ClickConversion.Builder addCustomVariables(int index, CustomVariable value)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • addCustomVariables

      public ClickConversion.Builder addCustomVariables(CustomVariable.Builder builderForValue)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • addCustomVariables

      public ClickConversion.Builder addCustomVariables(int index, CustomVariable.Builder builderForValue)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • addAllCustomVariables

      public ClickConversion.Builder addAllCustomVariables(Iterable<? extends CustomVariable> values)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • clearCustomVariables

      public ClickConversion.Builder clearCustomVariables()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • removeCustomVariables

      public ClickConversion.Builder removeCustomVariables(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • getCustomVariablesBuilder

      public CustomVariable.Builder getCustomVariablesBuilder(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • getCustomVariablesOrBuilder

      public CustomVariableOrBuilder getCustomVariablesOrBuilder(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
      Specified by:
      getCustomVariablesOrBuilder in interface ClickConversionOrBuilder
    • getCustomVariablesOrBuilderList

      public List<? extends CustomVariableOrBuilder> getCustomVariablesOrBuilderList()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
      Specified by:
      getCustomVariablesOrBuilderList in interface ClickConversionOrBuilder
    • addCustomVariablesBuilder

      public CustomVariable.Builder addCustomVariablesBuilder()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • addCustomVariablesBuilder

      public CustomVariable.Builder addCustomVariablesBuilder(int index)
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • getCustomVariablesBuilderList

      public List<CustomVariable.Builder> getCustomVariablesBuilderList()
       The custom variables associated with this conversion.
       
      repeated .google.ads.googleads.v18.services.CustomVariable custom_variables = 15;
    • hasCartData

      public boolean hasCartData()
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
      Specified by:
      hasCartData in interface ClickConversionOrBuilder
      Returns:
      Whether the cartData field is set.
    • getCartData

      public CartData getCartData()
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
      Specified by:
      getCartData in interface ClickConversionOrBuilder
      Returns:
      The cartData.
    • setCartData

      public ClickConversion.Builder setCartData(CartData value)
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
    • setCartData

      public ClickConversion.Builder setCartData(CartData.Builder builderForValue)
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
    • mergeCartData

      public ClickConversion.Builder mergeCartData(CartData value)
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
    • clearCartData

      public ClickConversion.Builder clearCartData()
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
    • getCartDataBuilder

      public CartData.Builder getCartDataBuilder()
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
    • getCartDataOrBuilder

      public CartDataOrBuilder getCartDataOrBuilder()
       The cart data associated with this conversion.
       
      .google.ads.googleads.v18.services.CartData cart_data = 16;
      Specified by:
      getCartDataOrBuilder in interface ClickConversionOrBuilder
    • getUserIdentifiersList

      public List<UserIdentifier> getUserIdentifiersList()
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
      Specified by:
      getUserIdentifiersList in interface ClickConversionOrBuilder
    • getUserIdentifiersCount

      public int getUserIdentifiersCount()
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
      Specified by:
      getUserIdentifiersCount in interface ClickConversionOrBuilder
    • getUserIdentifiers

      public UserIdentifier getUserIdentifiers(int index)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
      Specified by:
      getUserIdentifiers in interface ClickConversionOrBuilder
    • setUserIdentifiers

      public ClickConversion.Builder setUserIdentifiers(int index, UserIdentifier value)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • setUserIdentifiers

      public ClickConversion.Builder setUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • addUserIdentifiers

      public ClickConversion.Builder addUserIdentifiers(UserIdentifier value)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • addUserIdentifiers

      public ClickConversion.Builder addUserIdentifiers(int index, UserIdentifier value)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • addUserIdentifiers

      public ClickConversion.Builder addUserIdentifiers(UserIdentifier.Builder builderForValue)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • addUserIdentifiers

      public ClickConversion.Builder addUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • addAllUserIdentifiers

      public ClickConversion.Builder addAllUserIdentifiers(Iterable<? extends UserIdentifier> values)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • clearUserIdentifiers

      public ClickConversion.Builder clearUserIdentifiers()
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • removeUserIdentifiers

      public ClickConversion.Builder removeUserIdentifiers(int index)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • getUserIdentifiersBuilder

      public UserIdentifier.Builder getUserIdentifiersBuilder(int index)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • getUserIdentifiersOrBuilder

      public UserIdentifierOrBuilder getUserIdentifiersOrBuilder(int index)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
      Specified by:
      getUserIdentifiersOrBuilder in interface ClickConversionOrBuilder
    • getUserIdentifiersOrBuilderList

      public List<? extends UserIdentifierOrBuilder> getUserIdentifiersOrBuilderList()
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
      Specified by:
      getUserIdentifiersOrBuilderList in interface ClickConversionOrBuilder
    • addUserIdentifiersBuilder

      public UserIdentifier.Builder addUserIdentifiersBuilder()
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • addUserIdentifiersBuilder

      public UserIdentifier.Builder addUserIdentifiersBuilder(int index)
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • getUserIdentifiersBuilderList

      public List<UserIdentifier.Builder> getUserIdentifiersBuilderList()
       The user identifiers associated with this conversion. Only hashed_email and
       hashed_phone_number are supported for conversion uploads. The maximum
       number of user identifiers for each conversion is 5.
       
      repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17;
    • getConversionEnvironmentValue

      public int getConversionEnvironmentValue()
       The environment this conversion was recorded on, for example, App or Web.
       
      .google.ads.googleads.v18.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20;
      Specified by:
      getConversionEnvironmentValue in interface ClickConversionOrBuilder
      Returns:
      The enum numeric value on the wire for conversionEnvironment.
    • setConversionEnvironmentValue

      public ClickConversion.Builder setConversionEnvironmentValue(int value)
       The environment this conversion was recorded on, for example, App or Web.
       
      .google.ads.googleads.v18.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20;
      Parameters:
      value - The enum numeric value on the wire for conversionEnvironment to set.
      Returns:
      This builder for chaining.
    • getConversionEnvironment

      public ConversionEnvironmentEnum.ConversionEnvironment getConversionEnvironment()
       The environment this conversion was recorded on, for example, App or Web.
       
      .google.ads.googleads.v18.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20;
      Specified by:
      getConversionEnvironment in interface ClickConversionOrBuilder
      Returns:
      The conversionEnvironment.
    • setConversionEnvironment

       The environment this conversion was recorded on, for example, App or Web.
       
      .google.ads.googleads.v18.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20;
      Parameters:
      value - The conversionEnvironment to set.
      Returns:
      This builder for chaining.
    • clearConversionEnvironment

      public ClickConversion.Builder clearConversionEnvironment()
       The environment this conversion was recorded on, for example, App or Web.
       
      .google.ads.googleads.v18.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20;
      Returns:
      This builder for chaining.
    • hasConsent

      public boolean hasConsent()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
      Specified by:
      hasConsent in interface ClickConversionOrBuilder
      Returns:
      Whether the consent field is set.
    • getConsent

      public Consent getConsent()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
      Specified by:
      getConsent in interface ClickConversionOrBuilder
      Returns:
      The consent.
    • setConsent

      public ClickConversion.Builder setConsent(Consent value)
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
    • setConsent

      public ClickConversion.Builder setConsent(Consent.Builder builderForValue)
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
    • mergeConsent

      public ClickConversion.Builder mergeConsent(Consent value)
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
    • clearConsent

      public ClickConversion.Builder clearConsent()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
    • getConsentBuilder

      public Consent.Builder getConsentBuilder()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
    • getConsentOrBuilder

      public ConsentOrBuilder getConsentOrBuilder()
       The consent setting for the event.
       
      .google.ads.googleads.v18.common.Consent consent = 23;
      Specified by:
      getConsentOrBuilder in interface ClickConversionOrBuilder
    • setUnknownFields

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

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