Class UserServiceGrpc.UserServiceBlockingStub (0.7.0)

public static final class UserServiceGrpc.UserServiceBlockingStub extends AbstractBlockingStub<UserServiceGrpc.UserServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service UserService.

Service to support user API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > UserServiceGrpc.UserServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected UserServiceGrpc.UserServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
UserServiceGrpc.UserServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createUser(CreateUserRequest request)

public User createUser(CreateUserRequest request)

Creates a Merchant Center account user. Executing this method requires admin access.

Parameter
Name Description
request CreateUserRequest
Returns
Type Description
User

deleteUser(DeleteUserRequest request)

public Empty deleteUser(DeleteUserRequest request)

Deletes a Merchant Center account user. Executing this method requires admin access.

Parameter
Name Description
request DeleteUserRequest
Returns
Type Description
Empty

getUser(GetUserRequest request)

public User getUser(GetUserRequest request)

Retrieves a Merchant Center account user.

Parameter
Name Description
request GetUserRequest
Returns
Type Description
User

listUsers(ListUsersRequest request)

public ListUsersResponse listUsers(ListUsersRequest request)

Lists all users of a Merchant Center account.

Parameter
Name Description
request ListUsersRequest
Returns
Type Description
ListUsersResponse

updateUser(UpdateUserRequest request)

public User updateUser(UpdateUserRequest request)

Updates a Merchant Center account user. Executing this method requires admin access.

Parameter
Name Description
request UpdateUserRequest
Returns
Type Description
User