Class CreateUserListGlobalLicenseRequest.Builder (0.8.0)

public static final class CreateUserListGlobalLicenseRequest.Builder extends GeneratedMessage.Builder<CreateUserListGlobalLicenseRequest.Builder> implements CreateUserListGlobalLicenseRequestOrBuilder

Request to create a UserListGlobalLicense resource.

Protobuf type google.ads.datamanager.v1.CreateUserListGlobalLicenseRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateUserListGlobalLicenseRequest build()
Returns
Type Description
CreateUserListGlobalLicenseRequest

buildPartial()

public CreateUserListGlobalLicenseRequest buildPartial()
Returns
Type Description
CreateUserListGlobalLicenseRequest

clear()

public CreateUserListGlobalLicenseRequest.Builder clear()
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder
Overrides

clearParent()

public CreateUserListGlobalLicenseRequest.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
CreateUserListGlobalLicenseRequest.Builder

This builder for chaining.

clearUserListGlobalLicense()

public CreateUserListGlobalLicenseRequest.Builder clearUserListGlobalLicense()

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder

getDefaultInstanceForType()

public CreateUserListGlobalLicenseRequest getDefaultInstanceForType()
Returns
Type Description
CreateUserListGlobalLicenseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getUserListGlobalLicense()

public UserListGlobalLicense getUserListGlobalLicense()

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListGlobalLicense

The userListGlobalLicense.

getUserListGlobalLicenseBuilder()

public UserListGlobalLicense.Builder getUserListGlobalLicenseBuilder()

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListGlobalLicense.Builder

getUserListGlobalLicenseOrBuilder()

public UserListGlobalLicenseOrBuilder getUserListGlobalLicenseOrBuilder()

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListGlobalLicenseOrBuilder

hasUserListGlobalLicense()

public boolean hasUserListGlobalLicense()

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userListGlobalLicense field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateUserListGlobalLicenseRequest other)

public CreateUserListGlobalLicenseRequest.Builder mergeFrom(CreateUserListGlobalLicenseRequest other)
Parameter
Name Description
other CreateUserListGlobalLicenseRequest
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateUserListGlobalLicenseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateUserListGlobalLicenseRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder
Overrides

mergeUserListGlobalLicense(UserListGlobalLicense value)

public CreateUserListGlobalLicenseRequest.Builder mergeUserListGlobalLicense(UserListGlobalLicense value)

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserListGlobalLicense
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder

setParent(String value)

public CreateUserListGlobalLicenseRequest.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 String

The parent to set.

Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateUserListGlobalLicenseRequest.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 ByteString

The bytes for parent to set.

Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder

This builder for chaining.

setUserListGlobalLicense(UserListGlobalLicense value)

public CreateUserListGlobalLicenseRequest.Builder setUserListGlobalLicense(UserListGlobalLicense value)

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserListGlobalLicense
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder

setUserListGlobalLicense(UserListGlobalLicense.Builder builderForValue)

public CreateUserListGlobalLicenseRequest.Builder setUserListGlobalLicense(UserListGlobalLicense.Builder builderForValue)

Required. The user list global license to create.

.google.ads.datamanager.v1.UserListGlobalLicense user_list_global_license = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserListGlobalLicense.Builder
Returns
Type Description
CreateUserListGlobalLicenseRequest.Builder