Class UserProperties (0.1.0)

public final class UserProperties extends GeneratedMessageV3 implements UserPropertiesOrBuilder

Advertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.

Protobuf type google.ads.datamanager.v1.UserProperties

Static Fields

ADDITIONAL_USER_PROPERTIES_FIELD_NUMBER

public static final int ADDITIONAL_USER_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_TYPE_FIELD_NUMBER

public static final int CUSTOMER_TYPE_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_VALUE_BUCKET_FIELD_NUMBER

public static final int CUSTOMER_VALUE_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UserProperties getDefaultInstance()
Returns
Type Description
UserProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UserProperties.Builder newBuilder()
Returns
Type Description
UserProperties.Builder

newBuilder(UserProperties prototype)

public static UserProperties.Builder newBuilder(UserProperties prototype)
Parameter
Name Description
prototype UserProperties
Returns
Type Description
UserProperties.Builder

parseDelimitedFrom(InputStream input)

public static UserProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UserProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UserProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UserProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UserProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UserProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UserProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UserProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UserProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UserProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UserProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UserProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UserProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UserProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UserProperties> parser()
Returns
Type Description
Parser<UserProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdditionalUserProperties(int index)

public UserProperty getAdditionalUserProperties(int index)

Optional. A bucket of any additional user properties for the user associated with this event.

repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
UserProperty

getAdditionalUserPropertiesCount()

public int getAdditionalUserPropertiesCount()

Optional. A bucket of any additional user properties for the user associated with this event.

repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalUserPropertiesList()

public List<UserProperty> getAdditionalUserPropertiesList()

Optional. A bucket of any additional user properties for the user associated with this event.

repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<UserProperty>

getAdditionalUserPropertiesOrBuilder(int index)

public UserPropertyOrBuilder getAdditionalUserPropertiesOrBuilder(int index)

Optional. A bucket of any additional user properties for the user associated with this event.

repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
UserPropertyOrBuilder

getAdditionalUserPropertiesOrBuilderList()

public List<? extends UserPropertyOrBuilder> getAdditionalUserPropertiesOrBuilderList()

Optional. A bucket of any additional user properties for the user associated with this event.

repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.UserPropertyOrBuilder>

getCustomerType()

public CustomerType getCustomerType()

Optional. Type of the customer associated with the event.

.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerType

The customerType.

getCustomerTypeValue()

public int getCustomerTypeValue()

Optional. Type of the customer associated with the event.

.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for customerType.

getCustomerValueBucket()

public CustomerValueBucket getCustomerValueBucket()

Optional. The advertiser-assessed value of the customer.

.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerValueBucket

The customerValueBucket.

getCustomerValueBucketValue()

public int getCustomerValueBucketValue()

Optional. The advertiser-assessed value of the customer.

.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for customerValueBucket.

getDefaultInstanceForType()

public UserProperties getDefaultInstanceForType()
Returns
Type Description
UserProperties

getParserForType()

public Parser<UserProperties> getParserForType()
Returns
Type Description
Parser<UserProperties>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UserProperties.Builder newBuilderForType()
Returns
Type Description
UserProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UserProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UserProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UserProperties.Builder toBuilder()
Returns
Type Description
UserProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException