Class UpdateUserListRequest.Builder (0.8.0)

public static final class UpdateUserListRequest.Builder extends GeneratedMessage.Builder<UpdateUserListRequest.Builder> implements UpdateUserListRequestOrBuilder

Request message for UpdateUserList.

Protobuf type google.ads.datamanager.v1.UpdateUserListRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateUserListRequest build()
Returns
Type Description
UpdateUserListRequest

buildPartial()

public UpdateUserListRequest buildPartial()
Returns
Type Description
UpdateUserListRequest

clear()

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

clearUpdateMask()

public UpdateUserListRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
UpdateUserListRequest.Builder

clearUserList()

public UpdateUserListRequest.Builder clearUserList()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateUserListRequest.Builder

clearValidateOnly()

public UpdateUserListRequest.Builder clearValidateOnly()

Optional. If true, the request is validated but not executed.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateUserListRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public UpdateUserListRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUserListRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

.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.

.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.

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

Returns
Type Description
FieldMaskOrBuilder

getUserList()

public UserList getUserList()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserList

The userList.

getUserListBuilder()

public UserList.Builder getUserListBuilder()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserList.Builder

getUserListOrBuilder()

public UserListOrBuilder getUserListOrBuilder()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserListOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. If true, the request is validated but not executed.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

hasUserList()

public boolean hasUserList()

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userList field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateUserListRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateUserListRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUserListRequest.Builder

mergeUserList(UserList value)

public UpdateUserListRequest.Builder mergeUserList(UserList value)

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserList
Returns
Type Description
UpdateUserListRequest.Builder

setUpdateMask(FieldMask value)

public UpdateUserListRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUserListRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateUserListRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateUserListRequest.Builder

setUserList(UserList value)

public UpdateUserListRequest.Builder setUserList(UserList value)

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserList
Returns
Type Description
UpdateUserListRequest.Builder

setUserList(UserList.Builder builderForValue)

public UpdateUserListRequest.Builder setUserList(UserList.Builder builderForValue)

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

.google.ads.datamanager.v1.UserList user_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserList.Builder
Returns
Type Description
UpdateUserListRequest.Builder

setValidateOnly(boolean value)

public UpdateUserListRequest.Builder setValidateOnly(boolean value)

Optional. If true, the request is validated but not executed.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateUserListRequest.Builder

This builder for chaining.