AlbumServiceBase constructor
AlbumServiceBase()
Implementation
AlbumServiceBase() {
$addMethod($grpc.ServiceMethod<$0.AlbumRequest, $0.AlbumResponse>(
'getAlbums',
getAlbums_Pre,
false,
false,
($core.List<$core.int> value) => $0.AlbumRequest.fromBuffer(value),
($0.AlbumResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AlbumRequest, $0.AlbumResponse>(
'getAlbumsWithPhotos',
getAlbumsWithPhotos_Pre,
false,
false,
($core.List<$core.int> value) => $0.AlbumRequest.fromBuffer(value),
($0.AlbumResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AlbumRequest, $0.Photo>(
'getPhotos',
getPhotos_Pre,
false,
true,
($core.List<$core.int> value) => $0.AlbumRequest.fromBuffer(value),
($0.Photo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AlbumRequest, $0.AlbumResponse>(
'getDataDemo',
getDataDemo_Pre,
false,
false,
($core.List<$core.int> value) => $0.AlbumRequest.fromBuffer(value),
($0.AlbumResponse value) => value.writeToBuffer()));
}