Class ClickConversionResult.Builder

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

    public static final class ClickConversionResult.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ClickConversionResult.Builder>
    implements ClickConversionResultOrBuilder
     Identifying information for a successfully processed ClickConversion.
     
    Protobuf type google.ads.googleads.v10.services.ClickConversionResult
    • 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<ClickConversionResult.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.String getGclid()
         The Google Click ID (gclid) associated with this conversion.
         
        optional string gclid = 4;
        Specified by:
        getGclid in interface ClickConversionResultOrBuilder
        Returns:
        The gclid.
      • getGclidBytes

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

        public ClickConversionResult.Builder setGclid​(java.lang.String value)
         The Google Click ID (gclid) associated with this conversion.
         
        optional string gclid = 4;
        Parameters:
        value - The gclid to set.
        Returns:
        This builder for chaining.
      • clearGclid

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

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

        public java.lang.String getGbraid()
         The click identifier for clicks associated with app conversions and
         originating from iOS devices starting with iOS14.
         
        string gbraid = 8;
        Specified by:
        getGbraid in interface ClickConversionResultOrBuilder
        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 = 8;
        Specified by:
        getGbraidBytes in interface ClickConversionResultOrBuilder
        Returns:
        The bytes for gbraid.
      • setGbraid

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

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

        public ClickConversionResult.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 = 8;
        Parameters:
        value - The bytes for gbraid to set.
        Returns:
        This builder for chaining.
      • getWbraid

        public java.lang.String getWbraid()
         The click identifier for clicks associated with web conversions and
         originating from iOS devices starting with iOS14.
         
        string wbraid = 9;
        Specified by:
        getWbraid in interface ClickConversionResultOrBuilder
        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 = 9;
        Specified by:
        getWbraidBytes in interface ClickConversionResultOrBuilder
        Returns:
        The bytes for wbraid.
      • setWbraid

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

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

        public ClickConversionResult.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 = 9;
        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.
         
        optional string conversion_action = 5;
        Specified by:
        hasConversionAction in interface ClickConversionResultOrBuilder
        Returns:
        Whether the conversionAction field is set.
      • getConversionAction

        public java.lang.String getConversionAction()
         Resource name of the conversion action associated with this conversion.
         
        optional string conversion_action = 5;
        Specified by:
        getConversionAction in interface ClickConversionResultOrBuilder
        Returns:
        The conversionAction.
      • getConversionActionBytes

        public com.google.protobuf.ByteString getConversionActionBytes()
         Resource name of the conversion action associated with this conversion.
         
        optional string conversion_action = 5;
        Specified by:
        getConversionActionBytes in interface ClickConversionResultOrBuilder
        Returns:
        The bytes for conversionAction.
      • setConversionAction

        public ClickConversionResult.Builder setConversionAction​(java.lang.String value)
         Resource name of the conversion action associated with this conversion.
         
        optional string conversion_action = 5;
        Parameters:
        value - The conversionAction to set.
        Returns:
        This builder for chaining.
      • clearConversionAction

        public ClickConversionResult.Builder clearConversionAction()
         Resource name of the conversion action associated with this conversion.
         
        optional string conversion_action = 5;
        Returns:
        This builder for chaining.
      • setConversionActionBytes

        public ClickConversionResult.Builder setConversionActionBytes​(com.google.protobuf.ByteString value)
         Resource name of the conversion action associated with this conversion.
         
        optional string conversion_action = 5;
        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. The format is
         "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
         
        optional string conversion_date_time = 6;
        Specified by:
        hasConversionDateTime in interface ClickConversionResultOrBuilder
        Returns:
        Whether the conversionDateTime field is set.
      • getConversionDateTime

        public java.lang.String getConversionDateTime()
         The date time at which the conversion occurred. The format is
         "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
         
        optional string conversion_date_time = 6;
        Specified by:
        getConversionDateTime in interface ClickConversionResultOrBuilder
        Returns:
        The conversionDateTime.
      • getConversionDateTimeBytes

        public com.google.protobuf.ByteString getConversionDateTimeBytes()
         The date time at which the conversion occurred. The format is
         "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
         
        optional string conversion_date_time = 6;
        Specified by:
        getConversionDateTimeBytes in interface ClickConversionResultOrBuilder
        Returns:
        The bytes for conversionDateTime.
      • setConversionDateTime

        public ClickConversionResult.Builder setConversionDateTime​(java.lang.String value)
         The date time at which the conversion occurred. The format is
         "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
         
        optional string conversion_date_time = 6;
        Parameters:
        value - The conversionDateTime to set.
        Returns:
        This builder for chaining.
      • clearConversionDateTime

        public ClickConversionResult.Builder clearConversionDateTime()
         The date time at which the conversion occurred. The format is
         "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
         
        optional string conversion_date_time = 6;
        Returns:
        This builder for chaining.
      • setConversionDateTimeBytes

        public ClickConversionResult.Builder setConversionDateTimeBytes​(com.google.protobuf.ByteString value)
         The date time at which the conversion occurred. The format is
         "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
         
        optional string conversion_date_time = 6;
        Parameters:
        value - The bytes for conversionDateTime to set.
        Returns:
        This builder for chaining.
      • getUserIdentifiersList

        public java.util.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.v10.common.UserIdentifier user_identifiers = 7;
        Specified by:
        getUserIdentifiersList in interface ClickConversionResultOrBuilder
      • 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.v10.common.UserIdentifier user_identifiers = 7;
        Specified by:
        getUserIdentifiersCount in interface ClickConversionResultOrBuilder
      • 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.v10.common.UserIdentifier user_identifiers = 7;
        Specified by:
        getUserIdentifiers in interface ClickConversionResultOrBuilder
      • setUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • setUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • addUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • addUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • addUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • addUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • addAllUserIdentifiers

        public ClickConversionResult.Builder addAllUserIdentifiers​(java.lang.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.v10.common.UserIdentifier user_identifiers = 7;
      • clearUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • removeUserIdentifiers

        public ClickConversionResult.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.v10.common.UserIdentifier user_identifiers = 7;
      • 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.v10.common.UserIdentifier user_identifiers = 7;
      • 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.v10.common.UserIdentifier user_identifiers = 7;
        Specified by:
        getUserIdentifiersOrBuilder in interface ClickConversionResultOrBuilder
      • getUserIdentifiersOrBuilderList

        public java.util.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.v10.common.UserIdentifier user_identifiers = 7;
        Specified by:
        getUserIdentifiersOrBuilderList in interface ClickConversionResultOrBuilder
      • 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.v10.common.UserIdentifier user_identifiers = 7;
      • 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.v10.common.UserIdentifier user_identifiers = 7;
      • getUserIdentifiersBuilderList

        public java.util.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.v10.common.UserIdentifier user_identifiers = 7;
      • setUnknownFields

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

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