# Interface UserListDirectLicenseOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface UserListDirectLicenseOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getClientAccountDisplayName()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The clientAccountDisplayName. |

### getClientAccountDisplayNameBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for clientAccountDisplayName. |

### getClientAccountId()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The clientAccountId. |

### getClientAccountType()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicenseClientAccountType` | The clientAccountType. |

### getClientAccountTypeValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for clientAccountType. |

### getHistoricalPricings(int index)

    public abstract 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicensePricing` |   |

### getHistoricalPricingsCount()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getHistoricalPricingsList()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicensePricing>` |   |

### getHistoricalPricingsOrBuilder(int index)

    public abstract 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicensePricingOrBuilder` |   |

### getHistoricalPricingsOrBuilderList()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.ads.datamanager.v1.UserListLicensePricingOrBuilder>` |   |

### getMetrics()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicenseMetrics` | The metrics. |

### getMetricsOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicenseMetricsOrBuilder` |   |

### getName()

    public abstract String getName()

Identifier. The resource name of the user list direct license.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The resource name of the user list direct license.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getPricing()

    public abstract UserListLicensePricing getPricing()

Optional. UserListDirectLicense pricing.

`
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicensePricing` | The pricing. |

### getPricingOrBuilder()

    public abstract UserListLicensePricingOrBuilder getPricingOrBuilder()

Optional. UserListDirectLicense pricing.

`
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicensePricingOrBuilder` |   |

### getStatus()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserListLicenseStatus` | The status. |

### getStatusValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for status. |

### getUserListDisplayName()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The userListDisplayName. |

### getUserListDisplayNameBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for userListDisplayName. |

### getUserListId()

    public abstract long getUserListId()

Immutable. ID of the user list being licensed.

`optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The userListId. |

### hasClientAccountId()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the clientAccountId field is set. |

### hasClientAccountType()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the clientAccountType field is set. |

### hasMetrics()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the metrics field is set. |

### hasPricing()

    public abstract boolean hasPricing()

Optional. UserListDirectLicense pricing.

`
.google.ads.datamanager.v1.UserListLicensePricing pricing = 8 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the pricing field is set. |

### hasStatus()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the status field is set. |

### hasUserListId()

    public abstract boolean hasUserListId()

Immutable. ID of the user list being licensed.

`optional int64 user_list_id = 2 [(.google.api.field_behavior) = IMMUTABLE];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the userListId field is set. |