Class ConversionAdjustment.Builder

  • All Implemented Interfaces:
    ConversionAdjustmentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    ConversionAdjustment

    public static final class ConversionAdjustment.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionAdjustment.Builder>
    implements ConversionAdjustmentOrBuilder
     A conversion adjustment.
     
    Protobuf type google.ads.googleads.v13.services.ConversionAdjustment
    • 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<ConversionAdjustment.Builder>
      • clear

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

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

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

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

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

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

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

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

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

        public ConversionAdjustment.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<ConversionAdjustment.Builder>
      • isInitialized

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

        public ConversionAdjustment.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<ConversionAdjustment.Builder>
        Throws:
        java.io.IOException
      • hasGclidDateTimePair

        public boolean hasGclidDateTimePair()
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
        Specified by:
        hasGclidDateTimePair in interface ConversionAdjustmentOrBuilder
        Returns:
        Whether the gclidDateTimePair field is set.
      • getGclidDateTimePair

        public GclidDateTimePair getGclidDateTimePair()
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
        Specified by:
        getGclidDateTimePair in interface ConversionAdjustmentOrBuilder
        Returns:
        The gclidDateTimePair.
      • setGclidDateTimePair

        public ConversionAdjustment.Builder setGclidDateTimePair​(GclidDateTimePair value)
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
      • setGclidDateTimePair

        public ConversionAdjustment.Builder setGclidDateTimePair​(GclidDateTimePair.Builder builderForValue)
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
      • mergeGclidDateTimePair

        public ConversionAdjustment.Builder mergeGclidDateTimePair​(GclidDateTimePair value)
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
      • clearGclidDateTimePair

        public ConversionAdjustment.Builder clearGclidDateTimePair()
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
      • getGclidDateTimePairBuilder

        public GclidDateTimePair.Builder getGclidDateTimePairBuilder()
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
      • getGclidDateTimePairOrBuilder

        public GclidDateTimePairOrBuilder getGclidDateTimePairOrBuilder()
         For adjustments, uniquely identifies a conversion that was reported
         without an order ID specified. If the adjustment_type is ENHANCEMENT, this
         value is optional but may be set in addition to the order_id.
         
        .google.ads.googleads.v13.services.GclidDateTimePair gclid_date_time_pair = 12;
        Specified by:
        getGclidDateTimePairOrBuilder in interface ConversionAdjustmentOrBuilder
      • hasOrderId

        public boolean hasOrderId()
         The order ID of the conversion to be adjusted. If the conversion was
         reported with an order ID specified, that order ID must be used as the
         identifier here. The order ID is required for enhancements.
         
        optional string order_id = 13;
        Specified by:
        hasOrderId in interface ConversionAdjustmentOrBuilder
        Returns:
        Whether the orderId field is set.
      • getOrderId

        public java.lang.String getOrderId()
         The order ID of the conversion to be adjusted. If the conversion was
         reported with an order ID specified, that order ID must be used as the
         identifier here. The order ID is required for enhancements.
         
        optional string order_id = 13;
        Specified by:
        getOrderId in interface ConversionAdjustmentOrBuilder
        Returns:
        The orderId.
      • getOrderIdBytes

        public com.google.protobuf.ByteString getOrderIdBytes()
         The order ID of the conversion to be adjusted. If the conversion was
         reported with an order ID specified, that order ID must be used as the
         identifier here. The order ID is required for enhancements.
         
        optional string order_id = 13;
        Specified by:
        getOrderIdBytes in interface ConversionAdjustmentOrBuilder
        Returns:
        The bytes for orderId.
      • setOrderId

        public ConversionAdjustment.Builder setOrderId​(java.lang.String value)
         The order ID of the conversion to be adjusted. If the conversion was
         reported with an order ID specified, that order ID must be used as the
         identifier here. The order ID is required for enhancements.
         
        optional string order_id = 13;
        Parameters:
        value - The orderId to set.
        Returns:
        This builder for chaining.
      • clearOrderId

        public ConversionAdjustment.Builder clearOrderId()
         The order ID of the conversion to be adjusted. If the conversion was
         reported with an order ID specified, that order ID must be used as the
         identifier here. The order ID is required for enhancements.
         
        optional string order_id = 13;
        Returns:
        This builder for chaining.
      • setOrderIdBytes

        public ConversionAdjustment.Builder setOrderIdBytes​(com.google.protobuf.ByteString value)
         The order ID of the conversion to be adjusted. If the conversion was
         reported with an order ID specified, that order ID must be used as the
         identifier here. The order ID is required for enhancements.
         
        optional string order_id = 13;
        Parameters:
        value - The bytes for orderId to set.
        Returns:
        This builder for chaining.
      • hasConversionAction

        public boolean hasConversionAction()
         Resource name of the conversion action associated with this conversion
         adjustment. 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 = 8;
        Specified by:
        hasConversionAction in interface ConversionAdjustmentOrBuilder
        Returns:
        Whether the conversionAction field is set.
      • getConversionAction

        public java.lang.String getConversionAction()
         Resource name of the conversion action associated with this conversion
         adjustment. 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 = 8;
        Specified by:
        getConversionAction in interface ConversionAdjustmentOrBuilder
        Returns:
        The conversionAction.
      • getConversionActionBytes

        public com.google.protobuf.ByteString getConversionActionBytes()
         Resource name of the conversion action associated with this conversion
         adjustment. 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 = 8;
        Specified by:
        getConversionActionBytes in interface ConversionAdjustmentOrBuilder
        Returns:
        The bytes for conversionAction.
      • setConversionAction

        public ConversionAdjustment.Builder setConversionAction​(java.lang.String value)
         Resource name of the conversion action associated with this conversion
         adjustment. 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 = 8;
        Parameters:
        value - The conversionAction to set.
        Returns:
        This builder for chaining.
      • clearConversionAction

        public ConversionAdjustment.Builder clearConversionAction()
         Resource name of the conversion action associated with this conversion
         adjustment. 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 = 8;
        Returns:
        This builder for chaining.
      • setConversionActionBytes

        public ConversionAdjustment.Builder setConversionActionBytes​(com.google.protobuf.ByteString value)
         Resource name of the conversion action associated with this conversion
         adjustment. 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 = 8;
        Parameters:
        value - The bytes for conversionAction to set.
        Returns:
        This builder for chaining.
      • hasAdjustmentDateTime

        public boolean hasAdjustmentDateTime()
         The date time at which the adjustment occurred. Must be after the
         conversion_date_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 adjustment_date_time = 9;
        Specified by:
        hasAdjustmentDateTime in interface ConversionAdjustmentOrBuilder
        Returns:
        Whether the adjustmentDateTime field is set.
      • getAdjustmentDateTime

        public java.lang.String getAdjustmentDateTime()
         The date time at which the adjustment occurred. Must be after the
         conversion_date_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 adjustment_date_time = 9;
        Specified by:
        getAdjustmentDateTime in interface ConversionAdjustmentOrBuilder
        Returns:
        The adjustmentDateTime.
      • getAdjustmentDateTimeBytes

        public com.google.protobuf.ByteString getAdjustmentDateTimeBytes()
         The date time at which the adjustment occurred. Must be after the
         conversion_date_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 adjustment_date_time = 9;
        Specified by:
        getAdjustmentDateTimeBytes in interface ConversionAdjustmentOrBuilder
        Returns:
        The bytes for adjustmentDateTime.
      • setAdjustmentDateTime

        public ConversionAdjustment.Builder setAdjustmentDateTime​(java.lang.String value)
         The date time at which the adjustment occurred. Must be after the
         conversion_date_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 adjustment_date_time = 9;
        Parameters:
        value - The adjustmentDateTime to set.
        Returns:
        This builder for chaining.
      • clearAdjustmentDateTime

        public ConversionAdjustment.Builder clearAdjustmentDateTime()
         The date time at which the adjustment occurred. Must be after the
         conversion_date_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 adjustment_date_time = 9;
        Returns:
        This builder for chaining.
      • setAdjustmentDateTimeBytes

        public ConversionAdjustment.Builder setAdjustmentDateTimeBytes​(com.google.protobuf.ByteString value)
         The date time at which the adjustment occurred. Must be after the
         conversion_date_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 adjustment_date_time = 9;
        Parameters:
        value - The bytes for adjustmentDateTime to set.
        Returns:
        This builder for chaining.
      • getAdjustmentTypeValue

        public int getAdjustmentTypeValue()
         The adjustment type.
         
        .google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;
        Specified by:
        getAdjustmentTypeValue in interface ConversionAdjustmentOrBuilder
        Returns:
        The enum numeric value on the wire for adjustmentType.
      • setAdjustmentTypeValue

        public ConversionAdjustment.Builder setAdjustmentTypeValue​(int value)
         The adjustment type.
         
        .google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;
        Parameters:
        value - The enum numeric value on the wire for adjustmentType to set.
        Returns:
        This builder for chaining.
      • clearAdjustmentType

        public ConversionAdjustment.Builder clearAdjustmentType()
         The adjustment type.
         
        .google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5;
        Returns:
        This builder for chaining.
      • hasRestatementValue

        public boolean hasRestatementValue()
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
        Specified by:
        hasRestatementValue in interface ConversionAdjustmentOrBuilder
        Returns:
        Whether the restatementValue field is set.
      • getRestatementValue

        public RestatementValue getRestatementValue()
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
        Specified by:
        getRestatementValue in interface ConversionAdjustmentOrBuilder
        Returns:
        The restatementValue.
      • setRestatementValue

        public ConversionAdjustment.Builder setRestatementValue​(RestatementValue value)
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
      • setRestatementValue

        public ConversionAdjustment.Builder setRestatementValue​(RestatementValue.Builder builderForValue)
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
      • mergeRestatementValue

        public ConversionAdjustment.Builder mergeRestatementValue​(RestatementValue value)
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
      • clearRestatementValue

        public ConversionAdjustment.Builder clearRestatementValue()
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
      • getRestatementValueBuilder

        public RestatementValue.Builder getRestatementValueBuilder()
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
      • getRestatementValueOrBuilder

        public RestatementValueOrBuilder getRestatementValueOrBuilder()
         Information needed to restate the conversion's value.
         Required for restatements. Should not be supplied for retractions. An error
         will be returned if provided for a retraction.
         NOTE: If you want to upload a second restatement with a different adjusted
         value, it must have a new, more recent, adjustment occurrence time.
         Otherwise, it will be treated as a duplicate of the previous restatement
         and ignored.
         
        .google.ads.googleads.v13.services.RestatementValue restatement_value = 6;
        Specified by:
        getRestatementValueOrBuilder in interface ConversionAdjustmentOrBuilder
      • getUserIdentifiersList

        public java.util.List<UserIdentifier> getUserIdentifiersList()
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
        Specified by:
        getUserIdentifiersList in interface ConversionAdjustmentOrBuilder
      • getUserIdentifiersCount

        public int getUserIdentifiersCount()
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
        Specified by:
        getUserIdentifiersCount in interface ConversionAdjustmentOrBuilder
      • getUserIdentifiers

        public UserIdentifier getUserIdentifiers​(int index)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
        Specified by:
        getUserIdentifiers in interface ConversionAdjustmentOrBuilder
      • setUserIdentifiers

        public ConversionAdjustment.Builder setUserIdentifiers​(int index,
                                                               UserIdentifier value)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • setUserIdentifiers

        public ConversionAdjustment.Builder setUserIdentifiers​(int index,
                                                               UserIdentifier.Builder builderForValue)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • addUserIdentifiers

        public ConversionAdjustment.Builder addUserIdentifiers​(UserIdentifier value)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • addUserIdentifiers

        public ConversionAdjustment.Builder addUserIdentifiers​(int index,
                                                               UserIdentifier value)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • addUserIdentifiers

        public ConversionAdjustment.Builder addUserIdentifiers​(UserIdentifier.Builder builderForValue)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • addUserIdentifiers

        public ConversionAdjustment.Builder addUserIdentifiers​(int index,
                                                               UserIdentifier.Builder builderForValue)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • addAllUserIdentifiers

        public ConversionAdjustment.Builder addAllUserIdentifiers​(java.lang.Iterable<? extends UserIdentifier> values)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • clearUserIdentifiers

        public ConversionAdjustment.Builder clearUserIdentifiers()
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • removeUserIdentifiers

        public ConversionAdjustment.Builder removeUserIdentifiers​(int index)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • getUserIdentifiersBuilder

        public UserIdentifier.Builder getUserIdentifiersBuilder​(int index)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • getUserIdentifiersOrBuilder

        public UserIdentifierOrBuilder getUserIdentifiersOrBuilder​(int index)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
        Specified by:
        getUserIdentifiersOrBuilder in interface ConversionAdjustmentOrBuilder
      • getUserIdentifiersOrBuilderList

        public java.util.List<? extends UserIdentifierOrBuilder> getUserIdentifiersOrBuilderList()
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
        Specified by:
        getUserIdentifiersOrBuilderList in interface ConversionAdjustmentOrBuilder
      • addUserIdentifiersBuilder

        public UserIdentifier.Builder addUserIdentifiersBuilder()
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • addUserIdentifiersBuilder

        public UserIdentifier.Builder addUserIdentifiersBuilder​(int index)
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • getUserIdentifiersBuilderList

        public java.util.List<UserIdentifier.Builder> getUserIdentifiersBuilderList()
         The user identifiers to enhance the original conversion.
         ConversionAdjustmentUploadService only accepts user identifiers in
         enhancements. The maximum number of user identifiers for each
         enhancement is 5.
         
        repeated .google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10;
      • hasUserAgent

        public boolean hasUserAgent()
         The user agent to enhance the original conversion. This can be found in
         your user's HTTP request header when they convert on your web page.
         Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User
         agent can only be specified in enhancements with user identifiers. This
         should match the user agent of the request that sent the original
         conversion so the conversion and its enhancement are either both attributed
         as same-device or both attributed as cross-device.
         
        optional string user_agent = 11;
        Specified by:
        hasUserAgent in interface ConversionAdjustmentOrBuilder
        Returns:
        Whether the userAgent field is set.
      • getUserAgent

        public java.lang.String getUserAgent()
         The user agent to enhance the original conversion. This can be found in
         your user's HTTP request header when they convert on your web page.
         Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User
         agent can only be specified in enhancements with user identifiers. This
         should match the user agent of the request that sent the original
         conversion so the conversion and its enhancement are either both attributed
         as same-device or both attributed as cross-device.
         
        optional string user_agent = 11;
        Specified by:
        getUserAgent in interface ConversionAdjustmentOrBuilder
        Returns:
        The userAgent.
      • getUserAgentBytes

        public com.google.protobuf.ByteString getUserAgentBytes()
         The user agent to enhance the original conversion. This can be found in
         your user's HTTP request header when they convert on your web page.
         Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User
         agent can only be specified in enhancements with user identifiers. This
         should match the user agent of the request that sent the original
         conversion so the conversion and its enhancement are either both attributed
         as same-device or both attributed as cross-device.
         
        optional string user_agent = 11;
        Specified by:
        getUserAgentBytes in interface ConversionAdjustmentOrBuilder
        Returns:
        The bytes for userAgent.
      • setUserAgent

        public ConversionAdjustment.Builder setUserAgent​(java.lang.String value)
         The user agent to enhance the original conversion. This can be found in
         your user's HTTP request header when they convert on your web page.
         Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User
         agent can only be specified in enhancements with user identifiers. This
         should match the user agent of the request that sent the original
         conversion so the conversion and its enhancement are either both attributed
         as same-device or both attributed as cross-device.
         
        optional string user_agent = 11;
        Parameters:
        value - The userAgent to set.
        Returns:
        This builder for chaining.
      • clearUserAgent

        public ConversionAdjustment.Builder clearUserAgent()
         The user agent to enhance the original conversion. This can be found in
         your user's HTTP request header when they convert on your web page.
         Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User
         agent can only be specified in enhancements with user identifiers. This
         should match the user agent of the request that sent the original
         conversion so the conversion and its enhancement are either both attributed
         as same-device or both attributed as cross-device.
         
        optional string user_agent = 11;
        Returns:
        This builder for chaining.
      • setUserAgentBytes

        public ConversionAdjustment.Builder setUserAgentBytes​(com.google.protobuf.ByteString value)
         The user agent to enhance the original conversion. This can be found in
         your user's HTTP request header when they convert on your web page.
         Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User
         agent can only be specified in enhancements with user identifiers. This
         should match the user agent of the request that sent the original
         conversion so the conversion and its enhancement are either both attributed
         as same-device or both attributed as cross-device.
         
        optional string user_agent = 11;
        Parameters:
        value - The bytes for userAgent to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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