Class RemoveUsersRequest.Builder (0.20.0)

public static final class RemoveUsersRequest.Builder extends GeneratedMessage.Builder<RemoveUsersRequest.Builder> implements RemoveUsersRequestOrBuilder

Request to remove users from the provided destinations.

Protobuf type google.ads.datamanager.v1.RemoveUsersRequest

Static Methods

getDescriptor()

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

Methods

addAllDestinations(Iterable<? extends Destination> values)

public RemoveUsersRequest.Builder addAllDestinations(Iterable<? extends Destination> values)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.ads.datamanager.v1.Destination>
Returns
Type Description
RemoveUsersRequest.Builder

addAllUserData(Iterable<? extends UserData> values)

public RemoveUsersRequest.Builder addAllUserData(Iterable<? extends UserData> values)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.ads.datamanager.v1.UserData>
Returns
Type Description
RemoveUsersRequest.Builder

addDestinations(Destination value)

public RemoveUsersRequest.Builder addDestinations(Destination value)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Destination
Returns
Type Description
RemoveUsersRequest.Builder

addDestinations(Destination.Builder builderForValue)

public RemoveUsersRequest.Builder addDestinations(Destination.Builder builderForValue)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Destination.Builder
Returns
Type Description
RemoveUsersRequest.Builder

addDestinations(int index, Destination value)

public RemoveUsersRequest.Builder addDestinations(int index, Destination value)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Destination
Returns
Type Description
RemoveUsersRequest.Builder

addDestinations(int index, Destination.Builder builderForValue)

public RemoveUsersRequest.Builder addDestinations(int index, Destination.Builder builderForValue)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Destination.Builder
Returns
Type Description
RemoveUsersRequest.Builder

addDestinationsBuilder()

public Destination.Builder addDestinationsBuilder()

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Destination.Builder

addDestinationsBuilder(int index)

public Destination.Builder addDestinationsBuilder(int index)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Destination.Builder

addUserData(UserData value)

public RemoveUsersRequest.Builder addUserData(UserData value)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserData
Returns
Type Description
RemoveUsersRequest.Builder

addUserData(UserData.Builder builderForValue)

public RemoveUsersRequest.Builder addUserData(UserData.Builder builderForValue)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserData.Builder
Returns
Type Description
RemoveUsersRequest.Builder

addUserData(int index, UserData value)

public RemoveUsersRequest.Builder addUserData(int index, UserData value)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value UserData
Returns
Type Description
RemoveUsersRequest.Builder

addUserData(int index, UserData.Builder builderForValue)

public RemoveUsersRequest.Builder addUserData(int index, UserData.Builder builderForValue)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue UserData.Builder
Returns
Type Description
RemoveUsersRequest.Builder

addUserDataBuilder()

public UserData.Builder addUserDataBuilder()

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserData.Builder

addUserDataBuilder(int index)

public UserData.Builder addUserDataBuilder(int index)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UserData.Builder

build()

public RemoveUsersRequest build()
Returns
Type Description
RemoveUsersRequest

buildPartial()

public RemoveUsersRequest buildPartial()
Returns
Type Description
RemoveUsersRequest

clear()

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

clearDestinations()

public RemoveUsersRequest.Builder clearDestinations()

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RemoveUsersRequest.Builder

clearEncoding()

public RemoveUsersRequest.Builder clearEncoding()

Required. The encoding type of the user identifiers. For encrypted user identifiers, this only applies to the outer encoding.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RemoveUsersRequest.Builder

This builder for chaining.

clearEncryptionInfo()

public RemoveUsersRequest.Builder clearEncryptionInfo()

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoveUsersRequest.Builder

clearUserData()

public RemoveUsersRequest.Builder clearUserData()

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RemoveUsersRequest.Builder

clearValidateOnly()

public RemoveUsersRequest.Builder clearValidateOnly()

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

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

Returns
Type Description
RemoveUsersRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public RemoveUsersRequest getDefaultInstanceForType()
Returns
Type Description
RemoveUsersRequest

getDescriptorForType()

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

getDestinations(int index)

public Destination getDestinations(int index)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Destination

getDestinationsBuilder(int index)

public Destination.Builder getDestinationsBuilder(int index)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Destination.Builder

getDestinationsBuilderList()

public List<Destination.Builder> getDestinationsBuilderList()

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getDestinationsCount()

public int getDestinationsCount()

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDestinationsList()

public List<Destination> getDestinationsList()

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Destination>

getDestinationsOrBuilder(int index)

public DestinationOrBuilder getDestinationsOrBuilder(int index)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DestinationOrBuilder

getDestinationsOrBuilderList()

public List<? extends DestinationOrBuilder> getDestinationsOrBuilderList()

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.DestinationOrBuilder>

getEncoding()

public Encoding getEncoding()

Required. The encoding type of the user identifiers. For encrypted user identifiers, this only applies to the outer encoding.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encoding

The encoding.

getEncodingValue()

public int getEncodingValue()

Required. The encoding type of the user identifiers. For encrypted user identifiers, this only applies to the outer encoding.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for encoding.

getEncryptionInfo()

public EncryptionInfo getEncryptionInfo()

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionInfo

The encryptionInfo.

getEncryptionInfoBuilder()

public EncryptionInfo.Builder getEncryptionInfoBuilder()

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionInfo.Builder

getEncryptionInfoOrBuilder()

public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionInfoOrBuilder

getUserData(int index)

public UserData getUserData(int index)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UserData

getUserDataBuilder(int index)

public UserData.Builder getUserDataBuilder(int index)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UserData.Builder

getUserDataBuilderList()

public List<UserData.Builder> getUserDataBuilderList()

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getUserDataCount()

public int getUserDataCount()

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getUserDataList()

public List<UserData> getUserDataList()

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UserData>

getUserDataOrBuilder(int index)

public UserDataOrBuilder getUserDataOrBuilder(int index)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UserDataOrBuilder

getUserDataOrBuilderList()

public List<? extends UserDataOrBuilder> getUserDataOrBuilderList()

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.UserDataOrBuilder>

getValidateOnly()

public boolean getValidateOnly()

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

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

Returns
Type Description
boolean

The validateOnly.

hasEncryptionInfo()

public boolean hasEncryptionInfo()

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the encryptionInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEncryptionInfo(EncryptionInfo value)

public RemoveUsersRequest.Builder mergeEncryptionInfo(EncryptionInfo value)

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionInfo
Returns
Type Description
RemoveUsersRequest.Builder

mergeFrom(RemoveUsersRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDestinations(int index)

public RemoveUsersRequest.Builder removeDestinations(int index)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
RemoveUsersRequest.Builder

removeUserData(int index)

public RemoveUsersRequest.Builder removeUserData(int index)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
RemoveUsersRequest.Builder

setDestinations(int index, Destination value)

public RemoveUsersRequest.Builder setDestinations(int index, Destination value)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Destination
Returns
Type Description
RemoveUsersRequest.Builder

setDestinations(int index, Destination.Builder builderForValue)

public RemoveUsersRequest.Builder setDestinations(int index, Destination.Builder builderForValue)

Required. The list of possible ingestion destinations.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Destination.Builder
Returns
Type Description
RemoveUsersRequest.Builder

setEncoding(Encoding value)

public RemoveUsersRequest.Builder setEncoding(Encoding value)

Required. The encoding type of the user identifiers. For encrypted user identifiers, this only applies to the outer encoding.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Encoding

The encoding to set.

Returns
Type Description
RemoveUsersRequest.Builder

This builder for chaining.

setEncodingValue(int value)

public RemoveUsersRequest.Builder setEncodingValue(int value)

Required. The encoding type of the user identifiers. For encrypted user identifiers, this only applies to the outer encoding.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for encoding to set.

Returns
Type Description
RemoveUsersRequest.Builder

This builder for chaining.

setEncryptionInfo(EncryptionInfo value)

public RemoveUsersRequest.Builder setEncryptionInfo(EncryptionInfo value)

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionInfo
Returns
Type Description
RemoveUsersRequest.Builder

setEncryptionInfo(EncryptionInfo.Builder builderForValue)

public RemoveUsersRequest.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)

Optional. Encryption information about encryption keys which are used to encrypt the data.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EncryptionInfo.Builder
Returns
Type Description
RemoveUsersRequest.Builder

setUserData(int index, UserData value)

public RemoveUsersRequest.Builder setUserData(int index, UserData value)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value UserData
Returns
Type Description
RemoveUsersRequest.Builder

setUserData(int index, UserData.Builder builderForValue)

public RemoveUsersRequest.Builder setUserData(int index, UserData.Builder builderForValue)

Required. The individual bits of UserData that act as keys for the users to remove.

repeated .google.ads.datamanager.v1.UserData user_data = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue UserData.Builder
Returns
Type Description
RemoveUsersRequest.Builder

setValidateOnly(boolean value)

public RemoveUsersRequest.Builder setValidateOnly(boolean value)

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

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
RemoveUsersRequest.Builder

This builder for chaining.