Class CrmBasedUserListInfo.Builder

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

public static final class CrmBasedUserListInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder> implements CrmBasedUserListInfoOrBuilder
 UserList of CRM users provided by the advertiser.
 
Protobuf type google.ads.googleads.v18.common.CrmBasedUserListInfo
  • 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<CrmBasedUserListInfo.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<CrmBasedUserListInfo.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<CrmBasedUserListInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public CrmBasedUserListInfo.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<CrmBasedUserListInfo.Builder>
      Throws:
      IOException
    • hasAppId

      public boolean hasAppId()
       A string that uniquely identifies a mobile application from which the data
       was collected.
       For iOS, the ID string is the 9 digit string that appears at the end of an
       App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store
       link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For
       Android, the ID string is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
       Required when creating CrmBasedUserList for uploading mobile advertising
       IDs.
       
      optional string app_id = 4;
      Specified by:
      hasAppId in interface CrmBasedUserListInfoOrBuilder
      Returns:
      Whether the appId field is set.
    • getAppId

      public String getAppId()
       A string that uniquely identifies a mobile application from which the data
       was collected.
       For iOS, the ID string is the 9 digit string that appears at the end of an
       App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store
       link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For
       Android, the ID string is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
       Required when creating CrmBasedUserList for uploading mobile advertising
       IDs.
       
      optional string app_id = 4;
      Specified by:
      getAppId in interface CrmBasedUserListInfoOrBuilder
      Returns:
      The appId.
    • getAppIdBytes

      public com.google.protobuf.ByteString getAppIdBytes()
       A string that uniquely identifies a mobile application from which the data
       was collected.
       For iOS, the ID string is the 9 digit string that appears at the end of an
       App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store
       link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For
       Android, the ID string is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
       Required when creating CrmBasedUserList for uploading mobile advertising
       IDs.
       
      optional string app_id = 4;
      Specified by:
      getAppIdBytes in interface CrmBasedUserListInfoOrBuilder
      Returns:
      The bytes for appId.
    • setAppId

      public CrmBasedUserListInfo.Builder setAppId(String value)
       A string that uniquely identifies a mobile application from which the data
       was collected.
       For iOS, the ID string is the 9 digit string that appears at the end of an
       App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store
       link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For
       Android, the ID string is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
       Required when creating CrmBasedUserList for uploading mobile advertising
       IDs.
       
      optional string app_id = 4;
      Parameters:
      value - The appId to set.
      Returns:
      This builder for chaining.
    • clearAppId

      public CrmBasedUserListInfo.Builder clearAppId()
       A string that uniquely identifies a mobile application from which the data
       was collected.
       For iOS, the ID string is the 9 digit string that appears at the end of an
       App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store
       link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For
       Android, the ID string is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
       Required when creating CrmBasedUserList for uploading mobile advertising
       IDs.
       
      optional string app_id = 4;
      Returns:
      This builder for chaining.
    • setAppIdBytes

      public CrmBasedUserListInfo.Builder setAppIdBytes(com.google.protobuf.ByteString value)
       A string that uniquely identifies a mobile application from which the data
       was collected.
       For iOS, the ID string is the 9 digit string that appears at the end of an
       App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store
       link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For
       Android, the ID string is the application's package name (for example,
       "com.labpixies.colordrips" for "Color Drips" given Google Play link
       https://play.google.com/store/apps/details?id=com.labpixies.colordrips).
       Required when creating CrmBasedUserList for uploading mobile advertising
       IDs.
       
      optional string app_id = 4;
      Parameters:
      value - The bytes for appId to set.
      Returns:
      This builder for chaining.
    • getUploadKeyTypeValue

      public int getUploadKeyTypeValue()
       Matching key type of the list.
       Mixed data types are not allowed on the same list.
       This field is required for an ADD operation.
       
      .google.ads.googleads.v18.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;
      Specified by:
      getUploadKeyTypeValue in interface CrmBasedUserListInfoOrBuilder
      Returns:
      The enum numeric value on the wire for uploadKeyType.
    • setUploadKeyTypeValue

      public CrmBasedUserListInfo.Builder setUploadKeyTypeValue(int value)
       Matching key type of the list.
       Mixed data types are not allowed on the same list.
       This field is required for an ADD operation.
       
      .google.ads.googleads.v18.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;
      Parameters:
      value - The enum numeric value on the wire for uploadKeyType to set.
      Returns:
      This builder for chaining.
    • getUploadKeyType

       Matching key type of the list.
       Mixed data types are not allowed on the same list.
       This field is required for an ADD operation.
       
      .google.ads.googleads.v18.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;
      Specified by:
      getUploadKeyType in interface CrmBasedUserListInfoOrBuilder
      Returns:
      The uploadKeyType.
    • setUploadKeyType

       Matching key type of the list.
       Mixed data types are not allowed on the same list.
       This field is required for an ADD operation.
       
      .google.ads.googleads.v18.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;
      Parameters:
      value - The uploadKeyType to set.
      Returns:
      This builder for chaining.
    • clearUploadKeyType

      public CrmBasedUserListInfo.Builder clearUploadKeyType()
       Matching key type of the list.
       Mixed data types are not allowed on the same list.
       This field is required for an ADD operation.
       
      .google.ads.googleads.v18.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;
      Returns:
      This builder for chaining.
    • getDataSourceTypeValue

      public int getDataSourceTypeValue()
       Data source of the list. Default value is FIRST_PARTY.
       Only customers on the allow-list can create third-party sourced CRM lists.
       
      .google.ads.googleads.v18.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;
      Specified by:
      getDataSourceTypeValue in interface CrmBasedUserListInfoOrBuilder
      Returns:
      The enum numeric value on the wire for dataSourceType.
    • setDataSourceTypeValue

      public CrmBasedUserListInfo.Builder setDataSourceTypeValue(int value)
       Data source of the list. Default value is FIRST_PARTY.
       Only customers on the allow-list can create third-party sourced CRM lists.
       
      .google.ads.googleads.v18.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;
      Parameters:
      value - The enum numeric value on the wire for dataSourceType to set.
      Returns:
      This builder for chaining.
    • getDataSourceType

       Data source of the list. Default value is FIRST_PARTY.
       Only customers on the allow-list can create third-party sourced CRM lists.
       
      .google.ads.googleads.v18.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;
      Specified by:
      getDataSourceType in interface CrmBasedUserListInfoOrBuilder
      Returns:
      The dataSourceType.
    • setDataSourceType

       Data source of the list. Default value is FIRST_PARTY.
       Only customers on the allow-list can create third-party sourced CRM lists.
       
      .google.ads.googleads.v18.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;
      Parameters:
      value - The dataSourceType to set.
      Returns:
      This builder for chaining.
    • clearDataSourceType

      public CrmBasedUserListInfo.Builder clearDataSourceType()
       Data source of the list. Default value is FIRST_PARTY.
       Only customers on the allow-list can create third-party sourced CRM lists.
       
      .google.ads.googleads.v18.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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