Class ListUserListDirectLicensesResponse.Builder (0.8.0)

public static final class ListUserListDirectLicensesResponse.Builder extends GeneratedMessage.Builder<ListUserListDirectLicensesResponse.Builder> implements ListUserListDirectLicensesResponseOrBuilder

Response from the ListUserListDirectLicensesRequest.

Protobuf type google.ads.datamanager.v1.ListUserListDirectLicensesResponse

Static Methods

getDescriptor()

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

Methods

addAllUserListDirectLicenses(Iterable<? extends UserListDirectLicense> values)

public ListUserListDirectLicensesResponse.Builder addAllUserListDirectLicenses(Iterable<? extends UserListDirectLicense> values)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

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

addUserListDirectLicenses(UserListDirectLicense value)

public ListUserListDirectLicensesResponse.Builder addUserListDirectLicenses(UserListDirectLicense value)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameter
Name Description
value UserListDirectLicense
Returns
Type Description
ListUserListDirectLicensesResponse.Builder

addUserListDirectLicenses(UserListDirectLicense.Builder builderForValue)

public ListUserListDirectLicensesResponse.Builder addUserListDirectLicenses(UserListDirectLicense.Builder builderForValue)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

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

addUserListDirectLicenses(int index, UserListDirectLicense value)

public ListUserListDirectLicensesResponse.Builder addUserListDirectLicenses(int index, UserListDirectLicense value)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameters
Name Description
index int
value UserListDirectLicense
Returns
Type Description
ListUserListDirectLicensesResponse.Builder

addUserListDirectLicenses(int index, UserListDirectLicense.Builder builderForValue)

public ListUserListDirectLicensesResponse.Builder addUserListDirectLicenses(int index, UserListDirectLicense.Builder builderForValue)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameters
Name Description
index int
builderForValue UserListDirectLicense.Builder
Returns
Type Description
ListUserListDirectLicensesResponse.Builder

addUserListDirectLicensesBuilder()

public UserListDirectLicense.Builder addUserListDirectLicensesBuilder()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Returns
Type Description
UserListDirectLicense.Builder

addUserListDirectLicensesBuilder(int index)

public UserListDirectLicense.Builder addUserListDirectLicensesBuilder(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListDirectLicense.Builder

build()

public ListUserListDirectLicensesResponse build()
Returns
Type Description
ListUserListDirectLicensesResponse

buildPartial()

public ListUserListDirectLicensesResponse buildPartial()
Returns
Type Description
ListUserListDirectLicensesResponse

clear()

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

clearNextPageToken()

public ListUserListDirectLicensesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListUserListDirectLicensesResponse.Builder

This builder for chaining.

clearUserListDirectLicenses()

public ListUserListDirectLicensesResponse.Builder clearUserListDirectLicenses()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Returns
Type Description
ListUserListDirectLicensesResponse.Builder

getDefaultInstanceForType()

public ListUserListDirectLicensesResponse getDefaultInstanceForType()
Returns
Type Description
ListUserListDirectLicensesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUserListDirectLicenses(int index)

public UserListDirectLicense getUserListDirectLicenses(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListDirectLicense

getUserListDirectLicensesBuilder(int index)

public UserListDirectLicense.Builder getUserListDirectLicensesBuilder(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListDirectLicense.Builder

getUserListDirectLicensesBuilderList()

public List<UserListDirectLicense.Builder> getUserListDirectLicensesBuilderList()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Returns
Type Description
List<Builder>

getUserListDirectLicensesCount()

public int getUserListDirectLicensesCount()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Returns
Type Description
int

getUserListDirectLicensesList()

public List<UserListDirectLicense> getUserListDirectLicensesList()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Returns
Type Description
List<UserListDirectLicense>

getUserListDirectLicensesOrBuilder(int index)

public UserListDirectLicenseOrBuilder getUserListDirectLicensesOrBuilder(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListDirectLicenseOrBuilder

getUserListDirectLicensesOrBuilderList()

public List<? extends UserListDirectLicenseOrBuilder> getUserListDirectLicensesOrBuilderList()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUserListDirectLicensesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeUserListDirectLicenses(int index)

public ListUserListDirectLicensesResponse.Builder removeUserListDirectLicenses(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUserListDirectLicensesResponse.Builder

setNextPageToken(String value)

public ListUserListDirectLicensesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListUserListDirectLicensesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUserListDirectLicensesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListUserListDirectLicensesResponse.Builder

This builder for chaining.

setUserListDirectLicenses(int index, UserListDirectLicense value)

public ListUserListDirectLicensesResponse.Builder setUserListDirectLicenses(int index, UserListDirectLicense value)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameters
Name Description
index int
value UserListDirectLicense
Returns
Type Description
ListUserListDirectLicensesResponse.Builder

setUserListDirectLicenses(int index, UserListDirectLicense.Builder builderForValue)

public ListUserListDirectLicensesResponse.Builder setUserListDirectLicenses(int index, UserListDirectLicense.Builder builderForValue)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListDirectLicense user_list_direct_licenses = 1;

Parameters
Name Description
index int
builderForValue UserListDirectLicense.Builder
Returns
Type Description
ListUserListDirectLicensesResponse.Builder