Class ListUserListGlobalLicensesResponse.Builder (0.8.0)

public static final class ListUserListGlobalLicensesResponse.Builder extends GeneratedMessage.Builder<ListUserListGlobalLicensesResponse.Builder> implements ListUserListGlobalLicensesResponseOrBuilder

Response from the ListUserListGlobalLicensesRequest.

Protobuf type google.ads.datamanager.v1.ListUserListGlobalLicensesResponse

Static Methods

getDescriptor()

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

Methods

addAllUserListGlobalLicenses(Iterable<? extends UserListGlobalLicense> values)

public ListUserListGlobalLicensesResponse.Builder addAllUserListGlobalLicenses(Iterable<? extends UserListGlobalLicense> values)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

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

addUserListGlobalLicenses(UserListGlobalLicense value)

public ListUserListGlobalLicensesResponse.Builder addUserListGlobalLicenses(UserListGlobalLicense value)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
value UserListGlobalLicense
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

addUserListGlobalLicenses(UserListGlobalLicense.Builder builderForValue)

public ListUserListGlobalLicensesResponse.Builder addUserListGlobalLicenses(UserListGlobalLicense.Builder builderForValue)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
builderForValue UserListGlobalLicense.Builder
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

addUserListGlobalLicenses(int index, UserListGlobalLicense value)

public ListUserListGlobalLicensesResponse.Builder addUserListGlobalLicenses(int index, UserListGlobalLicense value)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameters
Name Description
index int
value UserListGlobalLicense
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

addUserListGlobalLicenses(int index, UserListGlobalLicense.Builder builderForValue)

public ListUserListGlobalLicensesResponse.Builder addUserListGlobalLicenses(int index, UserListGlobalLicense.Builder builderForValue)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameters
Name Description
index int
builderForValue UserListGlobalLicense.Builder
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

addUserListGlobalLicensesBuilder()

public UserListGlobalLicense.Builder addUserListGlobalLicensesBuilder()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Returns
Type Description
UserListGlobalLicense.Builder

addUserListGlobalLicensesBuilder(int index)

public UserListGlobalLicense.Builder addUserListGlobalLicensesBuilder(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListGlobalLicense.Builder

build()

public ListUserListGlobalLicensesResponse build()
Returns
Type Description
ListUserListGlobalLicensesResponse

buildPartial()

public ListUserListGlobalLicensesResponse buildPartial()
Returns
Type Description
ListUserListGlobalLicensesResponse

clear()

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

clearNextPageToken()

public ListUserListGlobalLicensesResponse.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
ListUserListGlobalLicensesResponse.Builder

This builder for chaining.

clearUserListGlobalLicenses()

public ListUserListGlobalLicensesResponse.Builder clearUserListGlobalLicenses()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

getDefaultInstanceForType()

public ListUserListGlobalLicensesResponse getDefaultInstanceForType()
Returns
Type Description
ListUserListGlobalLicensesResponse

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.

getUserListGlobalLicenses(int index)

public UserListGlobalLicense getUserListGlobalLicenses(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListGlobalLicense

getUserListGlobalLicensesBuilder(int index)

public UserListGlobalLicense.Builder getUserListGlobalLicensesBuilder(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListGlobalLicense.Builder

getUserListGlobalLicensesBuilderList()

public List<UserListGlobalLicense.Builder> getUserListGlobalLicensesBuilderList()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Returns
Type Description
List<Builder>

getUserListGlobalLicensesCount()

public int getUserListGlobalLicensesCount()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Returns
Type Description
int

getUserListGlobalLicensesList()

public List<UserListGlobalLicense> getUserListGlobalLicensesList()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Returns
Type Description
List<UserListGlobalLicense>

getUserListGlobalLicensesOrBuilder(int index)

public UserListGlobalLicenseOrBuilder getUserListGlobalLicensesOrBuilder(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
UserListGlobalLicenseOrBuilder

getUserListGlobalLicensesOrBuilderList()

public List<? extends UserListGlobalLicenseOrBuilder> getUserListGlobalLicensesOrBuilderList()

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUserListGlobalLicensesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeUserListGlobalLicenses(int index)

public ListUserListGlobalLicensesResponse.Builder removeUserListGlobalLicenses(int index)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

setNextPageToken(String value)

public ListUserListGlobalLicensesResponse.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
ListUserListGlobalLicensesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUserListGlobalLicensesResponse.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
ListUserListGlobalLicensesResponse.Builder

This builder for chaining.

setUserListGlobalLicenses(int index, UserListGlobalLicense value)

public ListUserListGlobalLicensesResponse.Builder setUserListGlobalLicenses(int index, UserListGlobalLicense value)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameters
Name Description
index int
value UserListGlobalLicense
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder

setUserListGlobalLicenses(int index, UserListGlobalLicense.Builder builderForValue)

public ListUserListGlobalLicensesResponse.Builder setUserListGlobalLicenses(int index, UserListGlobalLicense.Builder builderForValue)

The licenses for the given user list in the request.

repeated .google.ads.datamanager.v1.UserListGlobalLicense user_list_global_licenses = 1;

Parameters
Name Description
index int
builderForValue UserListGlobalLicense.Builder
Returns
Type Description
ListUserListGlobalLicensesResponse.Builder