Class UserListServiceGrpc.UserListServiceStub (0.8.0)

public static final class UserListServiceGrpc.UserListServiceStub extends AbstractAsyncStub<UserListServiceGrpc.UserListServiceStub>

A stub to allow clients to do asynchronous rpc calls to service UserListService.

Service for managing UserList resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > UserListServiceGrpc.UserListServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createUserList(CreateUserListRequest request, StreamObserver<UserList> responseObserver)

public void createUserList(CreateUserListRequest request, StreamObserver<UserList> responseObserver)

Creates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameters
Name Description
request CreateUserListRequest
responseObserver io.grpc.stub.StreamObserver<UserList>

deleteUserList(DeleteUserListRequest request, StreamObserver<Empty> responseObserver)

public void deleteUserList(DeleteUserListRequest request, StreamObserver<Empty> responseObserver)

Deletes a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameters
Name Description
request DeleteUserListRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getUserList(GetUserListRequest request, StreamObserver<UserList> responseObserver)

public void getUserList(GetUserListRequest request, StreamObserver<UserList> responseObserver)

Gets a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameters
Name Description
request GetUserListRequest
responseObserver io.grpc.stub.StreamObserver<UserList>

listUserLists(ListUserListsRequest request, StreamObserver<ListUserListsResponse> responseObserver)

public void listUserLists(ListUserListsRequest request, StreamObserver<ListUserListsResponse> responseObserver)

Lists UserLists. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameters
Name Description
request ListUserListsRequest
responseObserver io.grpc.stub.StreamObserver<ListUserListsResponse>

updateUserList(UpdateUserListRequest request, StreamObserver<UserList> responseObserver)

public void updateUserList(UpdateUserListRequest request, StreamObserver<UserList> responseObserver)

Updates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account: (Optional) The resource name of the account with an established product link to the login-account. Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Parameters
Name Description
request UpdateUserListRequest
responseObserver io.grpc.stub.StreamObserver<UserList>