Class UpdateUserListDirectLicenseRequest.Builder (0.8.0)

public static final class UpdateUserListDirectLicenseRequest.Builder extends GeneratedMessage.Builder<UpdateUserListDirectLicenseRequest.Builder> implements UpdateUserListDirectLicenseRequestOrBuilder

Request to update a UserListDirectLicense resource.

Protobuf type google.ads.datamanager.v1.UpdateUserListDirectLicenseRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateUserListDirectLicenseRequest build()
Returns
Type Description
UpdateUserListDirectLicenseRequest

buildPartial()

public UpdateUserListDirectLicenseRequest buildPartial()
Returns
Type Description
UpdateUserListDirectLicenseRequest

clear()

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

clearUpdateMask()

public UpdateUserListDirectLicenseRequest.Builder clearUpdateMask()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

clearUserListDirectLicense()

public UpdateUserListDirectLicenseRequest.Builder clearUserListDirectLicense()

Required. The licenses' name field is used to identify the license to update.

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

Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

getDefaultInstanceForType()

public UpdateUserListDirectLicenseRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUserListDirectLicenseRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

getUserListDirectLicense()

public UserListDirectLicense getUserListDirectLicense()

Required. The licenses' name field is used to identify the license to update.

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

Returns
Type Description
UserListDirectLicense

The userListDirectLicense.

getUserListDirectLicenseBuilder()

public UserListDirectLicense.Builder getUserListDirectLicenseBuilder()

Required. The licenses' name field is used to identify the license to update.

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

Returns
Type Description
UserListDirectLicense.Builder

getUserListDirectLicenseOrBuilder()

public UserListDirectLicenseOrBuilder getUserListDirectLicenseOrBuilder()

Required. The licenses' name field is used to identify the license to update.

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

Returns
Type Description
UserListDirectLicenseOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hasUserListDirectLicense()

public boolean hasUserListDirectLicense()

Required. The licenses' name field is used to identify the license to update.

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

Returns
Type Description
boolean

Whether the userListDirectLicense field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateUserListDirectLicenseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateUserListDirectLicenseRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

mergeUserListDirectLicense(UserListDirectLicense value)

public UpdateUserListDirectLicenseRequest.Builder mergeUserListDirectLicense(UserListDirectLicense value)

Required. The licenses' name field is used to identify the license to update.

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

Parameter
Name Description
value UserListDirectLicense
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

setUpdateMask(FieldMask value)

public UpdateUserListDirectLicenseRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateUserListDirectLicenseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

setUserListDirectLicense(UserListDirectLicense value)

public UpdateUserListDirectLicenseRequest.Builder setUserListDirectLicense(UserListDirectLicense value)

Required. The licenses' name field is used to identify the license to update.

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

Parameter
Name Description
value UserListDirectLicense
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder

setUserListDirectLicense(UserListDirectLicense.Builder builderForValue)

public UpdateUserListDirectLicenseRequest.Builder setUserListDirectLicense(UserListDirectLicense.Builder builderForValue)

Required. The licenses' name field is used to identify the license to update.

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

Parameter
Name Description
builderForValue UserListDirectLicense.Builder
Returns
Type Description
UpdateUserListDirectLicenseRequest.Builder