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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListUsersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public ListUsersResponse.Builder addUsers(User.Builder builderForValue)
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
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
|
public ListUsersResponse.Builder addUsers(int index, User.Builder builderForValue)
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
public User.Builder addUsersBuilder()
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
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
|
public ListUsersResponse build()
public ListUsersResponse buildPartial()
public ListUsersResponse.Builder clear()
Overrides
public ListUsersResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListUsersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListUsersResponse.Builder clearUsers()
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
public ListUsersResponse.Builder clone()
Overrides
public ListUsersResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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 |
|
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
|
public List<User.Builder> getUsersBuilderList()
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
public int getUsersCount()
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
Returns |
Type |
Description |
int |
|
public List<User> getUsersList()
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListUsersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListUsersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListUsersResponse.Builder mergeFrom(ListUsersResponse other)
public final ListUsersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListUsersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListUsersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListUsersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListUsersResponse.Builder setUsers(int index, User.Builder builderForValue)
The users from the specified account.
repeated .google.shopping.merchant.accounts.v1beta.User users = 1;