# Interface CreateUserListDirectLicenseRequestOrBuilder (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 CreateUserListDirectLicenseRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getParent()

    public abstract String getParent()

Required. The account that owns the user list being licensed. Should be in
the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The account that owns the user list being licensed. Should be in
the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getUserListDirectLicense()

    public abstract UserListDirectLicense getUserListDirectLicense()

Required. The user list direct license to create.

`
.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### getUserListDirectLicenseOrBuilder()

    public abstract UserListDirectLicenseOrBuilder getUserListDirectLicenseOrBuilder()

Required. The user list direct license to create.

`
.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 2 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasUserListDirectLicense()

    public abstract boolean hasUserListDirectLicense()

Required. The user list direct license to create.

`
.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 2 [(.google.api.field_behavior) = REQUIRED];
`

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