public static final class CreateUserListDirectLicenseRequest.Builder extends GeneratedMessage.Builder<CreateUserListDirectLicenseRequest.Builder> implements CreateUserListDirectLicenseRequestOrBuilderRequest to create a UserListDirectLicense resource.
Protobuf type google.ads.datamanager.v1.CreateUserListDirectLicenseRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateUserListDirectLicenseRequest.BuilderImplements
CreateUserListDirectLicenseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateUserListDirectLicenseRequest build()| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest |
|
buildPartial()
public CreateUserListDirectLicenseRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest |
|
clear()
public CreateUserListDirectLicenseRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|
clearParent()
public CreateUserListDirectLicenseRequest.Builder clearParent()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 |
CreateUserListDirectLicenseRequest.Builder |
This builder for chaining. |
clearUserListDirectLicense()
public CreateUserListDirectLicenseRequest.Builder clearUserListDirectLicense()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 |
CreateUserListDirectLicenseRequest.Builder |
|
getDefaultInstanceForType()
public CreateUserListDirectLicenseRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public 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 |
String |
The parent. |
getParentBytes()
public 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 |
ByteString |
The bytes for parent. |
getUserListDirectLicense()
public 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 |
UserListDirectLicense |
The userListDirectLicense. |
getUserListDirectLicenseBuilder()
public UserListDirectLicense.Builder getUserListDirectLicenseBuilder()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 |
UserListDirectLicense.Builder |
|
getUserListDirectLicenseOrBuilder()
public 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 |
UserListDirectLicenseOrBuilder |
|
hasUserListDirectLicense()
public 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 |
boolean |
Whether the userListDirectLicense field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateUserListDirectLicenseRequest other)
public CreateUserListDirectLicenseRequest.Builder mergeFrom(CreateUserListDirectLicenseRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateUserListDirectLicenseRequest |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateUserListDirectLicenseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateUserListDirectLicenseRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|
mergeUserListDirectLicense(UserListDirectLicense value)
public CreateUserListDirectLicenseRequest.Builder mergeUserListDirectLicense(UserListDirectLicense value)Required. The user list direct license to create.
.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListDirectLicense |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|
setParent(String value)
public CreateUserListDirectLicenseRequest.Builder setParent(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateUserListDirectLicenseRequest.Builder setParentBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
This builder for chaining. |
setUserListDirectLicense(UserListDirectLicense value)
public CreateUserListDirectLicenseRequest.Builder setUserListDirectLicense(UserListDirectLicense value)Required. The user list direct license to create.
.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UserListDirectLicense |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|
setUserListDirectLicense(UserListDirectLicense.Builder builderForValue)
public CreateUserListDirectLicenseRequest.Builder setUserListDirectLicense(UserListDirectLicense.Builder builderForValue)Required. The user list direct license to create.
.google.ads.datamanager.v1.UserListDirectLicense user_list_direct_license = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserListDirectLicense.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateUserListDirectLicenseRequest.Builder |
|