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.v14.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,java.lang.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 typegoogle.ads.googleads.v14.common.CrmBasedUserListInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CrmBasedUserListInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CrmBasedUserListInfobuild()CrmBasedUserListInfobuildPartial()CrmBasedUserListInfo.Builderclear()CrmBasedUserListInfo.BuilderclearAppId()A string that uniquely identifies a mobile application from which the data was collected.CrmBasedUserListInfo.BuilderclearDataSourceType()Data source of the list.CrmBasedUserListInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CrmBasedUserListInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CrmBasedUserListInfo.BuilderclearUploadKeyType()Matching key type of the list.CrmBasedUserListInfo.Builderclone()java.lang.StringgetAppId()A string that uniquely identifies a mobile application from which the data was collected.com.google.protobuf.ByteStringgetAppIdBytes()A string that uniquely identifies a mobile application from which the data was collected.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceTypegetDataSourceType()Data source of the list.intgetDataSourceTypeValue()Data source of the list.CrmBasedUserListInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyTypegetUploadKeyType()Matching key type of the list.intgetUploadKeyTypeValue()Matching key type of the list.booleanhasAppId()A string that uniquely identifies a mobile application from which the data was collected.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CrmBasedUserListInfo.BuildermergeFrom(CrmBasedUserListInfo other)CrmBasedUserListInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CrmBasedUserListInfo.BuildermergeFrom(com.google.protobuf.Message other)CrmBasedUserListInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CrmBasedUserListInfo.BuildersetAppId(java.lang.String value)A string that uniquely identifies a mobile application from which the data was collected.CrmBasedUserListInfo.BuildersetAppIdBytes(com.google.protobuf.ByteString value)A string that uniquely identifies a mobile application from which the data was collected.CrmBasedUserListInfo.BuildersetDataSourceType(UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType value)Data source of the list.CrmBasedUserListInfo.BuildersetDataSourceTypeValue(int value)Data source of the list.CrmBasedUserListInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CrmBasedUserListInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CrmBasedUserListInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CrmBasedUserListInfo.BuildersetUploadKeyType(CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType value)Matching key type of the list.CrmBasedUserListInfo.BuildersetUploadKeyTypeValue(int value)Matching key type of the list.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
clear
public CrmBasedUserListInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
getDefaultInstanceForType
public CrmBasedUserListInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CrmBasedUserListInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CrmBasedUserListInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CrmBasedUserListInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
setField
public CrmBasedUserListInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
clearField
public CrmBasedUserListInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
clearOneof
public CrmBasedUserListInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
setRepeatedField
public CrmBasedUserListInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
addRepeatedField
public CrmBasedUserListInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
mergeFrom
public CrmBasedUserListInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrmBasedUserListInfo.Builder>
-
mergeFrom
public CrmBasedUserListInfo.Builder mergeFrom(CrmBasedUserListInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
mergeFrom
public CrmBasedUserListInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrmBasedUserListInfo.Builder>- Throws:
java.io.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:
hasAppIdin interfaceCrmBasedUserListInfoOrBuilder- Returns:
- Whether the appId field is set.
-
getAppId
public java.lang.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:
getAppIdin interfaceCrmBasedUserListInfoOrBuilder- 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:
getAppIdBytesin interfaceCrmBasedUserListInfoOrBuilder- Returns:
- The bytes for appId.
-
setAppId
public CrmBasedUserListInfo.Builder setAppId(java.lang.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.v14.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;- Specified by:
getUploadKeyTypeValuein interfaceCrmBasedUserListInfoOrBuilder- 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.v14.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
public CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType 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.v14.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;- Specified by:
getUploadKeyTypein interfaceCrmBasedUserListInfoOrBuilder- Returns:
- The uploadKeyType.
-
setUploadKeyType
public CrmBasedUserListInfo.Builder setUploadKeyType(CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType 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.v14.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.v14.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.v14.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;- Specified by:
getDataSourceTypeValuein interfaceCrmBasedUserListInfoOrBuilder- 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.v14.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
public UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType 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.v14.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;- Specified by:
getDataSourceTypein interfaceCrmBasedUserListInfoOrBuilder- Returns:
- The dataSourceType.
-
setDataSourceType
public CrmBasedUserListInfo.Builder setDataSourceType(UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType 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.v14.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.v14.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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
mergeUnknownFields
public final CrmBasedUserListInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
-