public static final class UserProperty.Builder extends GeneratedMessage.Builder<UserProperty.Builder> implements UserPropertyOrBuilderA bucket of any additional user properties for the user associated with this event.
Protobuf type google.ads.datamanager.v1.UserProperty
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserProperty.BuilderImplements
UserPropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UserProperty build()| Returns | |
|---|---|
| Type | Description |
UserProperty |
|
buildPartial()
public UserProperty buildPartial()| Returns | |
|---|---|
| Type | Description |
UserProperty |
|
clear()
public UserProperty.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
clearPropertyName()
public UserProperty.Builder clearPropertyName()Required. The name of the user property to use.
string property_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
This builder for chaining. |
clearValue()
public UserProperty.Builder clearValue()Required. The string representation of the value of the user property to use.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UserProperty getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserProperty |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPropertyName()
public String getPropertyName()Required. The name of the user property to use.
string property_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The propertyName. |
getPropertyNameBytes()
public ByteString getPropertyNameBytes()Required. The name of the user property to use.
string property_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for propertyName. |
getValue()
public String getValue()Required. The string representation of the value of the user property to use.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Required. The string representation of the value of the user property to use.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserProperty other)
public UserProperty.Builder mergeFrom(UserProperty other)| Parameter | |
|---|---|
| Name | Description |
other |
UserProperty |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserProperty.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
setPropertyName(String value)
public UserProperty.Builder setPropertyName(String value)Required. The name of the user property to use.
string property_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe propertyName to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
This builder for chaining. |
setPropertyNameBytes(ByteString value)
public UserProperty.Builder setPropertyNameBytes(ByteString value)Required. The name of the user property to use.
string property_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for propertyName to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
This builder for chaining. |
setValue(String value)
public UserProperty.Builder setValue(String value)Required. The string representation of the value of the user property to use.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public UserProperty.Builder setValueBytes(ByteString value)Required. The string representation of the value of the user property to use.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
This builder for chaining. |