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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()A string that uniquely identifies a mobile application from which the data was collected.Data source of the list.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Matching key type of the list.clone()getAppId()A string that uniquely identifies a mobile application from which the data was collected.com.google.protobuf.ByteStringA string that uniquely identifies a mobile application from which the data was collected.Data source of the list.intData source of the list.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMatching key type of the list.intMatching 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.FieldAccessorTablefinal booleanmergeFrom(CrmBasedUserListInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A string that uniquely identifies a mobile application from which the data was collected.setAppIdBytes(com.google.protobuf.ByteString value) A string that uniquely identifies a mobile application from which the data was collected.Data source of the list.setDataSourceTypeValue(int value) Data source of the list.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Matching key type of the list.setUploadKeyTypeValue(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CrmBasedUserListInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrmBasedUserListInfo.Builder>
-
mergeFrom
-
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 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:
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
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
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
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
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:
getUploadKeyTypeValuein interfaceCrmBasedUserListInfoOrBuilder- Returns:
- The enum numeric value on the wire for uploadKeyType.
-
setUploadKeyTypeValue
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:
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.v18.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2;- Parameters:
value- The uploadKeyType to set.- Returns:
- This builder for chaining.
-
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:
getDataSourceTypeValuein interfaceCrmBasedUserListInfoOrBuilder- Returns:
- The enum numeric value on the wire for dataSourceType.
-
setDataSourceTypeValue
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:
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.v18.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3;- Parameters:
value- The dataSourceType to set.- Returns:
- This builder for chaining.
-
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:
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>
-