Class ListUsersResponse.Builder (0.5.0)

public static final class ListUsersResponse.Builder extends GeneratedMessageV3.Builder<ListUsersResponse.Builder> implements ListUsersResponseOrBuilder

Response message for the ListUsers method.

Protobuf type google.shopping.merchant.accounts.v1beta.ListUsersResponse

Static Methods

getDescriptor()

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

Methods

addAllUsers(Iterable<? extends User> values)

public ListUsersResponse.Builder addAllUsers(Iterable<? extends User> values)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.User>
Returns
Type Description
ListUsersResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListUsersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListUsersResponse.Builder
Overrides

addUsers(User value)

public ListUsersResponse.Builder addUsers(User value)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
value User
Returns
Type Description
ListUsersResponse.Builder

addUsers(User.Builder builderForValue)

public ListUsersResponse.Builder addUsers(User.Builder builderForValue)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
builderForValue User.Builder
Returns
Type Description
ListUsersResponse.Builder

addUsers(int index, User value)

public ListUsersResponse.Builder addUsers(int index, User value)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameters
Name Description
index int
value User
Returns
Type Description
ListUsersResponse.Builder

addUsers(int index, User.Builder builderForValue)

public ListUsersResponse.Builder addUsers(int index, User.Builder builderForValue)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameters
Name Description
index int
builderForValue User.Builder
Returns
Type Description
ListUsersResponse.Builder

addUsersBuilder()

public User.Builder addUsersBuilder()

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Returns
Type Description
User.Builder

addUsersBuilder(int index)

public User.Builder addUsersBuilder(int index)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
index int
Returns
Type Description
User.Builder

build()

public ListUsersResponse build()
Returns
Type Description
ListUsersResponse

buildPartial()

public ListUsersResponse buildPartial()
Returns
Type Description
ListUsersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListUsersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListUsersResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListUsersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListUsersResponse.Builder
Overrides

clearUsers()

public ListUsersResponse.Builder clearUsers()

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Returns
Type Description
ListUsersResponse.Builder

clone()

public ListUsersResponse.Builder clone()
Returns
Type Description
ListUsersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListUsersResponse getDefaultInstanceForType()
Returns
Type Description
ListUsersResponse

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.

getUsers(int index)

public User getUsers(int index)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
index int
Returns
Type Description
User

getUsersBuilder(int index)

public User.Builder getUsersBuilder(int index)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
index int
Returns
Type Description
User.Builder

getUsersBuilderList()

public List<User.Builder> getUsersBuilderList()

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Returns
Type Description
List<Builder>

getUsersCount()

public int getUsersCount()

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Returns
Type Description
int

getUsersList()

public List<User> getUsersList()

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Returns
Type Description
List<User>

getUsersOrBuilder(int index)

public UserOrBuilder getUsersOrBuilder(int index)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
index int
Returns
Type Description
UserOrBuilder

getUsersOrBuilderList()

public List<? extends UserOrBuilder> getUsersOrBuilderList()

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.UserOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListUsersResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListUsersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListUsersResponse.Builder
Overrides

removeUsers(int index)

public ListUsersResponse.Builder removeUsers(int index)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUsersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListUsersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListUsersResponse.Builder
Overrides

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListUsersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListUsersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListUsersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListUsersResponse.Builder
Overrides

setUsers(int index, User value)

public ListUsersResponse.Builder setUsers(int index, User value)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameters
Name Description
index int
value User
Returns
Type Description
ListUsersResponse.Builder

setUsers(int index, User.Builder builderForValue)

public ListUsersResponse.Builder setUsers(int index, User.Builder builderForValue)

The users from the specified account.

repeated .google.shopping.merchant.accounts.v1beta.User users = 1;

Parameters
Name Description
index int
builderForValue User.Builder
Returns
Type Description
ListUsersResponse.Builder