public static final class UserServiceGrpc.UserServiceFutureStub extends AbstractFutureStub<UserServiceGrpc.UserServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service UserService.
Service to support user API.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > UserServiceGrpc.UserServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected UserServiceGrpc.UserServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
UserServiceGrpc.UserServiceFutureStub |
createUser(CreateUserRequest request)
public ListenableFuture<User> createUser(CreateUserRequest request)
Creates a Merchant Center account user. Executing this method requires admin access.
Parameter | |
---|---|
Name | Description |
request |
CreateUserRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<User> |
deleteUser(DeleteUserRequest request)
public ListenableFuture<Empty> deleteUser(DeleteUserRequest request)
Deletes a Merchant Center account user. Executing this method requires admin access.
Parameter | |
---|---|
Name | Description |
request |
DeleteUserRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
getUser(GetUserRequest request)
public ListenableFuture<User> getUser(GetUserRequest request)
Retrieves a Merchant Center account user.
Parameter | |
---|---|
Name | Description |
request |
GetUserRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<User> |
listUsers(ListUsersRequest request)
public ListenableFuture<ListUsersResponse> listUsers(ListUsersRequest request)
Lists all users of a Merchant Center account.
Parameter | |
---|---|
Name | Description |
request |
ListUsersRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListUsersResponse> |
updateUser(UpdateUserRequest request)
public ListenableFuture<User> updateUser(UpdateUserRequest request)
Updates a Merchant Center account user. Executing this method requires admin access.
Parameter | |
---|---|
Name | Description |
request |
UpdateUserRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<User> |