public static final class UserListDirectLicense.Builder extends GeneratedMessage.Builder<UserListDirectLicense.Builder> implements UserListDirectLicenseOrBuilderA user list direct license.
This feature is only available to data partners.
Protobuf type google.ads.datamanager.v1.UserListDirectLicense
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserListDirectLicense.BuilderImplements
UserListDirectLicenseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllHistoricalPricings(Iterable<? extends UserListLicensePricing> values)
public UserListDirectLicense.Builder addAllHistoricalPricings(Iterable<? extends UserListLicensePricing> values)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.datamanager.v1.UserListLicensePricing> |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
addHistoricalPricings(UserListLicensePricing value)
public UserListDirectLicense.Builder addHistoricalPricings(UserListLicensePricing value)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicensePricing |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
addHistoricalPricings(UserListLicensePricing.Builder builderForValue)
public UserListDirectLicense.Builder addHistoricalPricings(UserListLicensePricing.Builder builderForValue)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserListLicensePricing.Builder |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
addHistoricalPricings(int index, UserListLicensePricing value)
public UserListDirectLicense.Builder addHistoricalPricings(int index, UserListLicensePricing value)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UserListLicensePricing |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
addHistoricalPricings(int index, UserListLicensePricing.Builder builderForValue)
public UserListDirectLicense.Builder addHistoricalPricings(int index, UserListLicensePricing.Builder builderForValue)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UserListLicensePricing.Builder |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
addHistoricalPricingsBuilder()
public UserListLicensePricing.Builder addHistoricalPricingsBuilder()Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricing.Builder |
|
addHistoricalPricingsBuilder(int index)
public UserListLicensePricing.Builder addHistoricalPricingsBuilder(int index)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricing.Builder |
|
build()
public UserListDirectLicense build()| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense |
|
buildPartial()
public UserListDirectLicense buildPartial()| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense |
|
clear()
public UserListDirectLicense.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
clearClientAccountDisplayName()
public UserListDirectLicense.Builder clearClientAccountDisplayName()Output only. Name of client customer which the user list is being licensed to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
clearClientAccountId()
public UserListDirectLicense.Builder clearClientAccountId()Immutable. ID of client customer which the user list is being licensed to.
optional int64 client_account_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
clearClientAccountType()
public UserListDirectLicense.Builder clearClientAccountType()Immutable. Account type of client customer which the user list is being licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
clearHistoricalPricings()
public UserListDirectLicense.Builder clearHistoricalPricings()Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
clearMetrics()
public UserListDirectLicense.Builder clearMetrics()Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
clearName()
public UserListDirectLicense.Builder clearName()Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
clearPricing()
public UserListDirectLicense.Builder clearPricing()Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
clearStatus()
public UserListDirectLicense.Builder clearStatus()Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
clearUserListDisplayName()
public UserListDirectLicense.Builder clearUserListDisplayName()Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
clearUserListId()
public UserListDirectLicense.Builder clearUserListId()Immutable. ID of the user list being licensed.
optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
getClientAccountDisplayName()
public String getClientAccountDisplayName()Output only. Name of client customer which the user list is being licensed to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The clientAccountDisplayName. |
getClientAccountDisplayNameBytes()
public ByteString getClientAccountDisplayNameBytes()Output only. Name of client customer which the user list is being licensed to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientAccountDisplayName. |
getClientAccountId()
public long getClientAccountId()Immutable. ID of client customer which the user list is being licensed to.
optional int64 client_account_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
long |
The clientAccountId. |
getClientAccountType()
public UserListLicenseClientAccountType getClientAccountType()Immutable. Account type of client customer which the user list is being licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UserListLicenseClientAccountType |
The clientAccountType. |
getClientAccountTypeValue()
public int getClientAccountTypeValue()Immutable. Account type of client customer which the user list is being licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for clientAccountType. |
getDefaultInstanceForType()
public UserListDirectLicense getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHistoricalPricings(int index)
public UserListLicensePricing getHistoricalPricings(int index)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricing |
|
getHistoricalPricingsBuilder(int index)
public UserListLicensePricing.Builder getHistoricalPricingsBuilder(int index)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricing.Builder |
|
getHistoricalPricingsBuilderList()
public List<UserListLicensePricing.Builder> getHistoricalPricingsBuilderList()Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getHistoricalPricingsCount()
public int getHistoricalPricingsCount()Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getHistoricalPricingsList()
public List<UserListLicensePricing> getHistoricalPricingsList()Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<UserListLicensePricing> |
|
getHistoricalPricingsOrBuilder(int index)
public UserListLicensePricingOrBuilder getHistoricalPricingsOrBuilder(int index)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricingOrBuilder |
|
getHistoricalPricingsOrBuilderList()
public List<? extends UserListLicensePricingOrBuilder> getHistoricalPricingsOrBuilderList()Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.datamanager.v1.UserListLicensePricingOrBuilder> |
|
getMetrics()
public UserListLicenseMetrics getMetrics()Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListLicenseMetrics |
The metrics. |
getMetricsBuilder()
public UserListLicenseMetrics.Builder getMetricsBuilder()Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListLicenseMetrics.Builder |
|
getMetricsOrBuilder()
public UserListLicenseMetricsOrBuilder getMetricsOrBuilder()Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UserListLicenseMetricsOrBuilder |
|
getName()
public String getName()Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPricing()
public UserListLicensePricing getPricing()Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricing |
The pricing. |
getPricingBuilder()
public UserListLicensePricing.Builder getPricingBuilder()Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricing.Builder |
|
getPricingOrBuilder()
public UserListLicensePricingOrBuilder getPricingOrBuilder()Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserListLicensePricingOrBuilder |
|
getStatus()
public UserListLicenseStatus getStatus()Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserListLicenseStatus |
The status. |
getStatusValue()
public int getStatusValue()Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
getUserListDisplayName()
public String getUserListDisplayName()Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The userListDisplayName. |
getUserListDisplayNameBytes()
public ByteString getUserListDisplayNameBytes()Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for userListDisplayName. |
getUserListId()
public long getUserListId()Immutable. ID of the user list being licensed.
optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
long |
The userListId. |
hasClientAccountId()
public boolean hasClientAccountId()Immutable. ID of client customer which the user list is being licensed to.
optional int64 client_account_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the clientAccountId field is set. |
hasClientAccountType()
public boolean hasClientAccountType()Immutable. Account type of client customer which the user list is being licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the clientAccountType field is set. |
hasMetrics()
public boolean hasMetrics()Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metrics field is set. |
hasPricing()
public boolean hasPricing()Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pricing field is set. |
hasStatus()
public boolean hasStatus()Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasUserListId()
public boolean hasUserListId()Immutable. ID of the user list being licensed.
optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the userListId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserListDirectLicense other)
public UserListDirectLicense.Builder mergeFrom(UserListDirectLicense other)| Parameter | |
|---|---|
| Name | Description |
other |
UserListDirectLicense |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserListDirectLicense.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserListDirectLicense.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
mergeMetrics(UserListLicenseMetrics value)
public UserListDirectLicense.Builder mergeMetrics(UserListLicenseMetrics value)Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicenseMetrics |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
mergePricing(UserListLicensePricing value)
public UserListDirectLicense.Builder mergePricing(UserListLicensePricing value)Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicensePricing |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
removeHistoricalPricings(int index)
public UserListDirectLicense.Builder removeHistoricalPricings(int index)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setClientAccountDisplayName(String value)
public UserListDirectLicense.Builder setClientAccountDisplayName(String value)Output only. Name of client customer which the user list is being licensed to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientAccountDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setClientAccountDisplayNameBytes(ByteString value)
public UserListDirectLicense.Builder setClientAccountDisplayNameBytes(ByteString value)Output only. Name of client customer which the user list is being licensed to.
This field is read-only.
string client_account_display_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientAccountDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setClientAccountId(long value)
public UserListDirectLicense.Builder setClientAccountId(long value)Immutable. ID of client customer which the user list is being licensed to.
optional int64 client_account_id = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe clientAccountId to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setClientAccountType(UserListLicenseClientAccountType value)
public UserListDirectLicense.Builder setClientAccountType(UserListLicenseClientAccountType value)Immutable. Account type of client customer which the user list is being licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicenseClientAccountTypeThe clientAccountType to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setClientAccountTypeValue(int value)
public UserListDirectLicense.Builder setClientAccountTypeValue(int value)Immutable. Account type of client customer which the user list is being licensed to.
optional .google.ads.datamanager.v1.UserListLicenseClientAccountType client_account_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for clientAccountType to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setHistoricalPricings(int index, UserListLicensePricing value)
public UserListDirectLicense.Builder setHistoricalPricings(int index, UserListLicensePricing value)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UserListLicensePricing |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setHistoricalPricings(int index, UserListLicensePricing.Builder builderForValue)
public UserListDirectLicense.Builder setHistoricalPricings(int index, UserListLicensePricing.Builder builderForValue)Output only. Pricing history of this user list license.
This field is read-only.
repeated .google.ads.datamanager.v1.UserListLicensePricing historical_pricings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UserListLicensePricing.Builder |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setMetrics(UserListLicenseMetrics value)
public UserListDirectLicense.Builder setMetrics(UserListLicenseMetrics value)Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicenseMetrics |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setMetrics(UserListLicenseMetrics.Builder builderForValue)
public UserListDirectLicense.Builder setMetrics(UserListLicenseMetrics.Builder builderForValue)Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
.google.ads.datamanager.v1.UserListLicenseMetrics metrics = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserListLicenseMetrics.Builder |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setName(String value)
public UserListDirectLicense.Builder setName(String value)Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UserListDirectLicense.Builder setNameBytes(ByteString value)Identifier. The resource name of the user list direct license.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setPricing(UserListLicensePricing value)
public UserListDirectLicense.Builder setPricing(UserListLicensePricing value)Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicensePricing |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setPricing(UserListLicensePricing.Builder builderForValue)
public UserListDirectLicense.Builder setPricing(UserListLicensePricing.Builder builderForValue)Optional. UserListDirectLicense pricing.
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserListLicensePricing.Builder |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
|
setStatus(UserListLicenseStatus value)
public UserListDirectLicense.Builder setStatus(UserListLicenseStatus value)Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListLicenseStatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setStatusValue(int value)
public UserListDirectLicense.Builder setStatusValue(int value)Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
optional .google.ads.datamanager.v1.UserListLicenseStatus status = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setUserListDisplayName(String value)
public UserListDirectLicense.Builder setUserListDisplayName(String value)Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe userListDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setUserListDisplayNameBytes(ByteString value)
public UserListDirectLicense.Builder setUserListDisplayNameBytes(ByteString value)Output only. Name of the user list being licensed.
This field is read-only.
string user_list_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for userListDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |
setUserListId(long value)
public UserListDirectLicense.Builder setUserListId(long value)Immutable. ID of the user list being licensed.
optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe userListId to set. |
| Returns | |
|---|---|
| Type | Description |
UserListDirectLicense.Builder |
This builder for chaining. |