Class DeleteUserListRequest.Builder (0.8.0)

public static final class DeleteUserListRequest.Builder extends GeneratedMessage.Builder<DeleteUserListRequest.Builder> implements DeleteUserListRequestOrBuilder

Request message for DeleteUserList.

Protobuf type google.ads.datamanager.v1.DeleteUserListRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteUserListRequest build()
Returns
Type Description
DeleteUserListRequest

buildPartial()

public DeleteUserListRequest buildPartial()
Returns
Type Description
DeleteUserListRequest

clear()

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

clearName()

public DeleteUserListRequest.Builder clearName()

Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteUserListRequest.Builder

This builder for chaining.

clearValidateOnly()

public DeleteUserListRequest.Builder clearValidateOnly()

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

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

Returns
Type Description
DeleteUserListRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteUserListRequest getDefaultInstanceForType()
Returns
Type Description
DeleteUserListRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getValidateOnly()

public boolean getValidateOnly()

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

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

Returns
Type Description
boolean

The validateOnly.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteUserListRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public DeleteUserListRequest.Builder setName(String value)

Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteUserListRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteUserListRequest.Builder setNameBytes(ByteString value)

Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteUserListRequest.Builder

This builder for chaining.

setValidateOnly(boolean value)

public DeleteUserListRequest.Builder setValidateOnly(boolean value)

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

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
DeleteUserListRequest.Builder

This builder for chaining.